diff options
-rw-r--r-- | libgloss/Makefile.am | 3 | ||||
-rw-r--r-- | libgloss/Makefile.in | 288 | ||||
-rwxr-xr-x | libgloss/configure | 19 | ||||
-rw-r--r-- | libgloss/configure.ac | 5 | ||||
-rw-r--r-- | libgloss/rl78/Makefile.in | 161 | ||||
-rw-r--r-- | libgloss/rl78/Makefile.inc | 52 |
6 files changed, 292 insertions, 236 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am index 3b1591e..30ca105 100644 --- a/libgloss/Makefile.am +++ b/libgloss/Makefile.am @@ -140,6 +140,9 @@ endif if CONFIG_RISCV include riscv/Makefile.inc endif +if CONFIG_RL78 +include rl78/Makefile.inc +endif if CONFIG_RX include rx/Makefile.inc endif diff --git a/libgloss/Makefile.in b/libgloss/Makefile.in index d85c7c0..7fdfe7f 100644 --- a/libgloss/Makefile.in +++ b/libgloss/Makefile.in @@ -268,36 +268,44 @@ multilibtool_PROGRAMS = $(am__EXEEXT_6) @CONFIG_RISCV_TRUE@am__append_70 = riscv/libgloss.a riscv/libsim.a \ @CONFIG_RISCV_TRUE@ riscv/libsemihost.a -@CONFIG_RX_TRUE@am__append_71 = rx/rx.ld rx/rx-sim.ld rx/gcrt0.o \ +@CONFIG_RL78_TRUE@am__append_71 = rl78/rl78.ld rl78/rl78-sim.ld \ +@CONFIG_RL78_TRUE@ rl78/gcrt0.o rl78/crt0.o rl78/crtn.o +@CONFIG_RL78_TRUE@am__append_72 = \ +@CONFIG_RL78_TRUE@ rl78/gcrt0.S \ +@CONFIG_RL78_TRUE@ rl78/crt0.S \ +@CONFIG_RL78_TRUE@ rl78/crtn.S + +@CONFIG_RL78_TRUE@am__append_73 = rl78/libsim.a +@CONFIG_RX_TRUE@am__append_74 = rx/rx.ld rx/rx-sim.ld rx/gcrt0.o \ @CONFIG_RX_TRUE@ rx/crt0.o rx/crtn.o -@CONFIG_RX_TRUE@am__append_72 = \ +@CONFIG_RX_TRUE@am__append_75 = \ @CONFIG_RX_TRUE@ rx/gcrt0.S \ @CONFIG_RX_TRUE@ rx/crt0.S \ @CONFIG_RX_TRUE@ rx/crtn.S -@CONFIG_RX_TRUE@am__append_73 = rx/libsim.a -@CONFIG_V850_TRUE@am__append_74 = v850/crt0.o -@CONFIG_V850_TRUE@am__append_75 = v850/crt0.S -@CONFIG_V850_TRUE@am__append_76 = v850/libsim.a -@CONFIG_WINCE_TRUE@am__append_77 = $(gdbdir) -@CONFIG_WINCE_TRUE@am__append_78 = wince/stub.exe -@CONFIG_XSTORMY16_TRUE@am__append_79 = xstormy16/crt0.o \ +@CONFIG_RX_TRUE@am__append_76 = rx/libsim.a +@CONFIG_V850_TRUE@am__append_77 = v850/crt0.o +@CONFIG_V850_TRUE@am__append_78 = v850/crt0.S +@CONFIG_V850_TRUE@am__append_79 = v850/libsim.a +@CONFIG_WINCE_TRUE@am__append_80 = $(gdbdir) +@CONFIG_WINCE_TRUE@am__append_81 = wince/stub.exe +@CONFIG_XSTORMY16_TRUE@am__append_82 = xstormy16/crt0.o \ @CONFIG_XSTORMY16_TRUE@ xstormy16/crti.o xstormy16/crtn.o \ @CONFIG_XSTORMY16_TRUE@ xstormy16/sim_high.ld \ @CONFIG_XSTORMY16_TRUE@ xstormy16/sim_rom.ld \ @CONFIG_XSTORMY16_TRUE@ xstormy16/eva_app.ld \ @CONFIG_XSTORMY16_TRUE@ xstormy16/eva_stub.hex -@CONFIG_XSTORMY16_TRUE@am__append_80 = \ +@CONFIG_XSTORMY16_TRUE@am__append_83 = \ @CONFIG_XSTORMY16_TRUE@ xstormy16/crt0.s \ @CONFIG_XSTORMY16_TRUE@ xstormy16/crti.s \ @CONFIG_XSTORMY16_TRUE@ xstormy16/crtn.s -@CONFIG_XSTORMY16_TRUE@am__append_81 = xstormy16/libsim.a \ +@CONFIG_XSTORMY16_TRUE@am__append_84 = xstormy16/libsim.a \ @CONFIG_XSTORMY16_TRUE@ xstormy16/libeva_app.a -@CONFIG_XSTORMY16_TRUE@am__append_82 = xstormy16/eva_stub.elf -@CONFIG_XSTORMY16_TRUE@am__append_83 = xstormy16/eva_stub.hex -@CONFIG_XTENSA_TRUE@am__append_84 = -D_LIBGLOSS -I$(srcdir)/xtensa/include -@CONFIG_XTENSA_TRUE@am__append_85 = \ +@CONFIG_XSTORMY16_TRUE@am__append_85 = xstormy16/eva_stub.elf +@CONFIG_XSTORMY16_TRUE@am__append_86 = xstormy16/eva_stub.hex +@CONFIG_XTENSA_TRUE@am__append_87 = -D_LIBGLOSS -I$(srcdir)/xtensa/include +@CONFIG_XTENSA_TRUE@am__append_88 = \ @CONFIG_XTENSA_TRUE@ xtensa/default.specs \ @CONFIG_XTENSA_TRUE@ xtensa/nano.specs \ @CONFIG_XTENSA_TRUE@ xtensa/sim.elf.specs \ @@ -306,27 +314,27 @@ multilibtool_PROGRAMS = $(am__EXEEXT_6) @CONFIG_XTENSA_TRUE@ xtensa/sys.openocd.specs \ @CONFIG_XTENSA_TRUE@ xtensa/crt0.o -@CONFIG_XTENSA_TRUE@am__append_86 = \ +@CONFIG_XTENSA_TRUE@am__append_89 = \ @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_87 = xtensa/libgloss.a -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_88 = \ +@CONFIG_XTENSA_TRUE@am__append_90 = xtensa/libgloss.a +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_91 = \ @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_89 = xtensa/libsys_qemu.a \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_92 = 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_90 = xtensa/boards/esp32/memory.elf.ld -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_91 = xtensa/boards/esp32/board.c -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_92 = -I$(srcdir)/xtensa/boards/esp32/include -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_93 = -I$(srcdir)/xtensa/boards/esp32/include -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_94 = xtensa/boards/esp32s3/memory.elf.ld -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_95 = xtensa/boards/esp32s3/board.c -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_96 = -I$(srcdir)/xtensa/boards/esp32s3/include -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_97 = -I$(srcdir)/xtensa/boards/esp32s3/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_93 = xtensa/boards/esp32/memory.elf.ld +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_94 = xtensa/boards/esp32/board.c +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_95 = -I$(srcdir)/xtensa/boards/esp32/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_96 = -I$(srcdir)/xtensa/boards/esp32/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_97 = xtensa/boards/esp32s3/memory.elf.ld +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_98 = xtensa/boards/esp32s3/board.c +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_99 = -I$(srcdir)/xtensa/boards/esp32s3/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_100 = -I$(srcdir)/xtensa/boards/esp32s3/include subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \ @@ -356,8 +364,8 @@ CONFIG_CLEAN_FILES = epiphany/Makefile m32r/Makefile m68hc11/Makefile \ mips/Makefile rs6000/Makefile cr16/Makefile cris/Makefile \ crx/Makefile fr30/Makefile ft32/Makefile mep/Makefile \ microblaze/Makefile mt/Makefile visium/Makefile xc16x/Makefile \ - m32c/Makefile rl78/Makefile spu/Makefile tic6x/Makefile \ - or1k/Makefile pru/Makefile sparc/libsys/Makefile + m32c/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 \ @@ -595,13 +603,15 @@ libobjs_a_LIBADD = @CONFIG_MSP430_TRUE@ msp430/crt0.$(OBJEXT) @CONFIG_NDS32_TRUE@am__objects_15 = nds32/crt0.$(OBJEXT) \ @CONFIG_NDS32_TRUE@ nds32/crt1.$(OBJEXT) -@CONFIG_RX_TRUE@am__objects_16 = rx/gcrt0.$(OBJEXT) rx/crt0.$(OBJEXT) \ +@CONFIG_RL78_TRUE@am__objects_16 = rl78/gcrt0.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/crt0.$(OBJEXT) rl78/crtn.$(OBJEXT) +@CONFIG_RX_TRUE@am__objects_17 = rx/gcrt0.$(OBJEXT) rx/crt0.$(OBJEXT) \ @CONFIG_RX_TRUE@ rx/crtn.$(OBJEXT) -@CONFIG_V850_TRUE@am__objects_17 = v850/crt0.$(OBJEXT) -@CONFIG_XSTORMY16_TRUE@am__objects_18 = xstormy16/crt0.$(OBJEXT) \ +@CONFIG_V850_TRUE@am__objects_18 = v850/crt0.$(OBJEXT) +@CONFIG_XSTORMY16_TRUE@am__objects_19 = xstormy16/crt0.$(OBJEXT) \ @CONFIG_XSTORMY16_TRUE@ xstormy16/crti.$(OBJEXT) \ @CONFIG_XSTORMY16_TRUE@ xstormy16/crtn.$(OBJEXT) -@CONFIG_XTENSA_TRUE@am__objects_19 = xtensa/crt0.$(OBJEXT) \ +@CONFIG_XTENSA_TRUE@am__objects_20 = 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) \ @@ -609,7 +619,8 @@ am_libobjs_a_OBJECTS = $(am__objects_3) $(am__objects_4) \ $(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_16) \ - $(am__objects_17) $(am__objects_18) $(am__objects_19) + $(am__objects_17) $(am__objects_18) $(am__objects_19) \ + $(am__objects_20) libobjs_a_OBJECTS = $(am_libobjs_a_OBJECTS) lm32_libgloss_a_AR = $(AR) $(ARFLAGS) lm32_libgloss_a_LIBADD = @@ -618,7 +629,7 @@ lm32_libgloss_a_LIBADD = lm32_libgloss_a_OBJECTS = $(am_lm32_libgloss_a_OBJECTS) mcore_libcmb_a_AR = $(AR) $(ARFLAGS) mcore_libcmb_a_LIBADD = -@CONFIG_MCORE_TRUE@am__objects_20 = mcore/fstat.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@am__objects_21 = 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) \ @@ -630,12 +641,12 @@ mcore_libcmb_a_LIBADD = @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_20) +@CONFIG_MCORE_TRUE@ $(am__objects_21) 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_20) +@CONFIG_MCORE_TRUE@ mcore/syscalls.$(OBJEXT) $(am__objects_21) mcore_libsim_a_OBJECTS = $(am_mcore_libsim_a_OBJECTS) mn10200_libeval_a_AR = $(AR) $(ARFLAGS) mn10200_libeval_a_LIBADD = @@ -662,7 +673,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_21 = mn10300/_exit.$(OBJEXT) \ +@CONFIG_MN10300_TRUE@am__objects_22 = mn10300/_exit.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/access.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/chmod.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/close.$(OBJEXT) \ @@ -681,12 +692,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_21) \ +@CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@am_mn10300_libcygmon_a_OBJECTS = $(am__objects_22) \ @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_21) \ +@CONFIG_MN10300_TRUE@am_mn10300_libeval_a_OBJECTS = $(am__objects_22) \ @CONFIG_MN10300_TRUE@ mn10300/trap.$(OBJEXT) mn10300_libeval_a_OBJECTS = $(am_mn10300_libeval_a_OBJECTS) moxie_libqemu_a_AR = $(AR) $(ARFLAGS) @@ -871,7 +882,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_22 = \ +@CONFIG_RISCV_TRUE@am__objects_23 = \ @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) \ @@ -904,8 +915,25 @@ 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_22) +@CONFIG_RISCV_TRUE@am_riscv_libsim_a_OBJECTS = $(am__objects_23) riscv_libsim_a_OBJECTS = $(am_riscv_libsim_a_OBJECTS) +rl78_libsim_a_AR = $(AR) $(ARFLAGS) +rl78_libsim_a_LIBADD = +@CONFIG_RL78_TRUE@am_rl78_libsim_a_OBJECTS = rl78/sbrk.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/exit.$(OBJEXT) rl78/open.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/close.$(OBJEXT) rl78/read.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/write.$(OBJEXT) rl78/swrite.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/lseek.$(OBJEXT) rl78/unlink.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/getpid.$(OBJEXT) rl78/kill.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/fstat.$(OBJEXT) rl78/argvlen.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/argv.$(OBJEXT) rl78/chdir.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/stat.$(OBJEXT) rl78/chmod.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/utime.$(OBJEXT) rl78/time.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/gettimeofday.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/times.$(OBJEXT) rl78/link.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/isatty.$(OBJEXT) rl78/abort.$(OBJEXT) \ +@CONFIG_RL78_TRUE@ rl78/mcount.$(OBJEXT) +rl78_libsim_a_OBJECTS = $(am_rl78_libsim_a_OBJECTS) rx_libsim_a_AR = $(AR) $(ARFLAGS) rx_libsim_a_LIBADD = @CONFIG_RX_TRUE@am_rx_libsim_a_OBJECTS = rx/sbrk.$(OBJEXT) \ @@ -964,13 +992,13 @@ xstormy16_libsim_a_LIBADD = xstormy16_libsim_a_OBJECTS = $(am_xstormy16_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_23 = xtensa/boards/esp32/xtensa_libgloss_a-board.$(OBJEXT) -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_24 = xtensa/boards/esp32s3/xtensa_libgloss_a-board.$(OBJEXT) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_24 = xtensa/boards/esp32/xtensa_libgloss_a-board.$(OBJEXT) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_25 = 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_23) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_24) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_24) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_25) xtensa_libgloss_a_OBJECTS = $(am_xtensa_libgloss_a_OBJECTS) xtensa_libsys_openocd_a_AR = $(AR) $(ARFLAGS) xtensa_libsys_openocd_a_LIBADD = @@ -1076,8 +1104,8 @@ SOURCES = $(aarch64_librdimon_a_SOURCES) $(arc_libnsim_a_SOURCES) \ $(msp430_libsim_a_SOURCES) $(nds32_libgloss_a_SOURCES) \ $(nios2_libnios2_a_SOURCES) $(riscv_libgloss_a_SOURCES) \ $(riscv_libsemihost_a_SOURCES) $(riscv_libsim_a_SOURCES) \ - $(rx_libsim_a_SOURCES) $(v850_libsim_a_SOURCES) \ - $(xstormy16_libeva_app_a_SOURCES) \ + $(rl78_libsim_a_SOURCES) $(rx_libsim_a_SOURCES) \ + $(v850_libsim_a_SOURCES) $(xstormy16_libeva_app_a_SOURCES) \ $(xstormy16_libsim_a_SOURCES) $(xtensa_libgloss_a_SOURCES) \ $(xtensa_libsys_openocd_a_SOURCES) \ $(xtensa_libsys_qemu_a_SOURCES) bfin/sim-test.c iq2000/test.c \ @@ -1169,7 +1197,7 @@ ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) -VPATH = @srcdir@ $(am__append_77) +VPATH = @srcdir@ $(am__append_80) AARCH64_OBJTYPE = @AARCH64_OBJTYPE@ ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ @@ -1187,7 +1215,7 @@ CCASFLAGS = @CCASFLAGS@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ $(am__append_84) +CPPFLAGS = @CPPFLAGS@ $(am__append_87) CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -1295,7 +1323,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I . -I .. -I ../config info_TEXINFOS = $(am__append_1) -CLEANFILES = $(am__append_4) $(am__append_10) $(am__append_83) +CLEANFILES = $(am__append_4) $(am__append_10) $(am__append_86) PHONY = SUBDIRS = @subdirs@ . srcroot = $(top_srcdir)/.. @@ -1310,9 +1338,9 @@ multilibtool_DATA = $(am__append_3) $(am__append_6) $(am__append_7) \ $(am__append_50) $(am__append_51) $(am__append_52) \ $(am__append_57) $(am__append_58) $(am__append_61) \ $(am__append_64) $(am__append_67) $(am__append_69) \ - $(am__append_71) $(am__append_74) $(am__append_79) \ - $(am__append_85) $(am__append_88) $(am__append_90) \ - $(am__append_94) + $(am__append_71) $(am__append_74) $(am__append_77) \ + $(am__append_82) $(am__append_88) $(am__append_91) \ + $(am__append_93) $(am__append_97) 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) \ @@ -1321,7 +1349,8 @@ multilibtool_LIBRARIES = $(am__append_2) $(am__append_5) \ $(am__append_54) $(am__append_55) $(am__append_60) \ $(am__append_63) $(am__append_66) $(am__append_68) \ $(am__append_70) $(am__append_73) $(am__append_76) \ - $(am__append_81) $(am__append_87) $(am__append_89) + $(am__append_79) $(am__append_84) $(am__append_90) \ + $(am__append_92) includetooldir = $(tooldir)/include includetool_DATA = $(am__append_16) includesystooldir = $(tooldir)/include/sys @@ -1342,7 +1371,7 @@ libobjs_a_SOURCES = $(am__append_14) $(am__append_19) $(am__append_24) \ $(am__append_40) $(am__append_44) $(am__append_47) \ $(am__append_53) $(am__append_59) $(am__append_62) \ $(am__append_65) $(am__append_72) $(am__append_75) \ - $(am__append_80) $(am__append_86) + $(am__append_78) $(am__append_83) $(am__append_89) FLAGS_TO_PASS = \ "CC=$(CC)" \ "CFLAGS=$(CFLAGS)" \ @@ -1821,6 +1850,33 @@ TEXINFO_TEX = ../texinfo/texinfo.tex @CONFIG_RISCV_TRUE@includemachinetooldir = $(tooldir)/include/machine @CONFIG_RISCV_TRUE@includemachinetool_DATA = riscv/machine/syscall.h +@CONFIG_RL78_TRUE@rl78_libsim_a_SOURCES = \ +@CONFIG_RL78_TRUE@ rl78/sbrk.c \ +@CONFIG_RL78_TRUE@ rl78/exit.S \ +@CONFIG_RL78_TRUE@ rl78/open.S \ +@CONFIG_RL78_TRUE@ rl78/close.S \ +@CONFIG_RL78_TRUE@ rl78/read.S \ +@CONFIG_RL78_TRUE@ rl78/write.c \ +@CONFIG_RL78_TRUE@ rl78/swrite.S \ +@CONFIG_RL78_TRUE@ rl78/lseek.S \ +@CONFIG_RL78_TRUE@ rl78/unlink.S \ +@CONFIG_RL78_TRUE@ rl78/getpid.S \ +@CONFIG_RL78_TRUE@ rl78/kill.S \ +@CONFIG_RL78_TRUE@ rl78/fstat.S \ +@CONFIG_RL78_TRUE@ rl78/argvlen.S \ +@CONFIG_RL78_TRUE@ rl78/argv.S \ +@CONFIG_RL78_TRUE@ rl78/chdir.S \ +@CONFIG_RL78_TRUE@ rl78/stat.S \ +@CONFIG_RL78_TRUE@ rl78/chmod.S \ +@CONFIG_RL78_TRUE@ rl78/utime.S \ +@CONFIG_RL78_TRUE@ rl78/time.S \ +@CONFIG_RL78_TRUE@ rl78/gettimeofday.S \ +@CONFIG_RL78_TRUE@ rl78/times.S \ +@CONFIG_RL78_TRUE@ rl78/link.S \ +@CONFIG_RL78_TRUE@ rl78/isatty.S \ +@CONFIG_RL78_TRUE@ rl78/abort.S \ +@CONFIG_RL78_TRUE@ rl78/mcount.c + @CONFIG_RX_TRUE@rx_libsim_a_SOURCES = \ @CONFIG_RX_TRUE@ rx/sbrk.c \ @CONFIG_RX_TRUE@ rx/heaptop.S \ @@ -1913,19 +1969,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_91) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_95) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_94) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_98) @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_92) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_96) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_95) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_99) @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_93) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_97) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_96) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_100) @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@xtensa_libsys_openocd_a_SOURCES = \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/syscalls.c @@ -1938,7 +1994,7 @@ all: config.h .SUFFIXES: .S .c .dvi .o .obj .ps .s 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)/mcore/Makefile.inc $(srcdir)/mn10200/Makefile.inc $(srcdir)/mn10300/Makefile.inc $(srcdir)/moxie/Makefile.inc $(srcdir)/msp430/Makefile.inc $(srcdir)/nds32/Makefile.inc $(srcdir)/nios2/Makefile.inc $(srcdir)/riscv/Makefile.inc $(srcdir)/rx/Makefile.inc $(srcdir)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xstormy16/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)/nds32/Makefile.inc $(srcdir)/nios2/Makefile.inc $(srcdir)/riscv/Makefile.inc $(srcdir)/rl78/Makefile.inc $(srcdir)/rx/Makefile.inc $(srcdir)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xstormy16/Makefile.inc $(srcdir)/xtensa/Makefile.inc $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -1960,7 +2016,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)/mcore/Makefile.inc $(srcdir)/mn10200/Makefile.inc $(srcdir)/mn10300/Makefile.inc $(srcdir)/moxie/Makefile.inc $(srcdir)/msp430/Makefile.inc $(srcdir)/nds32/Makefile.inc $(srcdir)/nios2/Makefile.inc $(srcdir)/riscv/Makefile.inc $(srcdir)/rx/Makefile.inc $(srcdir)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xstormy16/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)/nds32/Makefile.inc $(srcdir)/nios2/Makefile.inc $(srcdir)/riscv/Makefile.inc $(srcdir)/rl78/Makefile.inc $(srcdir)/rx/Makefile.inc $(srcdir)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xstormy16/Makefile.inc $(srcdir)/xtensa/Makefile.inc $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck @@ -2025,8 +2081,6 @@ xc16x/Makefile: $(top_builddir)/config.status $(top_srcdir)/xc16x/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ m32c/Makefile: $(top_builddir)/config.status $(top_srcdir)/m32c/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ -rl78/Makefile: $(top_builddir)/config.status $(top_srcdir)/rl78/Makefile.in - cd $(top_builddir) && $(SHELL) ./config.status $@ spu/Makefile: $(top_builddir)/config.status $(top_srcdir)/spu/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ tic6x/Makefile: $(top_builddir)/config.status $(top_srcdir)/tic6x/Makefile.in @@ -2533,6 +2587,18 @@ nds32/crt0.$(OBJEXT): nds32/$(am__dirstamp) \ nds32/$(DEPDIR)/$(am__dirstamp) nds32/crt1.$(OBJEXT): nds32/$(am__dirstamp) \ nds32/$(DEPDIR)/$(am__dirstamp) +rl78/$(am__dirstamp): + @$(MKDIR_P) rl78 + @: > rl78/$(am__dirstamp) +rl78/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) rl78/$(DEPDIR) + @: > rl78/$(DEPDIR)/$(am__dirstamp) +rl78/gcrt0.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/crt0.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/crtn.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) rx/$(am__dirstamp): @$(MKDIR_P) rx @: > rx/$(am__dirstamp) @@ -3129,6 +3195,61 @@ riscv/libsim.a: $(riscv_libsim_a_OBJECTS) $(riscv_libsim_a_DEPENDENCIES) $(EXTRA $(AM_V_at)-rm -f riscv/libsim.a $(AM_V_AR)$(riscv_libsim_a_AR) riscv/libsim.a $(riscv_libsim_a_OBJECTS) $(riscv_libsim_a_LIBADD) $(AM_V_at)$(RANLIB) riscv/libsim.a +rl78/sbrk.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/exit.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/open.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/close.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/read.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/write.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/swrite.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/lseek.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/unlink.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/getpid.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/kill.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/fstat.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/argvlen.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/argv.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/chdir.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/stat.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/chmod.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/utime.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/time.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/gettimeofday.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/times.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/link.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/isatty.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/abort.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) +rl78/mcount.$(OBJEXT): rl78/$(am__dirstamp) \ + rl78/$(DEPDIR)/$(am__dirstamp) + +rl78/libsim.a: $(rl78_libsim_a_OBJECTS) $(rl78_libsim_a_DEPENDENCIES) $(EXTRA_rl78_libsim_a_DEPENDENCIES) rl78/$(am__dirstamp) + $(AM_V_at)-rm -f rl78/libsim.a + $(AM_V_AR)$(rl78_libsim_a_AR) rl78/libsim.a $(rl78_libsim_a_OBJECTS) $(rl78_libsim_a_LIBADD) + $(AM_V_at)$(RANLIB) rl78/libsim.a rx/sbrk.$(OBJEXT): rx/$(am__dirstamp) rx/$(DEPDIR)/$(am__dirstamp) rx/heaptop.$(OBJEXT): rx/$(am__dirstamp) rx/$(DEPDIR)/$(am__dirstamp) rx/exit.$(OBJEXT): rx/$(am__dirstamp) rx/$(DEPDIR)/$(am__dirstamp) @@ -3456,6 +3577,7 @@ mostlyclean-compile: -rm -f nds32/*.$(OBJEXT) -rm -f nios2/*.$(OBJEXT) -rm -f riscv/*.$(OBJEXT) + -rm -f rl78/*.$(OBJEXT) -rm -f rx/*.$(OBJEXT) -rm -f v850/*.$(OBJEXT) -rm -f xstormy16/*.$(OBJEXT) @@ -3849,6 +3971,34 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@riscv/$(DEPDIR)/riscv_libsim_a-sys_utime.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@riscv/$(DEPDIR)/riscv_libsim_a-sys_wait.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@riscv/$(DEPDIR)/riscv_libsim_a-sys_write.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/abort.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/argv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/argvlen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/chdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/chmod.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/close.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/crt0.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/crtn.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/exit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/fstat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/gcrt0.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/getpid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/gettimeofday.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/isatty.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/kill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/link.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/lseek.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/mcount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/open.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/read.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/sbrk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/stat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/swrite.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/time.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/times.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/unlink.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/utime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rl78/$(DEPDIR)/write.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@rx/$(DEPDIR)/abort.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@rx/$(DEPDIR)/argv.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@rx/$(DEPDIR)/argvlen.Po@am__quote@ @@ -6731,6 +6881,8 @@ distclean-generic: -rm -f nios2/$(am__dirstamp) -rm -f riscv/$(DEPDIR)/$(am__dirstamp) -rm -f riscv/$(am__dirstamp) + -rm -f rl78/$(DEPDIR)/$(am__dirstamp) + -rm -f rl78/$(am__dirstamp) -rm -f rx/$(DEPDIR)/$(am__dirstamp) -rm -f rx/$(am__dirstamp) -rm -f v850/$(DEPDIR)/$(am__dirstamp) @@ -6758,7 +6910,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) mcore/$(DEPDIR) mn10200/$(DEPDIR) mn10300/$(DEPDIR) moxie/$(DEPDIR) msp430/$(DEPDIR) nds32/$(DEPDIR) nios2/$(DEPDIR) riscv/$(DEPDIR) rx/$(DEPDIR) v850/$(DEPDIR) xstormy16/$(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) nds32/$(DEPDIR) nios2/$(DEPDIR) riscv/$(DEPDIR) rl78/$(DEPDIR) rx/$(DEPDIR) v850/$(DEPDIR) xstormy16/$(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 @@ -6901,7 +7053,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) mcore/$(DEPDIR) mn10200/$(DEPDIR) mn10300/$(DEPDIR) moxie/$(DEPDIR) msp430/$(DEPDIR) nds32/$(DEPDIR) nios2/$(DEPDIR) riscv/$(DEPDIR) rx/$(DEPDIR) v850/$(DEPDIR) xstormy16/$(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) nds32/$(DEPDIR) nios2/$(DEPDIR) riscv/$(DEPDIR) rl78/$(DEPDIR) rx/$(DEPDIR) v850/$(DEPDIR) xstormy16/$(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 diff --git a/libgloss/configure b/libgloss/configure index 3838b12..245558e 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -654,6 +654,8 @@ CONFIG_V850_FALSE CONFIG_V850_TRUE CONFIG_RX_FALSE CONFIG_RX_TRUE +CONFIG_RL78_FALSE +CONFIG_RL78_TRUE CONFIG_RISCV_FALSE CONFIG_RISCV_TRUE CONFIG_NIOS2_FALSE @@ -2957,9 +2959,7 @@ case "${target}" in config_libnosys=false ;; rl78*-*-elf) - ac_config_files="$ac_config_files rl78/Makefile" - - subdirs="$subdirs rl78" + config_rl78=true ;; rx*-*-elf) config_rx=true @@ -3160,6 +3160,14 @@ else CONFIG_RISCV_FALSE= fi + if test x$config_rl78 = xtrue; then + CONFIG_RL78_TRUE= + CONFIG_RL78_FALSE='#' +else + CONFIG_RL78_TRUE='#' + CONFIG_RL78_FALSE= +fi + if test x$config_rx = xtrue; then CONFIG_RX_TRUE= CONFIG_RX_FALSE='#' @@ -5747,6 +5755,10 @@ if test -z "${CONFIG_RISCV_TRUE}" && test -z "${CONFIG_RISCV_FALSE}"; then as_fn_error $? "conditional \"CONFIG_RISCV\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${CONFIG_RL78_TRUE}" && test -z "${CONFIG_RL78_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_RL78\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${CONFIG_RX_TRUE}" && test -z "${CONFIG_RX_FALSE}"; then as_fn_error $? "conditional \"CONFIG_RX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -6435,7 +6447,6 @@ do "visium/Makefile") CONFIG_FILES="$CONFIG_FILES visium/Makefile" ;; "xc16x/Makefile") CONFIG_FILES="$CONFIG_FILES xc16x/Makefile" ;; "m32c/Makefile") CONFIG_FILES="$CONFIG_FILES m32c/Makefile" ;; - "rl78/Makefile") CONFIG_FILES="$CONFIG_FILES rl78/Makefile" ;; "spu/Makefile") CONFIG_FILES="$CONFIG_FILES spu/Makefile" ;; "tic6x/Makefile") CONFIG_FILES="$CONFIG_FILES tic6x/Makefile" ;; "or1k/Makefile") CONFIG_FILES="$CONFIG_FILES or1k/Makefile" ;; diff --git a/libgloss/configure.ac b/libgloss/configure.ac index 39b516a..0b2cb8d 100644 --- a/libgloss/configure.ac +++ b/libgloss/configure.ac @@ -195,8 +195,7 @@ case "${target}" in config_libnosys=false ;; rl78*-*-elf) - AC_CONFIG_FILES([rl78/Makefile]) - subdirs="$subdirs rl78" + config_rl78=true ;; rx*-*-elf) config_rx=true @@ -238,7 +237,7 @@ dnl the ports above will too! m4_foreach_w([SUBDIR], [ aarch64 arc arm bfin csky d30v frv i386 i960 iq2000 libnosys lm32 mcore mn10200 mn10300 moxie msp430 - nds32 nios2 riscv rx v850 wince xstormy16 xtensa + nds32 nios2 riscv rl78 rx v850 wince xstormy16 xtensa ], [dnl AM_CONDITIONAL([CONFIG_]m4_toupper(SUBDIR), [test x$config_]SUBDIR = xtrue) ]) diff --git a/libgloss/rl78/Makefile.in b/libgloss/rl78/Makefile.in deleted file mode 100644 index eb220f6..0000000 --- a/libgloss/rl78/Makefile.in +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright (c) 2008, 2009, 2011 Red Hat Inc -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. - -# Makefile for libgloss/rl78. - -VPATH = @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) - -# Multilib support variables. -# TOP is used instead of MULTI{BUILD,SRC}TOP. -MULTIDIRS = -MULTISUBDIR = -MULTIDO = true -MULTICLEAN = true - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ - -SHELL = /bin/sh - -mkinstalldirs = $(SHELL) $(srcroot)/mkinstalldirs - -CC = @CC@ - -AS = @AS@ -AR = @AR@ -LD = @LD@ -RANLIB = @RANLIB@ -AR_FLAGS = rc - -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` - -SCRIPTS = $(srcdir)/rl78.ld $(srcdir)/rl78-sim.ld -CRT = gcrt0.o crt0.o crtn.o -SIM_BSP = libsim.a -LIBNOSYS = ../libnosys/libnosys.a -SIM_OBJS = \ - sbrk.o \ - exit.o \ - open.o \ - close.o \ - read.o \ - write.o \ - swrite.o \ - lseek.o \ - unlink.o \ - getpid.o \ - kill.o \ - fstat.o \ - argvlen.o \ - argv.o \ - chdir.o \ - stat.o \ - chmod.o \ - utime.o \ - time.o \ - gettimeofday.o \ - times.o \ - link.o \ - isatty.o \ - abort.o \ - mcount.o - -#### Host specific Makefile fragment comes in here. -@host_makefile_frag@ - - -# Override .S.o rule to pass assembler debugging flags -.S.o: - $(CC) -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $< - -all: $(CRT) $(SIM_BSP) copy_scripts_to_objdir - -$(SIM_BSP): $(SIM_OBJS) - $(AR) $(ARFLAGS) $@ $? - $(RANLIB) $@ - -copy_scripts_to_objdir: $(SCRIPTS) - cp $(SCRIPTS) $(objdir) - -# Dependencies - -SDEPS = $(srcdir)/rl78-sys.h $(srcdir)/../syscall.h - -abort.o : $(SDEPS) -argv.o : $(SDEPS) -argvlen.o : $(SDEPS) -chdir.o : $(SDEPS) -chmod.o : $(SDEPS) -close.o : $(SDEPS) -exit.o : $(SDEPS) -fstat.o : $(SDEPS) -getpid.o : $(SDEPS) -gettimeofday.o : $(SDEPS) -gcrt0.o: gcrt0.S crt0.S -kill.o : $(SDEPS) -link.o : $(SDEPS) -lseek.o : $(SDEPS) -mcount.o : $(SDEPS) -open.o : $(SDEPS) -read.o : $(SDEPS) -sigprocmask.o : $(SDEPS) -sleep.o : $(SDEPS) -stat.o : $(SDEPS) -time.o : $(SDEPS) -times.o : $(SDEPS) -unlink.o : $(SDEPS) -utime.o : $(SDEPS) -write.o : $(SDEPS) - -install: $(CRT) $(SIM_BSP) $(SCRIPTS) - ${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR} - for c in $(CRT) $(SIM_BSP); do \ - $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\ - done - for c in $(SCRIPTS); do \ - b=`basename $$c`; \ - $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$b ;\ - done - -clean mostlyclean: - rm -f *.o *.a - -distclean maintainer-clean realclean: clean - rm -f Makefile - -.PHONY: info dvi doc install-info clean-info -info doc dvi: -install-info: -clean-info: - -Makefile: Makefile.in ../config.status - cd .. && $(SHELL) config.status diff --git a/libgloss/rl78/Makefile.inc b/libgloss/rl78/Makefile.inc new file mode 100644 index 0000000..44210f1 --- /dev/null +++ b/libgloss/rl78/Makefile.inc @@ -0,0 +1,52 @@ +## Copyright (c) 2008, 2009, 2011 Red Hat Inc +## +## The authors hereby grant permission to use, copy, modify, distribute, +## and license this software and its documentation for any purpose, provided +## that existing copyright notices are retained in all copies and that this +## notice is included verbatim in any distributions. No written agreement, +## license, or royalty fee is required for any of the authorized uses. +## Modifications to this software may be copyrighted by their authors +## and need not follow the licensing terms described here, provided that +## the new terms are clearly indicated on the first page of each file where +## they apply. + +multilibtool_DATA += \ + %D%/rl78.ld \ + %D%/rl78-sim.ld + +multilibtool_DATA += \ + %D%/gcrt0.o \ + %D%/crt0.o \ + %D%/crtn.o +libobjs_a_SOURCES += \ + %D%/gcrt0.S \ + %D%/crt0.S \ + %D%/crtn.S + +multilibtool_LIBRARIES += %D%/libsim.a +%C%_libsim_a_SOURCES = \ + %D%/sbrk.c \ + %D%/exit.S \ + %D%/open.S \ + %D%/close.S \ + %D%/read.S \ + %D%/write.c \ + %D%/swrite.S \ + %D%/lseek.S \ + %D%/unlink.S \ + %D%/getpid.S \ + %D%/kill.S \ + %D%/fstat.S \ + %D%/argvlen.S \ + %D%/argv.S \ + %D%/chdir.S \ + %D%/stat.S \ + %D%/chmod.S \ + %D%/utime.S \ + %D%/time.S \ + %D%/gettimeofday.S \ + %D%/times.S \ + %D%/link.S \ + %D%/isatty.S \ + %D%/abort.S \ + %D%/mcount.c |