diff options
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/Makefile.am | 3 | ||||
-rw-r--r-- | libgloss/Makefile.in | 322 | ||||
-rwxr-xr-x | libgloss/configure | 64 | ||||
-rw-r--r-- | libgloss/configure.ac | 5 | ||||
-rw-r--r-- | libgloss/mcore/Makefile.in | 144 | ||||
-rw-r--r-- | libgloss/mcore/Makefile.inc | 52 | ||||
-rw-r--r-- | libgloss/mcore/acinclude.m4 | 17 |
7 files changed, 347 insertions, 260 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am index 186da44..8931318 100644 --- a/libgloss/Makefile.am +++ b/libgloss/Makefile.am @@ -113,6 +113,9 @@ endif if CONFIG_LM32 include lm32/Makefile.inc endif +if CONFIG_MCORE +include mcore/Makefile.inc +endif if CONFIG_MN10200 include mn10200/Makefile.inc endif diff --git a/libgloss/Makefile.in b/libgloss/Makefile.in index f63d710..eb4971f 100644 --- a/libgloss/Makefile.in +++ b/libgloss/Makefile.in @@ -188,72 +188,83 @@ check_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \ @CONFIG_LM32_TRUE@am__append_38 = lm32/crt0.o lm32/sim.ld @CONFIG_LM32_TRUE@am__append_39 = lm32/libgloss.a @CONFIG_LM32_TRUE@am__append_40 = lm32/crt0.S -@CONFIG_MN10200_TRUE@am__append_41 = mn10200/eval.ld mn10200/sim.ld \ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_ELF_TRUE@am__append_41 = \ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_ELF_TRUE@ mcore/cmb.ld \ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_ELF_TRUE@ mcore/cmb.specs + +@CONFIG_MCORE_TRUE@@MCORE_BUILD_PE_TRUE@am__append_42 = \ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_PE_TRUE@ mcore/cmb.ld \ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_PE_TRUE@ mcore/cmb.specs + +@CONFIG_MCORE_TRUE@am__append_43 = mcore/crt0.o +@CONFIG_MCORE_TRUE@am__append_44 = mcore/crt0.S +@CONFIG_MCORE_TRUE@am__append_45 = mcore/libsim.a mcore/libcmb.a +@CONFIG_MN10200_TRUE@am__append_46 = mn10200/eval.ld mn10200/sim.ld \ @CONFIG_MN10200_TRUE@ mn10200/crt0.o -@CONFIG_MN10200_TRUE@am__append_42 = mn10200/crt0.S -@CONFIG_MN10200_TRUE@am__append_43 = mn10200/libeval.a -@CONFIG_MN10200_TRUE@am__append_44 = mn10200/test -@CONFIG_MN10300_TRUE@am__append_45 = \ +@CONFIG_MN10200_TRUE@am__append_47 = mn10200/crt0.S +@CONFIG_MN10200_TRUE@am__append_48 = mn10200/libeval.a +@CONFIG_MN10200_TRUE@am__append_49 = mn10200/test +@CONFIG_MN10300_TRUE@am__append_50 = \ @CONFIG_MN10300_TRUE@ mn10300/eval.ld \ @CONFIG_MN10300_TRUE@ mn10300/sim.ld -@CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@am__append_46 = \ +@CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@am__append_51 = \ @CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@ mn10300/asb2303.ld \ @CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@ mn10300/asb2305.ld -@CONFIG_MN10300_TRUE@am__append_47 = \ +@CONFIG_MN10300_TRUE@am__append_52 = \ @CONFIG_MN10300_TRUE@ mn10300/crt0.o \ @CONFIG_MN10300_TRUE@ mn10300/crt0_cygmon.o \ @CONFIG_MN10300_TRUE@ mn10300/crt0_redboot.o -@CONFIG_MN10300_TRUE@am__append_48 = \ +@CONFIG_MN10300_TRUE@am__append_53 = \ @CONFIG_MN10300_TRUE@ mn10300/crt0.S \ @CONFIG_MN10300_TRUE@ mn10300/crt0_cygmon.S \ @CONFIG_MN10300_TRUE@ mn10300/crt0_redboot.S -@CONFIG_MN10300_TRUE@am__append_49 = mn10300/libeval.a -@CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@am__append_50 = mn10300/libcygmon.a -@CONFIG_MN10300_TRUE@am__append_51 = mn10300/test -@CONFIG_MOXIE_TRUE@@HAVE_MULTISUBDIR_FALSE@am__append_52 = \ +@CONFIG_MN10300_TRUE@am__append_54 = mn10300/libeval.a +@CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@am__append_55 = mn10300/libcygmon.a +@CONFIG_MN10300_TRUE@am__append_56 = mn10300/test +@CONFIG_MOXIE_TRUE@@HAVE_MULTISUBDIR_FALSE@am__append_57 = \ @CONFIG_MOXIE_TRUE@@HAVE_MULTISUBDIR_FALSE@ moxie/moxie-elf-common.ld \ @CONFIG_MOXIE_TRUE@@HAVE_MULTISUBDIR_FALSE@ moxie/qemu.ld \ @CONFIG_MOXIE_TRUE@@HAVE_MULTISUBDIR_FALSE@ moxie/sim.ld \ @CONFIG_MOXIE_TRUE@@HAVE_MULTISUBDIR_FALSE@ moxie/moxiebox.ld -@CONFIG_MOXIE_TRUE@@MOXIE_BUILD_CRT0_TRUE@am__append_53 = moxie/crt0.o -@CONFIG_MOXIE_TRUE@am__append_54 = \ +@CONFIG_MOXIE_TRUE@@MOXIE_BUILD_CRT0_TRUE@am__append_58 = moxie/crt0.o +@CONFIG_MOXIE_TRUE@am__append_59 = \ @CONFIG_MOXIE_TRUE@ moxie/crt0.S -@CONFIG_MOXIE_TRUE@am__append_55 = moxie/libsim.a moxie/libqemu.a -@CONFIG_MSP430_TRUE@am__append_56 = msp430/msp430-sim.ld \ +@CONFIG_MOXIE_TRUE@am__append_60 = moxie/libsim.a moxie/libqemu.a +@CONFIG_MSP430_TRUE@am__append_61 = msp430/msp430-sim.ld \ @CONFIG_MSP430_TRUE@ msp430/msp430xl-sim.ld \ @CONFIG_MSP430_TRUE@ msp430/intr_vectors.ld msp430/gcrt0.o \ @CONFIG_MSP430_TRUE@ msp430/crt0.o -@CONFIG_MSP430_TRUE@am__append_57 = \ +@CONFIG_MSP430_TRUE@am__append_62 = \ @CONFIG_MSP430_TRUE@ msp430/gcrt0.S \ @CONFIG_MSP430_TRUE@ msp430/crt0.S -@CONFIG_MSP430_TRUE@am__append_58 = msp430/libsim.a msp430/libnosys.a \ +@CONFIG_MSP430_TRUE@am__append_63 = msp430/libsim.a msp430/libnosys.a \ @CONFIG_MSP430_TRUE@ msp430/libcrt.a -@CONFIG_NIOS2_TRUE@am__append_59 = \ +@CONFIG_NIOS2_TRUE@am__append_64 = \ @CONFIG_NIOS2_TRUE@ nios2/qemu-hosted.ld -@CONFIG_NIOS2_TRUE@am__append_60 = nios2/libnios2.a -@CONFIG_RISCV_TRUE@am__append_61 = \ +@CONFIG_NIOS2_TRUE@am__append_65 = nios2/libnios2.a +@CONFIG_RISCV_TRUE@am__append_66 = \ @CONFIG_RISCV_TRUE@ riscv/nano.specs \ @CONFIG_RISCV_TRUE@ riscv/sim.specs \ @CONFIG_RISCV_TRUE@ riscv/semihost.specs \ @CONFIG_RISCV_TRUE@ riscv/crt0.o -@CONFIG_RISCV_TRUE@am__append_62 = riscv/libgloss.a riscv/libsim.a \ +@CONFIG_RISCV_TRUE@am__append_67 = riscv/libgloss.a riscv/libsim.a \ @CONFIG_RISCV_TRUE@ riscv/libsemihost.a -@CONFIG_V850_TRUE@am__append_63 = v850/crt0.o -@CONFIG_V850_TRUE@am__append_64 = v850/crt0.S -@CONFIG_V850_TRUE@am__append_65 = v850/libsim.a -@CONFIG_WINCE_TRUE@am__append_66 = $(gdbdir) -@CONFIG_WINCE_TRUE@am__append_67 = wince/stub.exe -@CONFIG_XTENSA_TRUE@am__append_68 = -D_LIBGLOSS -I$(srcdir)/xtensa/include -@CONFIG_XTENSA_TRUE@am__append_69 = \ +@CONFIG_V850_TRUE@am__append_68 = v850/crt0.o +@CONFIG_V850_TRUE@am__append_69 = v850/crt0.S +@CONFIG_V850_TRUE@am__append_70 = v850/libsim.a +@CONFIG_WINCE_TRUE@am__append_71 = $(gdbdir) +@CONFIG_WINCE_TRUE@am__append_72 = wince/stub.exe +@CONFIG_XTENSA_TRUE@am__append_73 = -D_LIBGLOSS -I$(srcdir)/xtensa/include +@CONFIG_XTENSA_TRUE@am__append_74 = \ @CONFIG_XTENSA_TRUE@ xtensa/default.specs \ @CONFIG_XTENSA_TRUE@ xtensa/nano.specs \ @CONFIG_XTENSA_TRUE@ xtensa/sim.elf.specs \ @@ -262,27 +273,27 @@ check_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \ @CONFIG_XTENSA_TRUE@ xtensa/sys.openocd.specs \ @CONFIG_XTENSA_TRUE@ xtensa/crt0.o -@CONFIG_XTENSA_TRUE@am__append_70 = \ +@CONFIG_XTENSA_TRUE@am__append_75 = \ @CONFIG_XTENSA_TRUE@ xtensa/crt0.S \ @CONFIG_XTENSA_TRUE@ xtensa/crt1-sim.S \ @CONFIG_XTENSA_TRUE@ xtensa/crt1-boards.S -@CONFIG_XTENSA_TRUE@am__append_71 = xtensa/libgloss.a -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_72 = \ +@CONFIG_XTENSA_TRUE@am__append_76 = xtensa/libgloss.a +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_77 = \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/app.elf.ld \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/crt1-sim.o \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/crt1-boards.o -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_73 = xtensa/libsys_qemu.a \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_78 = xtensa/libsys_qemu.a \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/libsys_openocd.a -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_74 = xtensa/boards/esp32/memory.elf.ld -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_75 = xtensa/boards/esp32/board.c -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_76 = -I$(srcdir)/xtensa/boards/esp32/include -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_77 = -I$(srcdir)/xtensa/boards/esp32/include -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_78 = xtensa/boards/esp32s3/memory.elf.ld -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_79 = xtensa/boards/esp32s3/board.c -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_80 = -I$(srcdir)/xtensa/boards/esp32s3/include -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_81 = -I$(srcdir)/xtensa/boards/esp32s3/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_79 = xtensa/boards/esp32/memory.elf.ld +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_80 = xtensa/boards/esp32/board.c +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_81 = -I$(srcdir)/xtensa/boards/esp32/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_82 = -I$(srcdir)/xtensa/boards/esp32/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_83 = xtensa/boards/esp32s3/memory.elf.ld +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_84 = xtensa/boards/esp32s3/board.c +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_85 = -I$(srcdir)/xtensa/boards/esp32s3/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_86 = -I$(srcdir)/xtensa/boards/esp32s3/include subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \ @@ -311,11 +322,10 @@ CONFIG_CLEAN_FILES = epiphany/Makefile m32r/Makefile m68hc11/Makefile \ nds32/Makefile m68k/Makefile pa/Makefile sparc_leon/Makefile \ sparc/Makefile mips/Makefile rs6000/Makefile cr16/Makefile \ cris/Makefile crx/Makefile fr30/Makefile ft32/Makefile \ - mcore/Makefile mep/Makefile microblaze/Makefile mt/Makefile \ - visium/Makefile xc16x/Makefile xstormy16/Makefile \ - m32c/Makefile rl78/Makefile rx/Makefile spu/Makefile \ - tic6x/Makefile or1k/Makefile pru/Makefile \ - sparc/libsys/Makefile + mep/Makefile microblaze/Makefile mt/Makefile visium/Makefile \ + xc16x/Makefile xstormy16/Makefile m32c/Makefile rl78/Makefile \ + rx/Makefile spu/Makefile tic6x/Makefile or1k/Makefile \ + pru/Makefile sparc/libsys/Makefile CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ @@ -543,28 +553,50 @@ libobjs_a_LIBADD = @CONFIG_I960_TRUE@am__objects_7 = i960/crt0.$(OBJEXT) @CONFIG_IQ2000_TRUE@am__objects_8 = iq2000/crt0.$(OBJEXT) @CONFIG_LM32_TRUE@am__objects_9 = lm32/crt0.$(OBJEXT) -@CONFIG_MN10200_TRUE@am__objects_10 = mn10200/crt0.$(OBJEXT) -@CONFIG_MN10300_TRUE@am__objects_11 = mn10300/crt0.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@am__objects_10 = mcore/crt0.$(OBJEXT) +@CONFIG_MN10200_TRUE@am__objects_11 = mn10200/crt0.$(OBJEXT) +@CONFIG_MN10300_TRUE@am__objects_12 = mn10300/crt0.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/crt0_cygmon.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/crt0_redboot.$(OBJEXT) -@CONFIG_MOXIE_TRUE@am__objects_12 = moxie/crt0.$(OBJEXT) -@CONFIG_MSP430_TRUE@am__objects_13 = msp430/gcrt0.$(OBJEXT) \ +@CONFIG_MOXIE_TRUE@am__objects_13 = moxie/crt0.$(OBJEXT) +@CONFIG_MSP430_TRUE@am__objects_14 = msp430/gcrt0.$(OBJEXT) \ @CONFIG_MSP430_TRUE@ msp430/crt0.$(OBJEXT) -@CONFIG_V850_TRUE@am__objects_14 = v850/crt0.$(OBJEXT) -@CONFIG_XTENSA_TRUE@am__objects_15 = xtensa/crt0.$(OBJEXT) \ +@CONFIG_V850_TRUE@am__objects_15 = v850/crt0.$(OBJEXT) +@CONFIG_XTENSA_TRUE@am__objects_16 = xtensa/crt0.$(OBJEXT) \ @CONFIG_XTENSA_TRUE@ xtensa/crt1-sim.$(OBJEXT) \ @CONFIG_XTENSA_TRUE@ xtensa/crt1-boards.$(OBJEXT) am_libobjs_a_OBJECTS = $(am__objects_3) $(am__objects_4) \ $(am__objects_5) $(am__objects_6) $(am__objects_7) \ $(am__objects_8) $(am__objects_9) $(am__objects_10) \ $(am__objects_11) $(am__objects_12) $(am__objects_13) \ - $(am__objects_14) $(am__objects_15) + $(am__objects_14) $(am__objects_15) $(am__objects_16) libobjs_a_OBJECTS = $(am_libobjs_a_OBJECTS) lm32_libgloss_a_AR = $(AR) $(ARFLAGS) lm32_libgloss_a_LIBADD = @CONFIG_LM32_TRUE@am_lm32_libgloss_a_OBJECTS = lm32/isatty.$(OBJEXT) \ @CONFIG_LM32_TRUE@ lm32/scall.$(OBJEXT) lm32_libgloss_a_OBJECTS = $(am_lm32_libgloss_a_OBJECTS) +mcore_libcmb_a_AR = $(AR) $(ARFLAGS) +mcore_libcmb_a_LIBADD = +@CONFIG_MCORE_TRUE@am__objects_17 = mcore/fstat.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/getpid.$(OBJEXT) isatty.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/kill.$(OBJEXT) mcore/raise.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/putnum.$(OBJEXT) mcore/stat.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/unlink.$(OBJEXT) +@CONFIG_MCORE_TRUE@am_mcore_libcmb_a_OBJECTS = mcore/open.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/close.$(OBJEXT) mcore/lseek.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/sbrk.$(OBJEXT) mcore/read.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/write.$(OBJEXT) mcore/print.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/cmb-exit.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/cmb-inbyte.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ mcore/cmb-outbyte.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@ $(am__objects_17) +mcore_libcmb_a_OBJECTS = $(am_mcore_libcmb_a_OBJECTS) +mcore_libsim_a_AR = $(AR) $(ARFLAGS) +mcore_libsim_a_LIBADD = +@CONFIG_MCORE_TRUE@am_mcore_libsim_a_OBJECTS = \ +@CONFIG_MCORE_TRUE@ mcore/syscalls.$(OBJEXT) $(am__objects_17) +mcore_libsim_a_OBJECTS = $(am_mcore_libsim_a_OBJECTS) mn10200_libeval_a_AR = $(AR) $(ARFLAGS) mn10200_libeval_a_LIBADD = @CONFIG_MN10200_TRUE@am_mn10200_libeval_a_OBJECTS = \ @@ -590,7 +622,7 @@ mn10200_libeval_a_LIBADD = mn10200_libeval_a_OBJECTS = $(am_mn10200_libeval_a_OBJECTS) mn10300_libcygmon_a_AR = $(AR) $(ARFLAGS) mn10300_libcygmon_a_LIBADD = -@CONFIG_MN10300_TRUE@am__objects_16 = mn10300/_exit.$(OBJEXT) \ +@CONFIG_MN10300_TRUE@am__objects_18 = mn10300/_exit.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/access.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/chmod.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/close.$(OBJEXT) \ @@ -609,12 +641,12 @@ mn10300_libcygmon_a_LIBADD = @CONFIG_MN10300_TRUE@ mn10300/unlink.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/utime.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/write.$(OBJEXT) -@CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@am_mn10300_libcygmon_a_OBJECTS = $(am__objects_16) \ +@CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@am_mn10300_libcygmon_a_OBJECTS = $(am__objects_18) \ @CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@ mn10300/cygmon.$(OBJEXT) mn10300_libcygmon_a_OBJECTS = $(am_mn10300_libcygmon_a_OBJECTS) mn10300_libeval_a_AR = $(AR) $(ARFLAGS) mn10300_libeval_a_LIBADD = -@CONFIG_MN10300_TRUE@am_mn10300_libeval_a_OBJECTS = $(am__objects_16) \ +@CONFIG_MN10300_TRUE@am_mn10300_libeval_a_OBJECTS = $(am__objects_18) \ @CONFIG_MN10300_TRUE@ mn10300/trap.$(OBJEXT) mn10300_libeval_a_OBJECTS = $(am_mn10300_libeval_a_OBJECTS) moxie_libqemu_a_AR = $(AR) $(ARFLAGS) @@ -771,7 +803,7 @@ riscv_libsemihost_a_LIBADD = riscv_libsemihost_a_OBJECTS = $(am_riscv_libsemihost_a_OBJECTS) riscv_libsim_a_AR = $(AR) $(ARFLAGS) riscv_libsim_a_LIBADD = -@CONFIG_RISCV_TRUE@am__objects_17 = \ +@CONFIG_RISCV_TRUE@am__objects_19 = \ @CONFIG_RISCV_TRUE@ riscv/riscv_libsim_a-sys_access.$(OBJEXT) \ @CONFIG_RISCV_TRUE@ riscv/riscv_libsim_a-sys_chdir.$(OBJEXT) \ @CONFIG_RISCV_TRUE@ riscv/riscv_libsim_a-sys_chmod.$(OBJEXT) \ @@ -804,7 +836,7 @@ riscv_libsim_a_LIBADD = @CONFIG_RISCV_TRUE@ riscv/riscv_libsim_a-sys_utime.$(OBJEXT) \ @CONFIG_RISCV_TRUE@ riscv/riscv_libsim_a-sys_wait.$(OBJEXT) \ @CONFIG_RISCV_TRUE@ riscv/riscv_libsim_a-sys_write.$(OBJEXT) -@CONFIG_RISCV_TRUE@am_riscv_libsim_a_OBJECTS = $(am__objects_17) +@CONFIG_RISCV_TRUE@am_riscv_libsim_a_OBJECTS = $(am__objects_19) riscv_libsim_a_OBJECTS = $(am_riscv_libsim_a_OBJECTS) v850_libsim_a_AR = $(AR) $(ARFLAGS) v850_libsim_a_LIBADD = @@ -826,13 +858,13 @@ v850_libsim_a_LIBADD = v850_libsim_a_OBJECTS = $(am_v850_libsim_a_OBJECTS) xtensa_libgloss_a_AR = $(AR) $(ARFLAGS) xtensa_libgloss_a_LIBADD = -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_18 = xtensa/boards/esp32/xtensa_libgloss_a-board.$(OBJEXT) -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_19 = xtensa/boards/esp32s3/xtensa_libgloss_a-board.$(OBJEXT) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_20 = xtensa/boards/esp32/xtensa_libgloss_a-board.$(OBJEXT) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_21 = xtensa/boards/esp32s3/xtensa_libgloss_a-board.$(OBJEXT) @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am_xtensa_libgloss_a_OBJECTS = xtensa/xtensa_libgloss_a-sleep.$(OBJEXT) \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/xtensa_libgloss_a-syscalls.$(OBJEXT) \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/xtensa_libgloss_a-window-vectors.$(OBJEXT) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_18) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_19) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_20) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_21) xtensa_libgloss_a_OBJECTS = $(am_xtensa_libgloss_a_OBJECTS) xtensa_libsys_openocd_a_AR = $(AR) $(ARFLAGS) xtensa_libsys_openocd_a_LIBADD = @@ -917,7 +949,8 @@ SOURCES = $(aarch64_librdimon_a_SOURCES) $(arc_libnsim_a_SOURCES) \ $(frv_libsim_a_SOURCES) $(i386_libcygmon_a_SOURCES) \ $(i960_libmon960_a_SOURCES) $(iq2000_libeval_a_SOURCES) \ $(libnosys_libnosys_a_SOURCES) $(libobjs_a_SOURCES) \ - $(lm32_libgloss_a_SOURCES) $(mn10200_libeval_a_SOURCES) \ + $(lm32_libgloss_a_SOURCES) $(mcore_libcmb_a_SOURCES) \ + $(mcore_libsim_a_SOURCES) $(mn10200_libeval_a_SOURCES) \ $(mn10300_libcygmon_a_SOURCES) $(mn10300_libeval_a_SOURCES) \ $(moxie_libqemu_a_SOURCES) $(moxie_libsim_a_SOURCES) \ $(msp430_libcrt_a_SOURCES) $(msp430_libnosys_a_SOURCES) \ @@ -1014,7 +1047,7 @@ ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) -VPATH = @srcdir@ $(am__append_66) +VPATH = @srcdir@ $(am__append_71) AARCH64_OBJTYPE = @AARCH64_OBJTYPE@ ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ @@ -1032,7 +1065,7 @@ CCASFLAGS = @CCASFLAGS@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ $(am__append_68) +CPPFLAGS = @CPPFLAGS@ $(am__append_73) CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -1054,7 +1087,6 @@ LTLIBOBJS = @LTLIBOBJS@ M68K_TARGET = @M68K_TARGET@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ -MCORE_BSP_PREFIX = @MCORE_BSP_PREFIX@ MIPS_BSP_LIST = @MIPS_BSP_LIST@ MIPS_CRT0 = @MIPS_CRT0@ MIPS_PART_SPECIFIC_DEFINES = @MIPS_PART_SPECIFIC_DEFINES@ @@ -1152,19 +1184,20 @@ multilibtool_DATA = $(am__append_3) $(am__append_6) $(am__append_7) \ $(am__append_18) $(am__append_22) $(am__append_23) \ $(am__append_26) $(am__append_29) $(am__append_32) \ $(am__append_36) $(am__append_38) $(am__append_41) \ - $(am__append_45) $(am__append_46) $(am__append_47) \ - $(am__append_52) $(am__append_53) $(am__append_56) \ - $(am__append_59) $(am__append_61) $(am__append_63) \ - $(am__append_69) $(am__append_72) $(am__append_74) \ - $(am__append_78) + $(am__append_42) $(am__append_43) $(am__append_46) \ + $(am__append_50) $(am__append_51) $(am__append_52) \ + $(am__append_57) $(am__append_58) $(am__append_61) \ + $(am__append_64) $(am__append_66) $(am__append_68) \ + $(am__append_74) $(am__append_77) $(am__append_79) \ + $(am__append_83) multilibtool_LIBRARIES = $(am__append_2) $(am__append_5) \ $(am__append_9) $(am__append_11) $(am__append_20) \ $(am__append_21) $(am__append_25) $(am__append_28) \ $(am__append_31) $(am__append_33) $(am__append_37) \ - $(am__append_39) $(am__append_43) $(am__append_49) \ - $(am__append_50) $(am__append_55) $(am__append_58) \ - $(am__append_60) $(am__append_62) $(am__append_65) \ - $(am__append_71) $(am__append_73) + $(am__append_39) $(am__append_45) $(am__append_48) \ + $(am__append_54) $(am__append_55) $(am__append_60) \ + $(am__append_63) $(am__append_65) $(am__append_67) \ + $(am__append_70) $(am__append_76) $(am__append_78) includetooldir = $(tooldir)/include includetool_DATA = $(am__append_16) includesystooldir = $(tooldir)/include/sys @@ -1181,9 +1214,9 @@ AM_LDFLAGS = $(AM_LDFLAGS_$(subst /,_,$(@D))) $(AM_LDFLAGS_$(subst -,_,$(subst / noinst_LIBRARIES = libobjs.a libobjs_a_SOURCES = $(am__append_14) $(am__append_19) $(am__append_24) \ $(am__append_27) $(am__append_30) $(am__append_34) \ - $(am__append_40) $(am__append_42) $(am__append_48) \ - $(am__append_54) $(am__append_57) $(am__append_64) \ - $(am__append_70) + $(am__append_40) $(am__append_44) $(am__append_47) \ + $(am__append_53) $(am__append_59) $(am__append_62) \ + $(am__append_69) $(am__append_75) FLAGS_TO_PASS = \ "CC=$(CC)" \ "CFLAGS=$(CFLAGS)" \ @@ -1402,6 +1435,33 @@ TEXINFO_TEX = ../texinfo/texinfo.tex @CONFIG_LM32_TRUE@ lm32/isatty.c \ @CONFIG_LM32_TRUE@ lm32/scall.S +@CONFIG_MCORE_TRUE@mcore_common_lib_sources = \ +@CONFIG_MCORE_TRUE@ mcore/fstat.c \ +@CONFIG_MCORE_TRUE@ mcore/getpid.c \ +@CONFIG_MCORE_TRUE@ isatty.c \ +@CONFIG_MCORE_TRUE@ mcore/kill.c \ +@CONFIG_MCORE_TRUE@ mcore/raise.c \ +@CONFIG_MCORE_TRUE@ mcore/putnum.c \ +@CONFIG_MCORE_TRUE@ mcore/stat.c \ +@CONFIG_MCORE_TRUE@ mcore/unlink.c + +@CONFIG_MCORE_TRUE@mcore_libsim_a_SOURCES = \ +@CONFIG_MCORE_TRUE@ mcore/syscalls.S \ +@CONFIG_MCORE_TRUE@ $(mcore_common_lib_sources) + +@CONFIG_MCORE_TRUE@mcore_libcmb_a_SOURCES = \ +@CONFIG_MCORE_TRUE@ mcore/open.c \ +@CONFIG_MCORE_TRUE@ mcore/close.c \ +@CONFIG_MCORE_TRUE@ mcore/lseek.c \ +@CONFIG_MCORE_TRUE@ mcore/sbrk.c \ +@CONFIG_MCORE_TRUE@ mcore/read.c \ +@CONFIG_MCORE_TRUE@ mcore/write.c \ +@CONFIG_MCORE_TRUE@ mcore/print.c \ +@CONFIG_MCORE_TRUE@ mcore/cmb-exit.c \ +@CONFIG_MCORE_TRUE@ mcore/cmb-inbyte.c \ +@CONFIG_MCORE_TRUE@ mcore/cmb-outbyte.c \ +@CONFIG_MCORE_TRUE@ $(mcore_common_lib_sources) + @CONFIG_MN10200_TRUE@mn10200_libeval_a_SOURCES = \ @CONFIG_MN10200_TRUE@ mn10200/_exit.c \ @CONFIG_MN10200_TRUE@ mn10200/access.c \ @@ -1646,19 +1706,19 @@ TEXINFO_TEX = ../texinfo/texinfo.tex @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@xtensa_libgloss_a_SOURCES = xtensa/sleep.S \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/syscalls.c \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/window-vectors.S \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_75) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_79) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_80) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_84) @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@xtensa_libsys_qemu_a_CPPFLAGS = -DQEMU_SEMIHOSTING \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_76) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_80) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_81) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_85) @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@xtensa_libsys_qemu_a_SOURCES = \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/sim-vectors.S \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/sim-call.S \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/syscalls.c @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@xtensa_libsys_openocd_a_CPPFLAGS = -DOPENOCD_SEMIHOSTING \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_77) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_81) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_82) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_86) @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@xtensa_libsys_openocd_a_SOURCES = \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/syscalls.c @@ -1671,7 +1731,7 @@ all: config.h .SUFFIXES: .S .c .dvi .o .obj .ps am--refresh: Makefile @: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../multilib.am $(srcdir)/doc/Makefile.inc $(srcdir)/aarch64/Makefile.inc $(srcdir)/aarch64/cpu-init/Makefile.inc $(srcdir)/arc/Makefile.inc $(srcdir)/arm/Makefile.inc $(srcdir)/arm/cpu-init/Makefile.inc $(srcdir)/bfin/Makefile.inc $(srcdir)/csky/Makefile.inc $(srcdir)/d30v/Makefile.inc $(srcdir)/frv/Makefile.inc $(srcdir)/i386/Makefile.inc $(srcdir)/i960/Makefile.inc $(srcdir)/iq2000/Makefile.inc $(srcdir)/libnosys/Makefile.inc $(srcdir)/lm32/Makefile.inc $(srcdir)/mn10200/Makefile.inc $(srcdir)/mn10300/Makefile.inc $(srcdir)/moxie/Makefile.inc $(srcdir)/msp430/Makefile.inc $(srcdir)/nios2/Makefile.inc $(srcdir)/riscv/Makefile.inc $(srcdir)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xtensa/Makefile.inc $(am__configure_deps) +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/../multilib.am $(srcdir)/doc/Makefile.inc $(srcdir)/aarch64/Makefile.inc $(srcdir)/aarch64/cpu-init/Makefile.inc $(srcdir)/arc/Makefile.inc $(srcdir)/arm/Makefile.inc $(srcdir)/arm/cpu-init/Makefile.inc $(srcdir)/bfin/Makefile.inc $(srcdir)/csky/Makefile.inc $(srcdir)/d30v/Makefile.inc $(srcdir)/frv/Makefile.inc $(srcdir)/i386/Makefile.inc $(srcdir)/i960/Makefile.inc $(srcdir)/iq2000/Makefile.inc $(srcdir)/libnosys/Makefile.inc $(srcdir)/lm32/Makefile.inc $(srcdir)/mcore/Makefile.inc $(srcdir)/mn10200/Makefile.inc $(srcdir)/mn10300/Makefile.inc $(srcdir)/moxie/Makefile.inc $(srcdir)/msp430/Makefile.inc $(srcdir)/nios2/Makefile.inc $(srcdir)/riscv/Makefile.inc $(srcdir)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xtensa/Makefile.inc $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -1693,7 +1753,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; -$(top_srcdir)/../multilib.am $(srcdir)/doc/Makefile.inc $(srcdir)/aarch64/Makefile.inc $(srcdir)/aarch64/cpu-init/Makefile.inc $(srcdir)/arc/Makefile.inc $(srcdir)/arm/Makefile.inc $(srcdir)/arm/cpu-init/Makefile.inc $(srcdir)/bfin/Makefile.inc $(srcdir)/csky/Makefile.inc $(srcdir)/d30v/Makefile.inc $(srcdir)/frv/Makefile.inc $(srcdir)/i386/Makefile.inc $(srcdir)/i960/Makefile.inc $(srcdir)/iq2000/Makefile.inc $(srcdir)/libnosys/Makefile.inc $(srcdir)/lm32/Makefile.inc $(srcdir)/mn10200/Makefile.inc $(srcdir)/mn10300/Makefile.inc $(srcdir)/moxie/Makefile.inc $(srcdir)/msp430/Makefile.inc $(srcdir)/nios2/Makefile.inc $(srcdir)/riscv/Makefile.inc $(srcdir)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xtensa/Makefile.inc $(am__empty): +$(top_srcdir)/../multilib.am $(srcdir)/doc/Makefile.inc $(srcdir)/aarch64/Makefile.inc $(srcdir)/aarch64/cpu-init/Makefile.inc $(srcdir)/arc/Makefile.inc $(srcdir)/arm/Makefile.inc $(srcdir)/arm/cpu-init/Makefile.inc $(srcdir)/bfin/Makefile.inc $(srcdir)/csky/Makefile.inc $(srcdir)/d30v/Makefile.inc $(srcdir)/frv/Makefile.inc $(srcdir)/i386/Makefile.inc $(srcdir)/i960/Makefile.inc $(srcdir)/iq2000/Makefile.inc $(srcdir)/libnosys/Makefile.inc $(srcdir)/lm32/Makefile.inc $(srcdir)/mcore/Makefile.inc $(srcdir)/mn10200/Makefile.inc $(srcdir)/mn10300/Makefile.inc $(srcdir)/moxie/Makefile.inc $(srcdir)/msp430/Makefile.inc $(srcdir)/nios2/Makefile.inc $(srcdir)/riscv/Makefile.inc $(srcdir)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xtensa/Makefile.inc $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck @@ -1748,8 +1808,6 @@ fr30/Makefile: $(top_builddir)/config.status $(top_srcdir)/fr30/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ ft32/Makefile: $(top_builddir)/config.status $(top_srcdir)/ft32/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ -mcore/Makefile: $(top_builddir)/config.status $(top_srcdir)/mcore/Makefile.in - cd $(top_builddir) && $(SHELL) ./config.status $@ mep/Makefile: $(top_builddir)/config.status $(top_srcdir)/mep/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ microblaze/Makefile: $(top_builddir)/config.status $(top_srcdir)/microblaze/Makefile.in @@ -2218,6 +2276,14 @@ lm32/$(DEPDIR)/$(am__dirstamp): @: > lm32/$(DEPDIR)/$(am__dirstamp) lm32/crt0.$(OBJEXT): lm32/$(am__dirstamp) \ lm32/$(DEPDIR)/$(am__dirstamp) +mcore/$(am__dirstamp): + @$(MKDIR_P) mcore + @: > mcore/$(am__dirstamp) +mcore/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) mcore/$(DEPDIR) + @: > mcore/$(DEPDIR)/$(am__dirstamp) +mcore/crt0.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) mn10200/$(am__dirstamp): @$(MKDIR_P) mn10200 @: > mn10200/$(am__dirstamp) @@ -2290,6 +2356,52 @@ lm32/libgloss.a: $(lm32_libgloss_a_OBJECTS) $(lm32_libgloss_a_DEPENDENCIES) $(EX $(AM_V_at)-rm -f lm32/libgloss.a $(AM_V_AR)$(lm32_libgloss_a_AR) lm32/libgloss.a $(lm32_libgloss_a_OBJECTS) $(lm32_libgloss_a_LIBADD) $(AM_V_at)$(RANLIB) lm32/libgloss.a +mcore/open.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/close.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/lseek.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/sbrk.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/read.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/write.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/print.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/cmb-exit.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/cmb-inbyte.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/cmb-outbyte.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/fstat.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/getpid.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/kill.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/raise.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/putnum.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/stat.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) +mcore/unlink.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) + +mcore/libcmb.a: $(mcore_libcmb_a_OBJECTS) $(mcore_libcmb_a_DEPENDENCIES) $(EXTRA_mcore_libcmb_a_DEPENDENCIES) mcore/$(am__dirstamp) + $(AM_V_at)-rm -f mcore/libcmb.a + $(AM_V_AR)$(mcore_libcmb_a_AR) mcore/libcmb.a $(mcore_libcmb_a_OBJECTS) $(mcore_libcmb_a_LIBADD) + $(AM_V_at)$(RANLIB) mcore/libcmb.a +mcore/syscalls.$(OBJEXT): mcore/$(am__dirstamp) \ + mcore/$(DEPDIR)/$(am__dirstamp) + +mcore/libsim.a: $(mcore_libsim_a_OBJECTS) $(mcore_libsim_a_DEPENDENCIES) $(EXTRA_mcore_libsim_a_DEPENDENCIES) mcore/$(am__dirstamp) + $(AM_V_at)-rm -f mcore/libsim.a + $(AM_V_AR)$(mcore_libsim_a_AR) mcore/libsim.a $(mcore_libsim_a_OBJECTS) $(mcore_libsim_a_LIBADD) + $(AM_V_at)$(RANLIB) mcore/libsim.a mn10200/_exit.$(OBJEXT): mn10200/$(am__dirstamp) \ mn10200/$(DEPDIR)/$(am__dirstamp) mn10200/access.$(OBJEXT): mn10200/$(am__dirstamp) \ @@ -2931,6 +3043,7 @@ mostlyclean-compile: -rm -f iq2000/*.$(OBJEXT) -rm -f libnosys/*.$(OBJEXT) -rm -f lm32/*.$(OBJEXT) + -rm -f mcore/*.$(OBJEXT) -rm -f mn10200/*.$(OBJEXT) -rm -f mn10300/*.$(OBJEXT) -rm -f moxie/*.$(OBJEXT) @@ -3089,6 +3202,25 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@lm32/$(DEPDIR)/crt0.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lm32/$(DEPDIR)/isatty.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@lm32/$(DEPDIR)/scall.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/close.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/cmb-exit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/cmb-inbyte.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/cmb-outbyte.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/crt0.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/fstat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/getpid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/kill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/lseek.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/open.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/print.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/putnum.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/raise.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/read.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/sbrk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/stat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/syscalls.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/unlink.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mcore/$(DEPDIR)/write.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@mn10200/$(DEPDIR)/_exit.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@mn10200/$(DEPDIR)/access.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@mn10200/$(DEPDIR)/chmod.Po@am__quote@ @@ -6100,6 +6232,8 @@ distclean-generic: -rm -f libnosys/$(am__dirstamp) -rm -f lm32/$(DEPDIR)/$(am__dirstamp) -rm -f lm32/$(am__dirstamp) + -rm -f mcore/$(DEPDIR)/$(am__dirstamp) + -rm -f mcore/$(am__dirstamp) -rm -f mn10200/$(DEPDIR)/$(am__dirstamp) -rm -f mn10200/$(am__dirstamp) -rm -f mn10300/$(DEPDIR)/$(am__dirstamp) @@ -6134,7 +6268,7 @@ clean-am: clean-aminfo clean-binPROGRAMS clean-checkPROGRAMS \ distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf ./$(DEPDIR) aarch64/$(DEPDIR) arc/$(DEPDIR) arm/$(DEPDIR) bfin/$(DEPDIR) csky/$(DEPDIR) d30v/$(DEPDIR) frv/$(DEPDIR) i386/$(DEPDIR) i960/$(DEPDIR) iq2000/$(DEPDIR) libnosys/$(DEPDIR) lm32/$(DEPDIR) mn10200/$(DEPDIR) mn10300/$(DEPDIR) moxie/$(DEPDIR) msp430/$(DEPDIR) nios2/$(DEPDIR) riscv/$(DEPDIR) v850/$(DEPDIR) xtensa/$(DEPDIR) xtensa/boards/esp32/$(DEPDIR) xtensa/boards/esp32s3/$(DEPDIR) + -rm -rf ./$(DEPDIR) aarch64/$(DEPDIR) arc/$(DEPDIR) arm/$(DEPDIR) bfin/$(DEPDIR) csky/$(DEPDIR) d30v/$(DEPDIR) frv/$(DEPDIR) i386/$(DEPDIR) i960/$(DEPDIR) iq2000/$(DEPDIR) libnosys/$(DEPDIR) lm32/$(DEPDIR) mcore/$(DEPDIR) mn10200/$(DEPDIR) mn10300/$(DEPDIR) moxie/$(DEPDIR) msp430/$(DEPDIR) nios2/$(DEPDIR) riscv/$(DEPDIR) v850/$(DEPDIR) xtensa/$(DEPDIR) xtensa/boards/esp32/$(DEPDIR) xtensa/boards/esp32s3/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-local distclean-tags @@ -6277,7 +6411,7 @@ installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf ./$(DEPDIR) aarch64/$(DEPDIR) arc/$(DEPDIR) arm/$(DEPDIR) bfin/$(DEPDIR) csky/$(DEPDIR) d30v/$(DEPDIR) frv/$(DEPDIR) i386/$(DEPDIR) i960/$(DEPDIR) iq2000/$(DEPDIR) libnosys/$(DEPDIR) lm32/$(DEPDIR) mn10200/$(DEPDIR) mn10300/$(DEPDIR) moxie/$(DEPDIR) msp430/$(DEPDIR) nios2/$(DEPDIR) riscv/$(DEPDIR) v850/$(DEPDIR) xtensa/$(DEPDIR) xtensa/boards/esp32/$(DEPDIR) xtensa/boards/esp32s3/$(DEPDIR) + -rm -rf ./$(DEPDIR) aarch64/$(DEPDIR) arc/$(DEPDIR) arm/$(DEPDIR) bfin/$(DEPDIR) csky/$(DEPDIR) d30v/$(DEPDIR) frv/$(DEPDIR) i386/$(DEPDIR) i960/$(DEPDIR) iq2000/$(DEPDIR) libnosys/$(DEPDIR) lm32/$(DEPDIR) mcore/$(DEPDIR) mn10200/$(DEPDIR) mn10300/$(DEPDIR) moxie/$(DEPDIR) msp430/$(DEPDIR) nios2/$(DEPDIR) riscv/$(DEPDIR) v850/$(DEPDIR) xtensa/$(DEPDIR) xtensa/boards/esp32/$(DEPDIR) xtensa/boards/esp32s3/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-aminfo \ maintainer-clean-generic maintainer-clean-local @@ -6439,6 +6573,14 @@ maintainer-clean-local: maintainer-clean-multi @CONFIG_BFIN_TRUE@ $(AM_V_CPPAS)$(CPPASCOMPILE) $(bfin_CPPFLAGS) -o $@ -c $< $(if $(findstring mcpu=,$(CFLAGS)),-mcpu=bf608-any,-mcpu=bf608-none) -D__BFIN_SDRAM @CONFIG_BFIN_TRUE@bfin/basiccrt60xc1.$(OBJEXT): bfin/basiccrt.S @CONFIG_BFIN_TRUE@ $(AM_V_CPPAS)$(CPPASCOMPILE) $(bfin_CPPFLAGS) -o $@ -c $< $(if $(findstring mcpu=,$(CFLAGS)),-mcpu=bf608-any,-mcpu=bf608-none) -D__ADSPBF60x_CORE1__ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_ELF_TRUE@mcore/cmb.ld: mcore/elf-cmb.ld +@CONFIG_MCORE_TRUE@@MCORE_BUILD_ELF_TRUE@ $(AM_V_GEN)cp $< $@ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_ELF_TRUE@mcore/cmb.specs: mcore/elf-cmb.specs +@CONFIG_MCORE_TRUE@@MCORE_BUILD_ELF_TRUE@ $(AM_V_GEN)cp $< $@ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_PE_TRUE@mcore/cmb.ld: mcore/pe-cmb.ld +@CONFIG_MCORE_TRUE@@MCORE_BUILD_PE_TRUE@ $(AM_V_GEN)cp $< $@ +@CONFIG_MCORE_TRUE@@MCORE_BUILD_PE_TRUE@mcore/cmb.specs: mcore/pe-cmb.specs +@CONFIG_MCORE_TRUE@@MCORE_BUILD_PE_TRUE@ $(AM_V_GEN)cp $< $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/libgloss/configure b/libgloss/configure index bf527c1..35ee57c 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -607,7 +607,10 @@ MIPS_BSP_LIST MIPS_SCRIPT_LIST MIPS_PART_SPECIFIC_DEFINES MIPS_PART_SPECIFIC_OBJ -MCORE_BSP_PREFIX +MCORE_BUILD_PE_FALSE +MCORE_BUILD_PE_TRUE +MCORE_BUILD_ELF_FALSE +MCORE_BUILD_ELF_TRUE M68K_TARGET I386_CPPFLAGS ARM_OBJTYPE @@ -659,6 +662,8 @@ CONFIG_MN10300_FALSE CONFIG_MN10300_TRUE CONFIG_MN10200_FALSE CONFIG_MN10200_TRUE +CONFIG_MCORE_FALSE +CONFIG_MCORE_TRUE CONFIG_LM32_FALSE CONFIG_LM32_TRUE CONFIG_LIBNOSYS_FALSE @@ -2897,9 +2902,7 @@ case "${target}" in config_lm32=true ;; mcore-*-*) - ac_config_files="$ac_config_files mcore/Makefile" - - subdirs="$subdirs mcore" + config_mcore=true ;; mep-*-*) ac_config_files="$ac_config_files mep/Makefile" @@ -3093,6 +3096,14 @@ else CONFIG_LM32_FALSE= fi + if test x$config_mcore = xtrue; then + CONFIG_MCORE_TRUE= + CONFIG_MCORE_FALSE='#' +else + CONFIG_MCORE_TRUE='#' + CONFIG_MCORE_FALSE= +fi + if test x$config_mn10200 = xtrue; then CONFIG_MN10200_TRUE= CONFIG_MN10200_FALSE='#' @@ -5271,15 +5282,31 @@ $as_echo "$M68K_TARGET" >&6; } esac -MCORE_BSP_PREFIX= -case "${target}" in - mcore-*-elf) - MCORE_BSP_PREFIX=elf- - ;; - mcore-*-pe) - MCORE_BSP_PREFIX=pe- - ;; +MCORE_BUILD_ELF=false +MCORE_BUILD_PE=false +case ${target} in #( + mcore-*-elf) : + MCORE_BUILD_ELF=true ;; #( + mcore-*-pe) : + MCORE_BUILD_PE=true ;; #( + *) : + ;; esac + if $MCORE_BUILD_ELF; then + MCORE_BUILD_ELF_TRUE= + MCORE_BUILD_ELF_FALSE='#' +else + MCORE_BUILD_ELF_TRUE='#' + MCORE_BUILD_ELF_FALSE= +fi + + if $MCORE_BUILD_PE; then + MCORE_BUILD_PE_TRUE= + MCORE_BUILD_PE_FALSE='#' +else + MCORE_BUILD_PE_TRUE='#' + MCORE_BUILD_PE_FALSE= +fi MIPS_PART_SPECIFIC_OBJ= @@ -5664,6 +5691,10 @@ if test -z "${CONFIG_LM32_TRUE}" && test -z "${CONFIG_LM32_FALSE}"; then as_fn_error $? "conditional \"CONFIG_LM32\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${CONFIG_MCORE_TRUE}" && test -z "${CONFIG_MCORE_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_MCORE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${CONFIG_MN10200_TRUE}" && test -z "${CONFIG_MN10200_FALSE}"; then as_fn_error $? "conditional \"CONFIG_MN10200\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -5712,6 +5743,14 @@ if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${MCORE_BUILD_ELF_TRUE}" && test -z "${MCORE_BUILD_ELF_FALSE}"; then + as_fn_error $? "conditional \"MCORE_BUILD_ELF\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${MCORE_BUILD_PE_TRUE}" && test -z "${MCORE_BUILD_PE_FALSE}"; then + as_fn_error $? "conditional \"MCORE_BUILD_PE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${MN10300_BUILD_LIBCYGMON_TRUE}" && test -z "${MN10300_BUILD_LIBCYGMON_FALSE}"; then as_fn_error $? "conditional \"MN10300_BUILD_LIBCYGMON\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -6355,7 +6394,6 @@ do "crx/Makefile") CONFIG_FILES="$CONFIG_FILES crx/Makefile" ;; "fr30/Makefile") CONFIG_FILES="$CONFIG_FILES fr30/Makefile" ;; "ft32/Makefile") CONFIG_FILES="$CONFIG_FILES ft32/Makefile" ;; - "mcore/Makefile") CONFIG_FILES="$CONFIG_FILES mcore/Makefile" ;; "mep/Makefile") CONFIG_FILES="$CONFIG_FILES mep/Makefile" ;; "microblaze/Makefile") CONFIG_FILES="$CONFIG_FILES microblaze/Makefile" ;; "mt/Makefile") CONFIG_FILES="$CONFIG_FILES mt/Makefile" ;; diff --git a/libgloss/configure.ac b/libgloss/configure.ac index 58a5c35..f148bce 100644 --- a/libgloss/configure.ac +++ b/libgloss/configure.ac @@ -151,8 +151,7 @@ case "${target}" in config_lm32=true ;; mcore-*-*) - AC_CONFIG_FILES([mcore/Makefile]) - subdirs="$subdirs mcore" + config_mcore=true ;; mep-*-*) AC_CONFIG_FILES([mep/Makefile]) @@ -241,7 +240,7 @@ dnl These subdirs have converted to non-recursive make. Hopefully someday all dnl the ports above will too! m4_foreach_w([SUBDIR], [ aarch64 arc arm bfin csky d30v frv i386 i960 iq2000 libnosys lm32 - mn10200 mn10300 moxie msp430 + mcore mn10200 mn10300 moxie msp430 nios2 riscv v850 wince xtensa ], [dnl AM_CONDITIONAL([CONFIG_]m4_toupper(SUBDIR), [test x$config_]SUBDIR = xtrue) diff --git a/libgloss/mcore/Makefile.in b/libgloss/mcore/Makefile.in deleted file mode 100644 index 883e5ed..0000000 --- a/libgloss/mcore/Makefile.in +++ /dev/null @@ -1,144 +0,0 @@ -# -# - -DESTDIR = -VPATH = @srcdir@ @srcdir@/.. -srcdir = @srcdir@ -objdir = . -srcroot = $(srcdir)/../.. -objroot = $(objdir)/../.. - -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -host_alias = @host_alias@ -target_alias = @target_alias@ - -bindir = @bindir@ -libdir = @libdir@ -tooldir = $(exec_prefix)/$(target_alias) - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ - -# Multilib support variables. -# TOP is used instead of MULTI{BUILD,SRC}TOP. -MULTIDIRS = -MULTISUBDIR = - -SHELL = /bin/sh - -mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs - -CC = @CC@ - -AS = @AS@ -AR = @AR@ -LD = @LD@ -RANLIB = @RANLIB@ - -OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \ - then echo ${objroot}/../binutils/objdump ; \ - else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi` -OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \ - then echo ${objroot}/../binutils/objcopy ; \ - else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi` - -OBJS = fstat.o getpid.o isatty.o kill.o raise.o putnum.o stat.o unlink.o -CFLAGS = -g -SCRIPTS = - -# Here is all of the simulator stuff -SIM_SCRIPTS = -SIM_LDFLAGS = -SIM_BSP = libsim.a -SIM_CRT0 = crt0.o -SIM_OBJS = syscalls.o -SIM_TEST = sim-test -SIM_INSTALL = install-sim - -# Here is all of the picobug on cmb stuff -MON_PREFIX = @MCORE_BSP_PREFIX@ -MON_LDFLAGS = -MON_BSP = libcmb.a -MON_CRT0 = crt0.o -MON_OBJS = open.o close.o lseek.o sbrk.o read.o write.o print.o cmb-exit.o cmb-inbyte.o cmb-outbyte.o -MON_SCRIPTS = cmb.ld cmb.specs -MON_TEST = -MON_INSTALL = install-mon - -# Host specific makefile fragment comes in here. -@host_makefile_frag@ - -# -# build a test program for each target board. Just trying to get -# it to link is a good test, so we ignore all the errors for now. -# -all: ${SIM_CRT0} ${SIM_BSP} ${MON_BSP} - -# -# here's where we build the board support packages for each target -# -${SIM_BSP}: ${OBJS} ${SIM_OBJS} - ${AR} ${ARFLAGS} ${SIM_BSP} ${SIM_OBJS} ${OBJS} - ${RANLIB} ${SIM_BSP} - -${MON_BSP}: ${OBJS} ${MON_OBJS} - ${AR} ${ARFLAGS} ${MON_BSP} ${MON_OBJS} ${OBJS} - ${RANLIB} ${MON_BSP} - -# -# here's where we build the test programs for each target -# -.PHONY: test -test: ${SIM_TEST} ${MON_TEST} - -sim-test: sim-test.x sim-test.dis - -sim-test.x: test.o ${SIM_CRT0} ${SIM_BSP} - ${CC} ${LDFLAGS_FOR_TARGET} -L${objdir} \ - ${SIM_CRT0} test.o \ - -o sim-test.x ${LIBS_FOR_TARGET} -lc ${SIM_BSP} - -sim-test.dis: sim-test.x - ${OBJDUMP} -d sim-test.x > sim-test.dis - - -# -# -# -.c.S: - ${CC} ${CFLAGS_FOR_TARGET} $(INCLUDES) $(CFLAGS) -c $< - -simulator.o: simulator.S -sim-crt0.o: sim-crt0.S -cmb-exit.o: cmb-exit.c -cmb-inbyte.o: cmb-inbyte.c -cmb-outbyte.o: cmb-outbyte.c - -clean mostlyclean: - rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(MON_BSP) - -distclean maintainer-clean realclean: clean - rm -f Makefile *~ - -.PHONY: install info install-info clean-info -install: ${SIM_INSTALL} ${MON_INSTALL} - -install-mon: - ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} - set -e; for x in ${MON_CRT0} ${MON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done - set -e; for x in ${MON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${MON_PREFIX}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done - -install-sim: - ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} - set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done - -doc: -info: -install-info: -clean-info: - -Makefile: Makefile.in ../config.status - cd .. && $(SHELL) config.status diff --git a/libgloss/mcore/Makefile.inc b/libgloss/mcore/Makefile.inc new file mode 100644 index 0000000..f0dec19 --- /dev/null +++ b/libgloss/mcore/Makefile.inc @@ -0,0 +1,52 @@ +if MCORE_BUILD_ELF +multilibtool_DATA += \ + %D%/cmb.ld \ + %D%/cmb.specs +%D%/cmb.ld: %D%/elf-cmb.ld + $(AM_V_GEN)cp $< $@ +%D%/cmb.specs: %D%/elf-cmb.specs + $(AM_V_GEN)cp $< $@ +endif +if MCORE_BUILD_PE +multilibtool_DATA += \ + %D%/cmb.ld \ + %D%/cmb.specs +%D%/cmb.ld: %D%/pe-cmb.ld + $(AM_V_GEN)cp $< $@ +%D%/cmb.specs: %D%/pe-cmb.specs + $(AM_V_GEN)cp $< $@ +endif + +multilibtool_DATA += %D%/crt0.o +libobjs_a_SOURCES += %D%/crt0.S + +%C%_common_lib_sources = \ + %D%/fstat.c \ + %D%/getpid.c \ + isatty.c \ + %D%/kill.c \ + %D%/raise.c \ + %D%/putnum.c \ + %D%/stat.c \ + %D%/unlink.c + +## Here is all of the simulator stuff +multilibtool_LIBRARIES += %D%/libsim.a +%C%_libsim_a_SOURCES = \ + %D%/syscalls.S \ + $(%C%_common_lib_sources) + +## Here is all of the picobug on cmb stuff +multilibtool_LIBRARIES += %D%/libcmb.a +%C%_libcmb_a_SOURCES = \ + %D%/open.c \ + %D%/close.c \ + %D%/lseek.c \ + %D%/sbrk.c \ + %D%/read.c \ + %D%/write.c \ + %D%/print.c \ + %D%/cmb-exit.c \ + %D%/cmb-inbyte.c \ + %D%/cmb-outbyte.c \ + $(%C%_common_lib_sources) diff --git a/libgloss/mcore/acinclude.m4 b/libgloss/mcore/acinclude.m4 index 7115869..ed3fa2e 100644 --- a/libgloss/mcore/acinclude.m4 +++ b/libgloss/mcore/acinclude.m4 @@ -1,10 +1,7 @@ -MCORE_BSP_PREFIX= -case "${target}" in - mcore-*-elf) - MCORE_BSP_PREFIX=elf- - ;; - mcore-*-pe) - MCORE_BSP_PREFIX=pe- - ;; -esac -AC_SUBST(MCORE_BSP_PREFIX) +MCORE_BUILD_ELF=false +MCORE_BUILD_PE=false +AS_CASE([${target}], + [mcore-*-elf], [MCORE_BUILD_ELF=true], + [mcore-*-pe], [MCORE_BUILD_PE=true]) +AM_CONDITIONAL([MCORE_BUILD_ELF], [$MCORE_BUILD_ELF]) +AM_CONDITIONAL([MCORE_BUILD_PE], [$MCORE_BUILD_PE]) |