diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-26 23:59:00 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-19 20:26:52 -0500 |
commit | 695404d16f90e82a9ce2f68d89fa81b419285a89 (patch) | |
tree | e1e0dea1f98d33f945edb1dc30d60119aa1d8de5 | |
parent | f4c8e1623bbc3045c8639dd7da16960efeb90fda (diff) | |
download | newlib-695404d16f90e82a9ce2f68d89fa81b419285a89.zip newlib-695404d16f90e82a9ce2f68d89fa81b419285a89.tar.gz newlib-695404d16f90e82a9ce2f68d89fa81b419285a89.tar.bz2 |
libgloss: merge nds32 into top-level Makefile
Avoid a recursive make to speed things up a bit.
A nds32le-elf build shows installed objects & libs produce same code.
-rw-r--r-- | libgloss/Makefile.am | 3 | ||||
-rw-r--r-- | libgloss/Makefile.in | 299 | ||||
-rwxr-xr-x | libgloss/configure | 19 | ||||
-rw-r--r-- | libgloss/configure.ac | 5 | ||||
-rw-r--r-- | libgloss/nds32/Makefile.in | 143 | ||||
-rw-r--r-- | libgloss/nds32/Makefile.inc | 50 |
6 files changed, 300 insertions, 219 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am index 03797b3..0029e66 100644 --- a/libgloss/Makefile.am +++ b/libgloss/Makefile.am @@ -130,6 +130,9 @@ endif if CONFIG_MSP430 include msp430/Makefile.inc endif +if CONFIG_NDS32 +include nds32/Makefile.inc +endif if CONFIG_NIOS2 include nios2/Makefile.inc endif diff --git a/libgloss/Makefile.in b/libgloss/Makefile.in index d4657c8..3f26735 100644 --- a/libgloss/Makefile.in +++ b/libgloss/Makefile.in @@ -246,25 +246,34 @@ check_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \ @CONFIG_MSP430_TRUE@am__append_63 = msp430/libsim.a msp430/libnosys.a \ @CONFIG_MSP430_TRUE@ msp430/libcrt.a -@CONFIG_NIOS2_TRUE@am__append_64 = \ +@CONFIG_NDS32_TRUE@am__append_64 = \ +@CONFIG_NDS32_TRUE@ nds32/crt0.o \ +@CONFIG_NDS32_TRUE@ nds32/crt1.o + +@CONFIG_NDS32_TRUE@am__append_65 = \ +@CONFIG_NDS32_TRUE@ nds32/crt0.S \ +@CONFIG_NDS32_TRUE@ nds32/crt1.S + +@CONFIG_NDS32_TRUE@am__append_66 = nds32/libgloss.a +@CONFIG_NIOS2_TRUE@am__append_67 = \ @CONFIG_NIOS2_TRUE@ nios2/qemu-hosted.ld -@CONFIG_NIOS2_TRUE@am__append_65 = nios2/libnios2.a -@CONFIG_RISCV_TRUE@am__append_66 = \ +@CONFIG_NIOS2_TRUE@am__append_68 = nios2/libnios2.a +@CONFIG_RISCV_TRUE@am__append_69 = \ @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_67 = riscv/libgloss.a riscv/libsim.a \ +@CONFIG_RISCV_TRUE@am__append_70 = riscv/libgloss.a riscv/libsim.a \ @CONFIG_RISCV_TRUE@ riscv/libsemihost.a -@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_V850_TRUE@am__append_71 = v850/crt0.o +@CONFIG_V850_TRUE@am__append_72 = v850/crt0.S +@CONFIG_V850_TRUE@am__append_73 = v850/libsim.a +@CONFIG_WINCE_TRUE@am__append_74 = $(gdbdir) +@CONFIG_WINCE_TRUE@am__append_75 = wince/stub.exe +@CONFIG_XTENSA_TRUE@am__append_76 = -D_LIBGLOSS -I$(srcdir)/xtensa/include +@CONFIG_XTENSA_TRUE@am__append_77 = \ @CONFIG_XTENSA_TRUE@ xtensa/default.specs \ @CONFIG_XTENSA_TRUE@ xtensa/nano.specs \ @CONFIG_XTENSA_TRUE@ xtensa/sim.elf.specs \ @@ -273,27 +282,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_75 = \ +@CONFIG_XTENSA_TRUE@am__append_78 = \ @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_76 = xtensa/libgloss.a -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_77 = \ +@CONFIG_XTENSA_TRUE@am__append_79 = xtensa/libgloss.a +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_80 = \ @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_78 = xtensa/libsys_qemu.a \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_81 = 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_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 +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_82 = xtensa/boards/esp32/memory.elf.ld +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_83 = xtensa/boards/esp32/board.c +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_84 = -I$(srcdir)/xtensa/boards/esp32/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_85 = -I$(srcdir)/xtensa/boards/esp32/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_86 = xtensa/boards/esp32s3/memory.elf.ld +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_87 = xtensa/boards/esp32s3/board.c +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_88 = -I$(srcdir)/xtensa/boards/esp32s3/include +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__append_89 = -I$(srcdir)/xtensa/boards/esp32s3/include subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \ @@ -319,13 +328,13 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs CONFIG_HEADER = config.h 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 \ - 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 + m68k/Makefile pa/Makefile sparc_leon/Makefile sparc/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 \ + 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 \ @@ -561,15 +570,18 @@ libobjs_a_LIBADD = @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_15 = v850/crt0.$(OBJEXT) -@CONFIG_XTENSA_TRUE@am__objects_16 = xtensa/crt0.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@am__objects_15 = nds32/crt0.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/crt1.$(OBJEXT) +@CONFIG_V850_TRUE@am__objects_16 = v850/crt0.$(OBJEXT) +@CONFIG_XTENSA_TRUE@am__objects_17 = 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_16) + $(am__objects_14) $(am__objects_15) $(am__objects_16) \ + $(am__objects_17) libobjs_a_OBJECTS = $(am_libobjs_a_OBJECTS) lm32_libgloss_a_AR = $(AR) $(ARFLAGS) lm32_libgloss_a_LIBADD = @@ -578,7 +590,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_17 = mcore/fstat.$(OBJEXT) \ +@CONFIG_MCORE_TRUE@am__objects_18 = 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) \ @@ -590,12 +602,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_17) +@CONFIG_MCORE_TRUE@ $(am__objects_18) 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) +@CONFIG_MCORE_TRUE@ mcore/syscalls.$(OBJEXT) $(am__objects_18) mcore_libsim_a_OBJECTS = $(am_mcore_libsim_a_OBJECTS) mn10200_libeval_a_AR = $(AR) $(ARFLAGS) mn10200_libeval_a_LIBADD = @@ -622,7 +634,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_18 = mn10300/_exit.$(OBJEXT) \ +@CONFIG_MN10300_TRUE@am__objects_19 = mn10300/_exit.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/access.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/chmod.$(OBJEXT) \ @CONFIG_MN10300_TRUE@ mn10300/close.$(OBJEXT) \ @@ -641,12 +653,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_18) \ +@CONFIG_MN10300_TRUE@@MN10300_BUILD_LIBCYGMON_TRUE@am_mn10300_libcygmon_a_OBJECTS = $(am__objects_19) \ @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_18) \ +@CONFIG_MN10300_TRUE@am_mn10300_libeval_a_OBJECTS = $(am__objects_19) \ @CONFIG_MN10300_TRUE@ mn10300/trap.$(OBJEXT) mn10300_libeval_a_OBJECTS = $(am_mn10300_libeval_a_OBJECTS) moxie_libqemu_a_AR = $(AR) $(ARFLAGS) @@ -713,6 +725,34 @@ msp430_libsim_a_LIBADD = @CONFIG_MSP430_TRUE@ msp430/unlink.$(OBJEXT) \ @CONFIG_MSP430_TRUE@ msp430/sbrk.$(OBJEXT) msp430_libsim_a_OBJECTS = $(am_msp430_libsim_a_OBJECTS) +nds32_libgloss_a_AR = $(AR) $(ARFLAGS) +nds32_libgloss_a_LIBADD = +@CONFIG_NDS32_TRUE@am_nds32_libgloss_a_OBJECTS = \ +@CONFIG_NDS32_TRUE@ nds32/_exit.$(OBJEXT) nds32/_open.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_close.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_read.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_write.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_lseek.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_unlink.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_getpid.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_kill.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_fstat.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_argvlen.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_argv.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_chdir.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_stat.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_chmod.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_utime.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_time.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_gettimeofday.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_times.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_link.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_rename.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_isatty.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_system.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/_sbrk.$(OBJEXT) \ +@CONFIG_NDS32_TRUE@ nds32/syscall_error_handler.$(OBJEXT) +nds32_libgloss_a_OBJECTS = $(am_nds32_libgloss_a_OBJECTS) nios2_libnios2_a_AR = $(AR) $(ARFLAGS) nios2_libnios2_a_LIBADD = @CONFIG_NIOS2_TRUE@am_nios2_libnios2_a_OBJECTS = \ @@ -803,7 +843,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_19 = \ +@CONFIG_RISCV_TRUE@am__objects_20 = \ @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) \ @@ -836,7 +876,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_19) +@CONFIG_RISCV_TRUE@am_riscv_libsim_a_OBJECTS = $(am__objects_20) riscv_libsim_a_OBJECTS = $(am_riscv_libsim_a_OBJECTS) v850_libsim_a_AR = $(AR) $(ARFLAGS) v850_libsim_a_LIBADD = @@ -858,13 +898,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_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_ESP32_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_21 = xtensa/boards/esp32/xtensa_libgloss_a-board.$(OBJEXT) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP32S3_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@am__objects_22 = 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_20) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_21) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_21) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__objects_22) xtensa_libgloss_a_OBJECTS = $(am_xtensa_libgloss_a_OBJECTS) xtensa_libsys_openocd_a_AR = $(AR) $(ARFLAGS) xtensa_libsys_openocd_a_LIBADD = @@ -954,10 +994,10 @@ SOURCES = $(aarch64_librdimon_a_SOURCES) $(arc_libnsim_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) \ - $(msp430_libsim_a_SOURCES) $(nios2_libnios2_a_SOURCES) \ - $(riscv_libgloss_a_SOURCES) $(riscv_libsemihost_a_SOURCES) \ - $(riscv_libsim_a_SOURCES) $(v850_libsim_a_SOURCES) \ - $(xtensa_libgloss_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) \ + $(v850_libsim_a_SOURCES) $(xtensa_libgloss_a_SOURCES) \ $(xtensa_libsys_openocd_a_SOURCES) \ $(xtensa_libsys_qemu_a_SOURCES) bfin/sim-test.c iq2000/test.c \ mn10200/test.c mn10300/test.c $(wince_stub_exe_SOURCES) @@ -1047,7 +1087,7 @@ ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) -VPATH = @srcdir@ $(am__append_71) +VPATH = @srcdir@ $(am__append_74) AARCH64_OBJTYPE = @AARCH64_OBJTYPE@ ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ @@ -1065,7 +1105,7 @@ CCASFLAGS = @CCASFLAGS@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ $(am__append_73) +CPPFLAGS = @CPPFLAGS@ $(am__append_76) CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -1187,17 +1227,18 @@ multilibtool_DATA = $(am__append_3) $(am__append_6) $(am__append_7) \ $(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) + $(am__append_64) $(am__append_67) $(am__append_69) \ + $(am__append_71) $(am__append_77) $(am__append_80) \ + $(am__append_82) $(am__append_86) 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_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) + $(am__append_63) $(am__append_66) $(am__append_68) \ + $(am__append_70) $(am__append_73) $(am__append_79) \ + $(am__append_81) includetooldir = $(tooldir)/include includetool_DATA = $(am__append_16) includesystooldir = $(tooldir)/include/sys @@ -1217,7 +1258,7 @@ 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_44) $(am__append_47) \ $(am__append_53) $(am__append_59) $(am__append_62) \ - $(am__append_69) $(am__append_75) + $(am__append_65) $(am__append_72) $(am__append_78) FLAGS_TO_PASS = \ "CC=$(CC)" \ "CFLAGS=$(CFLAGS)" \ @@ -1575,6 +1616,33 @@ TEXINFO_TEX = ../texinfo/texinfo.tex @CONFIG_MSP430_TRUE@ msp430/crt_run_fini_array.S \ @CONFIG_MSP430_TRUE@ msp430/crt_run_array.S +@CONFIG_NDS32_TRUE@nds32_libgloss_a_SOURCES = \ +@CONFIG_NDS32_TRUE@ nds32/_exit.S \ +@CONFIG_NDS32_TRUE@ nds32/_open.S \ +@CONFIG_NDS32_TRUE@ nds32/_close.S \ +@CONFIG_NDS32_TRUE@ nds32/_read.S \ +@CONFIG_NDS32_TRUE@ nds32/_write.S \ +@CONFIG_NDS32_TRUE@ nds32/_lseek.S \ +@CONFIG_NDS32_TRUE@ nds32/_unlink.S \ +@CONFIG_NDS32_TRUE@ nds32/_getpid.S \ +@CONFIG_NDS32_TRUE@ nds32/_kill.S \ +@CONFIG_NDS32_TRUE@ nds32/_fstat.S \ +@CONFIG_NDS32_TRUE@ nds32/_argvlen.S \ +@CONFIG_NDS32_TRUE@ nds32/_argv.S \ +@CONFIG_NDS32_TRUE@ nds32/_chdir.S \ +@CONFIG_NDS32_TRUE@ nds32/_stat.S \ +@CONFIG_NDS32_TRUE@ nds32/_chmod.S \ +@CONFIG_NDS32_TRUE@ nds32/_utime.S \ +@CONFIG_NDS32_TRUE@ nds32/_time.S \ +@CONFIG_NDS32_TRUE@ nds32/_gettimeofday.S \ +@CONFIG_NDS32_TRUE@ nds32/_times.S \ +@CONFIG_NDS32_TRUE@ nds32/_link.S \ +@CONFIG_NDS32_TRUE@ nds32/_rename.S \ +@CONFIG_NDS32_TRUE@ nds32/_isatty.S \ +@CONFIG_NDS32_TRUE@ nds32/_system.S \ +@CONFIG_NDS32_TRUE@ nds32/_sbrk.S \ +@CONFIG_NDS32_TRUE@ nds32/syscall_error_handler.S + @CONFIG_NIOS2_TRUE@nios2_libnios2_a_SOURCES = \ @CONFIG_NIOS2_TRUE@ nios2/crt0.S \ @CONFIG_NIOS2_TRUE@ nios2/io-close.c \ @@ -1707,19 +1775,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_80) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_84) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_83) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_87) @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_81) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_85) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_84) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_88) @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_82) \ -@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_86) +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_85) \ +@CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ $(am__append_89) @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@xtensa_libsys_openocd_a_SOURCES = \ @CONFIG_XTENSA_TRUE@@HAVE_XTENSA_BOARD_ESP_TRUE@ xtensa/syscalls.c @@ -1732,7 +1800,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)/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) +$(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)/v850/Makefile.inc $(srcdir)/wince/Makefile.inc $(srcdir)/xtensa/Makefile.inc $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -1754,7 +1822,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)/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)/nds32/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 @@ -1785,8 +1853,6 @@ m32r/Makefile: $(top_builddir)/config.status $(top_srcdir)/m32r/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ m68hc11/Makefile: $(top_builddir)/config.status $(top_srcdir)/m68hc11/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ -nds32/Makefile: $(top_builddir)/config.status $(top_srcdir)/nds32/Makefile.in - cd $(top_builddir) && $(SHELL) ./config.status $@ m68k/Makefile: $(top_builddir)/config.status $(top_srcdir)/m68k/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ pa/Makefile: $(top_builddir)/config.status $(top_srcdir)/pa/Makefile.in @@ -2323,6 +2389,16 @@ msp430/gcrt0.$(OBJEXT): msp430/$(am__dirstamp) \ msp430/$(DEPDIR)/$(am__dirstamp) msp430/crt0.$(OBJEXT): msp430/$(am__dirstamp) \ msp430/$(DEPDIR)/$(am__dirstamp) +nds32/$(am__dirstamp): + @$(MKDIR_P) nds32 + @: > nds32/$(am__dirstamp) +nds32/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) nds32/$(DEPDIR) + @: > nds32/$(DEPDIR)/$(am__dirstamp) +nds32/crt0.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/crt1.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) v850/$(am__dirstamp): @$(MKDIR_P) v850 @: > v850/$(am__dirstamp) @@ -2591,6 +2667,61 @@ msp430/libsim.a: $(msp430_libsim_a_OBJECTS) $(msp430_libsim_a_DEPENDENCIES) $(EX $(AM_V_at)-rm -f msp430/libsim.a $(AM_V_AR)$(msp430_libsim_a_AR) msp430/libsim.a $(msp430_libsim_a_OBJECTS) $(msp430_libsim_a_LIBADD) $(AM_V_at)$(RANLIB) msp430/libsim.a +nds32/_exit.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_open.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_close.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_read.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_write.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_lseek.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_unlink.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_getpid.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_kill.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_fstat.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_argvlen.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_argv.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_chdir.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_stat.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_chmod.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_utime.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_time.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_gettimeofday.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_times.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_link.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_rename.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_isatty.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_system.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/_sbrk.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) +nds32/syscall_error_handler.$(OBJEXT): nds32/$(am__dirstamp) \ + nds32/$(DEPDIR)/$(am__dirstamp) + +nds32/libgloss.a: $(nds32_libgloss_a_OBJECTS) $(nds32_libgloss_a_DEPENDENCIES) $(EXTRA_nds32_libgloss_a_DEPENDENCIES) nds32/$(am__dirstamp) + $(AM_V_at)-rm -f nds32/libgloss.a + $(AM_V_AR)$(nds32_libgloss_a_AR) nds32/libgloss.a $(nds32_libgloss_a_OBJECTS) $(nds32_libgloss_a_LIBADD) + $(AM_V_at)$(RANLIB) nds32/libgloss.a nios2/$(am__dirstamp): @$(MKDIR_P) nios2 @: > nios2/$(am__dirstamp) @@ -3049,6 +3180,7 @@ mostlyclean-compile: -rm -f mn10300/*.$(OBJEXT) -rm -f moxie/*.$(OBJEXT) -rm -f msp430/*.$(OBJEXT) + -rm -f nds32/*.$(OBJEXT) -rm -f nios2/*.$(OBJEXT) -rm -f riscv/*.$(OBJEXT) -rm -f v850/*.$(OBJEXT) @@ -3305,6 +3437,33 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@msp430/$(DEPDIR)/syscalls.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@msp430/$(DEPDIR)/unlink.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@msp430/$(DEPDIR)/write.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_argv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_argvlen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_chdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_chmod.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_close.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_exit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_fstat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_getpid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_gettimeofday.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_isatty.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_kill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_link.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_lseek.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_open.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_read.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_rename.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_sbrk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_stat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_system.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_time.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_times.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_unlink.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_utime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/_write.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/crt0.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/crt1.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@nds32/$(DEPDIR)/syscall_error_handler.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@nios2/$(DEPDIR)/nios2_libnios2_a-crt0.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@nios2/$(DEPDIR)/nios2_libnios2_a-getpid.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@nios2/$(DEPDIR)/nios2_libnios2_a-io-close.Po@am__quote@ @@ -6243,6 +6402,8 @@ distclean-generic: -rm -f moxie/$(am__dirstamp) -rm -f msp430/$(DEPDIR)/$(am__dirstamp) -rm -f msp430/$(am__dirstamp) + -rm -f nds32/$(DEPDIR)/$(am__dirstamp) + -rm -f nds32/$(am__dirstamp) -rm -f nios2/$(DEPDIR)/$(am__dirstamp) -rm -f nios2/$(am__dirstamp) -rm -f riscv/$(DEPDIR)/$(am__dirstamp) @@ -6269,7 +6430,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) 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) nds32/$(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 @@ -6412,7 +6573,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) 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) nds32/$(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 diff --git a/libgloss/configure b/libgloss/configure index 35ee57c..193b549 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -654,6 +654,8 @@ CONFIG_RISCV_FALSE CONFIG_RISCV_TRUE CONFIG_NIOS2_FALSE CONFIG_NIOS2_TRUE +CONFIG_NDS32_FALSE +CONFIG_NDS32_TRUE CONFIG_MSP430_FALSE CONFIG_MSP430_TRUE CONFIG_MOXIE_FALSE @@ -2813,9 +2815,7 @@ case "${target}" in subdirs="$subdirs m68hc11" ;; nds32*-*-*) - ac_config_files="$ac_config_files nds32/Makefile" - - subdirs="$subdirs nds32" + config_nds32=true ;; fido-*-* | m68*-*-*) ac_config_files="$ac_config_files m68k/Makefile" @@ -3136,6 +3136,14 @@ else CONFIG_MSP430_FALSE= fi + if test x$config_nds32 = xtrue; then + CONFIG_NDS32_TRUE= + CONFIG_NDS32_FALSE='#' +else + CONFIG_NDS32_TRUE='#' + CONFIG_NDS32_FALSE= +fi + if test x$config_nios2 = xtrue; then CONFIG_NIOS2_TRUE= CONFIG_NIOS2_FALSE='#' @@ -5711,6 +5719,10 @@ if test -z "${CONFIG_MSP430_TRUE}" && test -z "${CONFIG_MSP430_FALSE}"; then as_fn_error $? "conditional \"CONFIG_MSP430\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${CONFIG_NDS32_TRUE}" && test -z "${CONFIG_NDS32_FALSE}"; then + as_fn_error $? "conditional \"CONFIG_NDS32\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${CONFIG_NIOS2_TRUE}" && test -z "${CONFIG_NIOS2_FALSE}"; then as_fn_error $? "conditional \"CONFIG_NIOS2\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -6382,7 +6394,6 @@ do "epiphany/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany/Makefile" ;; "m32r/Makefile") CONFIG_FILES="$CONFIG_FILES m32r/Makefile" ;; "m68hc11/Makefile") CONFIG_FILES="$CONFIG_FILES m68hc11/Makefile" ;; - "nds32/Makefile") CONFIG_FILES="$CONFIG_FILES nds32/Makefile" ;; "m68k/Makefile") CONFIG_FILES="$CONFIG_FILES m68k/Makefile" ;; "pa/Makefile") CONFIG_FILES="$CONFIG_FILES pa/Makefile" ;; "sparc_leon/Makefile") CONFIG_FILES="$CONFIG_FILES sparc_leon/Makefile" ;; diff --git a/libgloss/configure.ac b/libgloss/configure.ac index f148bce..d56d895 100644 --- a/libgloss/configure.ac +++ b/libgloss/configure.ac @@ -74,8 +74,7 @@ case "${target}" in subdirs="$subdirs m68hc11" ;; nds32*-*-*) - AC_CONFIG_FILES([nds32/Makefile]) - subdirs="$subdirs nds32" + config_nds32=true ;; fido-*-* | m68*-*-*) AC_CONFIG_FILES([m68k/Makefile]) @@ -241,7 +240,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 - nios2 riscv v850 wince xtensa + nds32 nios2 riscv v850 wince xtensa ], [dnl AM_CONDITIONAL([CONFIG_]m4_toupper(SUBDIR), [test x$config_]SUBDIR = xtrue) ]) diff --git a/libgloss/nds32/Makefile.in b/libgloss/nds32/Makefile.in deleted file mode 100644 index 98311e0..0000000 --- a/libgloss/nds32/Makefile.in +++ /dev/null @@ -1,143 +0,0 @@ -# Makefile for libgloss/nds32 -# Copyright (c) 1996, 1998 Cygnus Support. 2012 Andes Porting. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted -# provided that the above copyright notice and this paragraph are -# duplicated in all such forms and that any documentation, -# and/or other materials related to such -# distribution and use acknowledge that the software was developed -# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to -# endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -DESTDIR = -VPATH = @srcdir@ @srcdir@/.. -srcdir = @srcdir@ -objdir = . -srcroot = $(srcdir)/../.. -objroot = $(objdir)/../.. - -host_alias = @host_alias@ -target_alias = @target_alias@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = @bindir@ -libdir = @libdir@ -tooldir = $(exec_prefix)/$(target_alias) - -TOP = ../.. -SRCTOP = ../.. - -# Multilib support variables. -# TOP is used instead of MULTI{BUILD,SRC}TOP. -MULTISRCTOP = -MULTIBUILDTOP = -MULTIDIRS = -MULTISUBDIR = -MULTIDO = true -MULTICLEAN = true - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ - -SHELL = /bin/sh - -CC = @CC@ - -AS = @AS@ -AR = @AR@ -LD = @LD@ -RANLIB = @RANLIB@ - -AR_FLAGS = qv -BISON = bison -MAKEINFO = makeinfo - -.NOEXPORT: -MAKEOVERRIDES = - -TARGETDOC = ../../targetdep.tex - -CRT0 = crt0.o -CRT1 = crt1.o - - - -SYSCALLS1 = _exit.o _open.o _close.o _read.o _write.o -SYSCALLS2 = _lseek.o _unlink.o _getpid.o _kill.o _fstat.o -SYSCALLS3 = _argvlen.o _argv.o _chdir.o _stat.o _chmod.o -SYSCALLS4 = _utime.o _time.o _gettimeofday.o _times.o _link.o -SYSCALLS5 = _rename.o _isatty.o _system.o _sbrk.o syscall_error_handler.o -SYSCALLS = $(SYSCALLS1) $(SYSCALLS2) $(SYSCALLS3) $(SYSCALLS4) $(SYSCALLS5) -GENERIC_LIBOBJS = - -LIBOBJS = $(SYSCALLS) $(GENERIC_LIBOBJS) -LIBGLOSS = libgloss.a - -# Host specific makefile fragment comes in here. -@host_makefile_frag@ - -all: $(CRT0) $(CRT1) $(LIBGLOSS) - -libgloss.a: $(LIBOBJS) - $(AR) $(ARFLAGS) $@ $(LIBOBJS) - $(RANLIB) $@ - -install: - mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR} - $(INSTALL_DATA) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) - $(INSTALL_DATA) $(CRT1) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT1) - $(INSTALL_DATA) $(LIBGLOSS) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(LIBGLOSS) - - - - - - - -clean mostlyclean: - rm -f *~ *.[oa] - -distclean maintainer-clean realclean: clean - rm -f Makefile - -info doc: -install-info: -clean-info: - -Makefile: Makefile.in ../config.status - cd .. && $(SHELL) config.status - -# to support SunOS VPATH -crt0.o: crt0.S -crt1.o: crt1.S -_exit.o: _exit.S -_open.o: _open.S -_close.o: _close.S -_read.o: _read.S -_write.o: _write.S -_lseek.o: _lseek.S -_unlink.o: _unlink.S -_getpid.o: _getpid.S -_kill.o: _kill.S -_fstat.o: _fstat.S -_argvlen.o: _argvlen.S -_argv.o: _argv.S -_chdir.o: _chdir.S -_stat.o: _stat.S -_chmod.o: _chmod.S -_utime.o: _utime.S -_time.o: _time.S -_gettimeofday.o: _gettimeofday.S -_times.o: _times.S -_link.o: _link.S -_rename.o: _rename.S -_isatty.o: _isatty.S -_system.o: _system.S -_sbrk.o: _sbrk.S -syscall_error_handler.o: syscall_error_handler.S diff --git a/libgloss/nds32/Makefile.inc b/libgloss/nds32/Makefile.inc new file mode 100644 index 0000000..e14f954 --- /dev/null +++ b/libgloss/nds32/Makefile.inc @@ -0,0 +1,50 @@ +## Makefile for libgloss/nds32 +## Copyright (c) 1996, 1998 Cygnus Support. 2012 Andes Porting. +## All rights reserved. +## +## Redistribution and use in source and binary forms are permitted +## provided that the above copyright notice and this paragraph are +## duplicated in all such forms and that any documentation, +## and/or other materials related to such +## distribution and use acknowledge that the software was developed +## at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to +## endorse or promote products derived from this software without +## specific prior written permission. +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +## IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +## WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +multilibtool_DATA += \ + %D%/crt0.o \ + %D%/crt1.o +libobjs_a_SOURCES += \ + %D%/crt0.S \ + %D%/crt1.S + +multilibtool_LIBRARIES += %D%/libgloss.a +%C%_libgloss_a_SOURCES = \ + %D%/_exit.S \ + %D%/_open.S \ + %D%/_close.S \ + %D%/_read.S \ + %D%/_write.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%/_rename.S \ + %D%/_isatty.S \ + %D%/_system.S \ + %D%/_sbrk.S \ + %D%/syscall_error_handler.S |