newlib-cygwin/libgloss/arm
Mike Frysinger 67c600b995 libgloss: restore multilib settings in subdir makefiles
Commit 754f8def0d ("libgloss: merge stub
arch configure scripts up a level") had an unintended side-effect: the
MULTI* variables in the Makefiles no longer get rewritten at configure
time in the subdirs.  Only the top-level Makefile still is.  This is
because the configure integration of multilib (both the way libgloss
did it manually and the way AM_ENABLE_MULTILIB does it) only rewrites
"Makefile".

We could try propagating the MULTI* variables from libgloss/Makefile
down via FLAGS_TO_PASS, but this runs into a limitation: the multilib
logic uses this variable to switch from libgloss/ to each multilib
libgloss/, and libgloss uses this variable to enter subdirectories.
The latter we want, but the former ends up overridding the Makefile
environment.  We could side-step that with some GNU Make directives,
but it feels like we're getting a bit too deep down the rabbit hole.

Instead, let's call config-ml.in ourselves for each subdir Makefile
that the top-level configure generates.  This restores the previous
behavior and should be less risky in general.

This logic should be unnecessary when/if we switch libgloss over to
a non-recursive Automake build (since all build+install settings are
in the single libgloss/Makefile), but it'll be a while before we can
land that rework, so let's fix this up now.
2022-02-04 19:33:29 -05:00
..
cpu-init Initializing TTBR0 to inner/outer WB 2016-03-26 12:45:07 +01:00
Makefile.in libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
_exit.c Enable return code with semi-hosting SYS_EXIT_EXTENDED 2018-11-19 13:46:19 +01:00
_kill.c Enable return code with semi-hosting SYS_EXIT_EXTENDED 2018-11-19 13:46:19 +01:00
aclocal.m4 libgloss: move to ../config/multi.m4 for multilib logic 2022-02-01 23:07:11 -05:00
arm.h Stack Pointer and Stack Limit initialization refactored. 2019-07-23 10:00:06 +02:00
coff-iq80310.specs 2002-11-08 Jeff Johnston <jjohnstn@redhat.com> 2002-11-07 00:25:57 +00:00
coff-pid.specs 2002-11-08 Jeff Johnston <jjohnstn@redhat.com> 2002-11-07 00:25:57 +00:00
coff-rdimon-v2m.specs Add the needed build system changes in order to compile and create the new libraries for Semihosting v2 for ARM. 2017-07-05 14:41:27 +02:00
coff-rdimon.specs Add the needed build system changes in order to compile and create the new libraries for Semihosting v2 for ARM. 2017-07-05 14:41:27 +02:00
coff-rdpmon.specs 2004-06-09 Toralf Lund <toralf@procaptura.com> 2004-06-09 19:06:50 +00:00
coff-redboot.ld 2002-11-08 Jeff Johnston <jjohnstn@redhat.com> 2002-11-07 00:25:57 +00:00
coff-redboot.specs
configure libgloss: restore multilib settings in subdir makefiles 2022-02-04 19:33:29 -05:00
configure.ac libgloss: restore multilib settings in subdir makefiles 2022-02-04 19:33:29 -05:00
crt0.S Finish this commit by prefixing HAVE_INITFINI_ARRAY and HAVE_INIT_FINI references in libgloss in the same way. 2022-01-28 21:39:14 -07:00
elf-aprofile-validation-v2m.specs Add the needed build system changes in order to compile and create the new libraries for Semihosting v2 for ARM. 2017-07-05 14:41:27 +02:00
elf-aprofile-validation.specs Add the needed build system changes in order to compile and create the new libraries for Semihosting v2 for ARM. 2017-07-05 14:41:27 +02:00
elf-aprofile-ve-v2m.specs Add the needed build system changes in order to compile and create the new libraries for Semihosting v2 for ARM. 2017-07-05 14:41:27 +02:00
elf-aprofile-ve.specs Add the needed build system changes in order to compile and create the new libraries for Semihosting v2 for ARM. 2017-07-05 14:41:27 +02:00
elf-iq80310.specs 2002-11-08 Jeff Johnston <jjohnstn@redhat.com> 2002-11-07 00:25:57 +00:00
elf-linux.specs 2006-06-23 Shaun Jackman <sjackman@gmail.com> 2006-06-23 16:27:34 +00:00
elf-nano.specs Fix elf-nano.specs to work without -save-temps 2017-02-15 16:31:16 +01:00
elf-pid.specs 2002-11-08 Jeff Johnston <jjohnstn@redhat.com> 2002-11-07 00:25:57 +00:00
elf-rdimon-v2m.specs Arm: Use lrdimon-v2m_nano when semihosting v2 and nano selected respectively 2019-06-25 13:38:44 -04:00
elf-rdimon.specs Add the needed build system changes in order to compile and create the new libraries for Semihosting v2 for ARM. 2017-07-05 14:41:27 +02:00
elf-rdpmon.specs 2004-06-09 Toralf Lund <toralf@procaptura.com> 2004-06-09 19:06:50 +00:00
elf-redboot.ld * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld, 2005-05-20 15:45:45 +00:00
elf-redboot.specs 2002-11-08 Jeff Johnston <jjohnstn@redhat.com> 2002-11-07 00:25:57 +00:00
ftruncate.c [ARM] set errno in ftruncate and truncate stubs. 2013-11-21 15:49:05 +00:00
libcfunc.c * arm/licfunc.c (do_AngelSWI): Remove. 2006-12-25 23:05:24 +00:00
linux-crt0.c add forward declaration to main() to prevent warnings 2018-02-16 12:16:08 +01:00
linux-syscall.h 2006-05-30 Shaun Jackman <sjackman@gmail.com> 2006-05-30 17:40:47 +00:00
linux-syscalls0.S arm: Finish moving newlib to unified syntax for Thumb1 2020-03-02 13:33:11 +00:00
linux-syscalls1.c 2006-06-05 Shaun Jackman <sjackman@gmail.com> 2006-06-05 20:15:23 +00:00
redboot-crt0.S Make macro checks ARMv8-M baseline proof 2016-01-28 11:26:37 +01:00
redboot-syscalls.c 2008-01-03 Jeff Johnston <jjohnstn@redhat.com> 2008-01-03 22:38:31 +00:00
swi.h AArch32: Fix the build for M class semihosting 2019-02-11 12:49:23 +01:00
syscall.h libgloss: arm: fix copy & paste in syscall.h 2015-04-23 22:03:45 +02:00
syscalls.c Align libgloss/arm and libc/sys/arm sources: miscellaneous fixes 2019-08-05 13:00:53 +01:00
trap.S Include code in trap.S for APCS only. 2019-04-11 14:20:21 +00:00
truncate.c [ARM] set errno in ftruncate and truncate stubs. 2013-11-21 15:49:05 +00:00