diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-09-08 12:34:02 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-09-08 12:34:02 +0200 |
commit | 6a237c45305054f59be3ceb3b1192f4ee776ee81 (patch) | |
tree | f619372a0e50f99a0eff4033354cf2ab1f6c9e0b /gcc/ada/gcc-interface | |
parent | 17d7aa85b71369de1a340db1f28575316703032b (diff) | |
download | gcc-6a237c45305054f59be3ceb3b1192f4ee776ee81.zip gcc-6a237c45305054f59be3ceb3b1192f4ee776ee81.tar.gz gcc-6a237c45305054f59be3ceb3b1192f4ee776ee81.tar.bz2 |
[multiple changes]
2017-09-08 Bob Duff <duff@adacore.com>
* s-ststop.ads, s-ststop.adb, rtsfind.ads (String_Input_Tag):
New routine to read the Tag robustly.
* exp_attr.adb (Input): Change the expansion of 'Input,
in the class-wide case, to call String_Input_Tag instead of
String_Input_Blk_IO.
2017-09-08 Arnaud Charlet <charlet@adacore.com>
* s-rident.ads (Restriction_Id): reorder enum
literals, so that Pure_Barriers is no longer in range of the
Cunit_Boolean_Restrictions subtype.
2017-09-08 Nicolas Roche <roche@adacore.com>
* a-taster.ads, a-taster.adb: Move to libgnarl
* gcc-interface/Makefile.in: Remove obsolete targets. Code cleanups.
Add support for files in libgnarl.
2017-09-08 Ed Schonberg <schonberg@adacore.com>
* exp_ch4.adb (Expand_N_Type_Conversion): Do not apply
accessibility check to an interface conversion, whose purpose
is to perform a pointer adjustment in a dispatching call.
* exp_ch6.adb (Expand_Call_JHelper): Add accessibility checks
when the actual is a construct that involves a dereference of an
expression that includes a formal of the enclosing subprogram,
In such cases, the accessibility level of the actual is that of
the corresponding formal, which is passed in as an additional
actual in the outer call.
From-SVN: r251886
Diffstat (limited to 'gcc/ada/gcc-interface')
-rw-r--r-- | gcc/ada/gcc-interface/Makefile.in | 446 |
1 files changed, 46 insertions, 400 deletions
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index 95bdb43..482259e 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -380,9 +380,6 @@ SO_OPTS = -Wl,-soname, # target when supported. GNATLIB_SHARED = gnatlib -# default value for gnatmake's target dependent file -MLIB_TGT = mlib-tgt - # By default, build socket support units. On platforms that do not support # sockets, reset this variable to empty and add DUMMY_SOCKETS_TARGET_PAIRS # to LIBGNAT_TARGET_PAIRS. @@ -466,49 +463,6 @@ GCC_SPEC_FILES= # $(strip STRING) removes leading and trailing spaces from STRING. # If what's left is null then it's a match. -# m68k VxWorks -ifeq ($(strip $(filter-out m68k% wrs vx%,$(target_cpu) $(target_vendor) $(target_os))),) - LIBGNAT_TARGET_PAIRS = \ - a-intnam.ads<a-intnam-vxworks.ads \ - a-numaux.ads<a-numaux-vxworks.ads \ - s-inmaop.adb<s-inmaop-vxworks.adb \ - s-interr.adb<s-interr-vxworks.adb \ - s-intman.ads<s-intman-vxworks.ads \ - s-intman.adb<s-intman-vxworks.adb \ - s-osinte.adb<s-osinte-vxworks.adb \ - s-osinte.ads<s-osinte-vxworks.ads \ - s-osprim.adb<s-osprim-vxworks.adb \ - s-parame.ads<s-parame-vxworks.ads \ - s-parame.adb<s-parame-vxworks.adb \ - s-stchop.ads<s-stchop-limit.ads \ - s-stchop.adb<s-stchop-vxworks.adb \ - s-taprop.adb<s-taprop-vxworks.adb \ - s-tasinf.ads<s-tasinf-vxworks.ads \ - s-taspri.ads<s-taspri-vxworks.ads \ - s-tpopsp.adb<s-tpopsp-vxworks.adb \ - s-vxwork.ads<s-vxwork-m68k.ads \ - g-socthi.ads<g-socthi-vxworks.ads \ - g-socthi.adb<g-socthi-vxworks.adb \ - g-stsifd.adb<g-stsifd-sockets.adb \ - system.ads<system-vxworks-m68k.ads - - TOOLS_TARGET_PAIRS=mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb - - EXTRA_GNATRTL_NONTASKING_OBJS=i-vxwork.o i-vxwoio.o s-stchop.o - EXTRA_GNATRTL_TASKING_OBJS=i-vxinco.o s-vxwork.o s-vxwext.o - - EXTRA_LIBGNAT_OBJS+=vx_stack_info.o - - ifeq ($(strip $(filter-out yes,$(TRACE))),) - LIBGNAT_TARGET_PAIRS += \ - s-traces.adb<s-traces-default.adb \ - s-tratas.adb<s-tratas-default.adb \ - s-trafor.adb<s-trafor-default.adb \ - s-trafor.ads<s-trafor-default.ads \ - s-tfsetr.adb<s-tfsetr-vxworks.adb - endif -endif - # PowerPC and e500v2 VxWorks ifeq ($(strip $(filter-out powerpc% wrs vxworks vxworksspe vxworks7 vxworks7spe,$(target_cpu) $(target_vendor) $(target_os))),) @@ -567,18 +521,7 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworks vxworksspe vxworks7 vxworks7spe, EXTRA_GNATRTL_NONTASKING_OBJS+=s-stchop.o endif - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ - indepsw.adb<indepsw-gnu.adb - - ifeq ($(strip $(filter-out yes,$(TRACE))),) - LIBGNAT_TARGET_PAIRS += \ - s-traces.adb<s-traces-default.adb \ - s-trafor.adb<s-trafor-default.adb \ - s-trafor.ads<s-trafor-default.ads \ - s-tratas.adb<s-tratas-default.adb \ - s-tfsetr.adb<s-tfsetr-vxworks.adb - endif + TOOLS_TARGET_PAIRS=indepsw.adb<indepsw-gnu.adb ifeq ($(strip $(filter-out rtp,$(THREAD_KIND))),) LIBGNAT_TARGET_PAIRS += \ @@ -693,9 +636,7 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworksae vxworksaespe,$(target_cpu) $(t EH_MECHANISM=-gcc - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS=indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_NONTASKING_OBJS=i-vxwork.o i-vxwoio.o EXTRA_GNATRTL_TASKING_OBJS=i-vxinco.o s-vxwork.o s-vxwext.o @@ -719,70 +660,6 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworksae vxworksaespe,$(target_cpu) $(t g-stsifd.adb<g-stsifd-sockets.adb endif - ifeq ($(strip $(filter-out yes,$(TRACE))),) - LIBGNAT_TARGET_PAIRS += \ - s-traces.adb<s-traces-default.adb \ - s-trafor.adb<s-trafor-default.adb \ - s-trafor.ads<s-trafor-default.ads \ - s-tratas.adb<s-tratas-default.adb \ - s-tfsetr.adb<s-tfsetr-vxworks.adb - endif -endif - -# PowerPC and e500v2 VxWorks MILS -ifeq ($(strip $(filter-out powerpc% wrs vxworksmils,$(target_cpu) $(target_vendor) $(target_os))),) - # target pairs for vthreads runtime - LIBGNAT_TARGET_PAIRS = \ - a-elchha.adb<a-elchha-vx6-raven-cert.adb \ - a-intnam.ads<a-intnam-vxworks.ads \ - a-numaux.ads<a-numaux-vxworks.ads \ - g-io.adb<g-io-vxworks-ppc-cert.adb \ - s-inmaop.adb<s-inmaop-vxworks.adb \ - s-interr.adb<s-interr-vxworks.adb \ - s-intman.ads<s-intman-vxworks.ads \ - s-intman.adb<s-intman-vxworks.adb \ - s-osinte.adb<s-osinte-vxworks.adb \ - s-osinte.ads<s-osinte-vxworks.ads \ - s-osprim.adb<s-osprim-vxworks.adb \ - s-osvers.ads<s-osvers-vxworks-mils.ads \ - s-parame.ads<s-parame-ae653.ads \ - s-parame.adb<s-parame-vxworks.adb \ - s-stchop.adb<s-stchop-vxworks.adb \ - s-stchop.ads<s-stchop-limit.ads \ - s-taprop.adb<s-taprop-vxworks.adb \ - s-tasinf.ads<s-tasinf-vxworks.ads \ - s-taspri.ads<s-taspri-vxworks.ads \ - s-thread.adb<s-thread-ae653.adb \ - s-tpopsp.adb<s-tpopsp-vxworks.adb \ - s-vxwork.ads<s-vxwork-ppc.ads \ - system.ads<system-vxworks-ppc-mils.ads \ - $(ATOMICS_TARGET_PAIRS) \ - $(ATOMICS_BUILTINS_TARGET_PAIRS) \ - $(DUMMY_SOCKETS_TARGET_PAIRS) - - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ - indepsw.adb<indepsw-gnu.adb - - EXTRA_GNATRTL_NONTASKING_OBJS=i-vxwork.o i-vxwoio.o \ - s-thread.o s-osvers.o s-stchop.o - EXTRA_GNATRTL_TASKING_OBJS=i-vxinco.o s-vxwork.o s-vxwext.o - - EXTRA_LIBGNAT_OBJS+=vx_stack_info.o - - EXTRA_LIBGNAT_OBJS+=sigtramp-vxworks.o - EXTRA_LIBGNAT_SRCS+=$(VX_SIGTRAMP_EXTRA_SRCS) - - GNATRTL_SOCKETS_OBJS = - - ifeq ($(strip $(filter-out yes,$(TRACE))),) - LIBGNAT_TARGET_PAIRS += \ - s-traces.adb<s-traces-default.adb \ - s-trafor.adb<s-trafor-default.adb \ - s-trafor.ads<s-trafor-default.ads \ - s-tratas.adb<s-tratas-default.adb \ - s-tfsetr.adb<s-tfsetr-vxworks.adb - endif endif # VxWorksae / VxWorks 653 for x86 (vxsim) - ?? VxWorks mils not implemented @@ -815,9 +692,7 @@ ifeq ($(strip $(filter-out %86 wrs vxworksae,$(target_cpu) $(target_vendor) $(ta EH_MECHANISM=-gcc - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS=indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_NONTASKING_OBJS=i-vxwork.o i-vxwoio.o s-thread.o EXTRA_GNATRTL_TASKING_OBJS=i-vxinco.o s-vxwork.o s-vxwext.o @@ -841,66 +716,6 @@ ifeq ($(strip $(filter-out %86 wrs vxworksae,$(target_cpu) $(target_vendor) $(ta g-stsifd.adb<g-stsifd-sockets.adb endif - ifeq ($(strip $(filter-out yes,$(TRACE))),) - LIBGNAT_TARGET_PAIRS += \ - s-traces.adb<s-traces-default.adb \ - s-trafor.adb<s-trafor-default.adb \ - s-trafor.ads<s-trafor-default.ads \ - s-tratas.adb<s-tratas-default.adb \ - s-tfsetr.adb<s-tfsetr-vxworks.adb - endif -endif - -# Sparc VxWorks -ifeq ($(strip $(filter-out sparc% wrs vx%,$(target_cpu) $(target_vendor) $(target_os))),) - LIBGNAT_TARGET_PAIRS = \ - a-intnam.ads<a-intnam-vxworks.ads \ - a-numaux.ads<a-numaux-vxworks.ads \ - s-inmaop.adb<s-inmaop-vxworks.adb \ - s-interr.adb<s-interr-vxworks.adb \ - s-intman.ads<s-intman-vxworks.ads \ - s-intman.adb<s-intman-vxworks.adb \ - s-osinte.adb<s-osinte-vxworks.adb \ - s-osinte.ads<s-osinte-vxworks.ads \ - s-osprim.adb<s-osprim-vxworks.adb \ - s-parame.ads<s-parame-vxworks.ads \ - s-parame.adb<s-parame-vxworks.adb \ - s-stchop.ads<s-stchop-limit.ads \ - s-stchop.adb<s-stchop-vxworks.adb \ - s-taprop.adb<s-taprop-vxworks.adb \ - s-tasinf.ads<s-tasinf-vxworks.ads \ - s-taspri.ads<s-taspri-vxworks.ads \ - s-tpopsp.adb<s-tpopsp-vxworks.adb \ - g-socthi.ads<g-socthi-vxworks.ads \ - g-socthi.adb<g-socthi-vxworks.adb \ - g-stsifd.adb<g-stsifd-sockets.adb - - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ - indepsw.adb<indepsw-gnu.adb - - ifeq ($(strip $(filter-out sparc64 sparcv9, $(target_cpu))),) - # 64-bits - LIBGNAT_TARGET_PAIRS += \ - s-vxwork.ads<s-vxwork-sparcv9.ads \ - system.ads<system-vxworks-sparcv9.ads - else - # 32-bits - LIBGNAT_TARGET_PAIRS += \ - s-vxwork.ads<s-vxwork-sparc.ads \ - system.ads<system-vxworks-sparc-kernel.ads - endif - - ifeq ($(strip $(filter-out kernel,$(THREAD_KIND))),) - LIBGNAT_TARGET_PAIRS += \ - s-vxwext.ads<s-vxwext-kernel.ads \ - s-vxwext.adb<s-vxwext-kernel.adb - endif - - EXTRA_GNATRTL_NONTASKING_OBJS=i-vxwork.o i-vxwoio.o s-stchop.o - EXTRA_GNATRTL_TASKING_OBJS=i-vxinco.o s-vxwork.o s-vxwext.o - - EXTRA_LIBGNAT_OBJS+=vx_stack_info.o endif # x86/x86_64 VxWorks @@ -947,18 +762,7 @@ ifeq ($(strip $(filter-out %86 x86_64 wrs vxworks vxworks7,$(target_cpu) $(targe $(CERTMATH_TARGET_PAIRS_SQRT_FPU) \ $(CERTMATH_TARGET_PAIRS_X86TRA) - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ - indepsw.adb<indepsw-gnu.adb - - ifeq ($(strip $(filter-out yes,$(TRACE))),) - LIBGNAT_TARGET_PAIRS += \ - s-traces.adb<s-traces-default.adb \ - s-trafor.adb<s-trafor-default.adb \ - s-trafor.ads<s-trafor-default.ads \ - s-tratas.adb<s-tratas-default.adb \ - s-tfsetr.adb<s-tfsetr-vxworks.adb - endif + TOOLS_TARGET_PAIRS=indepsw.adb<indepsw-gnu.adb # The CPU setting for VxSim varies with the # host (Windows or Linux) @@ -1102,9 +906,7 @@ ifeq ($(strip $(filter-out arm% coff wrs vx%,$(target_cpu) $(target_vendor) $(ta g-socthi.adb<g-socthi-vxworks.adb \ g-stsifd.adb<g-stsifd-sockets.adb - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS=indepsw.adb<indepsw-gnu.adb ifeq ($(strip $(filter-out rtp-smp,$(THREAD_KIND))),) LIBGNAT_TARGET_PAIRS += \ @@ -1165,76 +967,6 @@ ifeq ($(strip $(filter-out arm% coff wrs vx%,$(target_cpu) $(target_vendor) $(ta endif endif -# MIPS VxWorks -ifeq ($(strip $(filter-out mips% wrs vx%,$(target_cpu) $(target_vendor) $(target_os))),) - LIBGNAT_TARGET_PAIRS = \ - a-intnam.ads<a-intnam-vxworks.ads \ - a-numaux.ads<a-numaux-vxworks.ads \ - s-inmaop.adb<s-inmaop-vxworks.adb \ - s-interr.adb<s-interr-vxworks.adb \ - s-intman.ads<s-intman-vxworks.ads \ - s-intman.adb<s-intman-vxworks.adb \ - s-osinte.adb<s-osinte-vxworks.adb \ - s-osinte.ads<s-osinte-vxworks.ads \ - s-osprim.adb<s-osprim-vxworks.adb \ - s-parame.ads<s-parame-vxworks.ads \ - s-parame.adb<s-parame-vxworks.adb \ - s-stchop.ads<s-stchop-limit.ads \ - s-stchop.adb<s-stchop-vxworks.adb \ - s-taprop.adb<s-taprop-vxworks.adb \ - s-tasinf.ads<s-tasinf-vxworks.ads \ - s-taspri.ads<s-taspri-vxworks.ads \ - s-tpopsp.adb<s-tpopsp-vxworks.adb \ - s-vxwork.ads<s-vxwork-mips.ads \ - g-socthi.ads<g-socthi-vxworks.ads \ - g-socthi.adb<g-socthi-vxworks.adb \ - g-stsifd.adb<g-stsifd-sockets.adb \ - system.ads<system-vxworks-mips.ads - - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-vxworks.adb \ - indepsw.adb<indepsw-gnu.adb - - ifeq ($(strip $(filter-out rtp-smp,$(THREAD_KIND))),) - EH_MECHANISM=-gcc - - LIBGNAT_TARGET_PAIRS += \ - s-mudido.adb<s-mudido-affinity.adb \ - s-vxwext.ads<s-vxwext-rtp.ads \ - s-vxwext.adb<s-vxwext-rtp-smp.adb \ - s-tpopsp.adb<s-tpopsp-vxworks-tls.adb - - EXTRA_LIBGNAT_OBJS+=affinity.o - - EXTRA_LIBGNAT_OBJS+=sigtramp-vxworks.o - EXTRA_LIBGNAT_SRCS+=$(VX_SIGTRAMP_EXTRA_SRCS) - else - ifeq ($(strip $(filter-out kernel-smp,$(THREAD_KIND))),) - LIBGNAT_TARGET_PAIRS += \ - s-mudido.adb<s-mudido-affinity.adb \ - s-tpopsp.adb<s-tpopsp-vxworks-tls.adb \ - s-vxwext.ads<s-vxwext-kernel.ads \ - s-vxwext.adb<s-vxwext-kernel-smp.adb - - EXTRA_LIBGNAT_OBJS+=affinity.o - else - LIBGNAT_TARGET_PAIRS += \ - s-tpopsp.adb<s-tpopsp-vxworks.adb - - ifeq ($(strip $(filter-out kernel,$(THREAD_KIND))),) - LIBGNAT_TARGET_PAIRS += \ - s-vxwext.ads<s-vxwext-kernel.ads \ - s-vxwext.adb<s-vxwext-kernel.adb - endif - endif - endif - - EXTRA_GNATRTL_NONTASKING_OBJS=i-vxwork.o i-vxwoio.o s-stchop.o - EXTRA_GNATRTL_TASKING_OBJS=i-vxinco.o s-vxwork.o s-vxwext.o - - EXTRA_LIBGNAT_OBJS+=vx_stack_info.o -endif - # ARM android ifeq ($(strip $(filter-out arm% linux-androideabi,$(target_cpu) $(target_os))),) LIBGNAT_TARGET_PAIRS = \ @@ -1252,9 +984,7 @@ ifeq ($(strip $(filter-out arm% linux-androideabi,$(target_cpu) $(target_os))),) $(ATOMICS_BUILTINS_TARGET_PAIRS) \ system.ads<system-linux-arm.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o EXTRA_LIBGNAT_OBJS+=sigtramp-armdroid.o @@ -1285,8 +1015,6 @@ ifeq ($(strip $(filter-out sparc% sun solaris%,$(target_cpu) $(target_vendor) $( $(ATOMICS_BUILTINS_TARGET_PAIRS) \ system.ads<system-solaris-sparc.ads - TOOLS_TARGET_PAIRS=mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb - EH_MECHANISM=-gcc THREADSLIB = -lposix4 -lthread MISCLIB = -lposix4 -lnsl -lsocket @@ -1295,23 +1023,6 @@ ifeq ($(strip $(filter-out sparc% sun solaris%,$(target_cpu) $(target_vendor) $( GMEM_LIB = gmemlib LIBRARY_VERSION := $(LIB_VERSION) - ifeq ($(strip $(filter-out pthread PTHREAD,$(THREAD_KIND))),) - LIBGNAT_TARGET_PAIRS = \ - a-intnam.ads<a-intnam-solaris.ads \ - s-inmaop.adb<s-inmaop-posix.adb \ - s-intman.adb<s-intman-posix.adb \ - s-osinte.adb<s-osinte-posix.adb \ - s-osinte.ads<s-osinte-solaris-posix.ads \ - s-osprim.adb<s-osprim-solaris.adb \ - s-taprop.adb<s-taprop-posix.adb \ - s-taspri.ads<s-taspri-posix.ads \ - s-tpopsp.adb<s-tpopsp-posix-foreign.adb \ - g-soliop.ads<g-soliop-solaris.ads \ - system.ads<system-solaris-sparc.ads - - THREADSLIB = -lposix4 -lpthread - endif - ifeq ($(strip $(filter-out m64,$(THREAD_KIND))),) LIBGNAT_TARGET_PAIRS = $(LIBGNAT_TARGET_PAIRS_64) endif @@ -1354,8 +1065,6 @@ ifeq ($(strip $(filter-out %86 %x86_64 solaris2%,$(target_cpu) $(target_os))),) endif endif - TOOLS_TARGET_PAIRS=mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb - EXTRA_GNATRTL_NONTASKING_OBJS += g-sse.o g-ssvety.o EH_MECHANISM=-gcc @@ -1390,31 +1099,21 @@ ifeq ($(strip $(filter-out %86 linux%,$(target_cpu) $(target_os))),) LIBGNAT_TARGET_PAIRS += $(X86_TARGET_PAIRS) endif - ifeq ($(strip $(filter-out xenomai,$(THREAD_KIND))),) - LIBGNAT_TARGET_PAIRS += \ - s-osinte.ads<s-osinte-linux-xenomai.ads \ - s-osprim.adb<s-osprim-linux-xenomai.adb \ - s-taprop.adb<s-taprop-linux-xenomai.adb \ - s-taspri.ads<s-taspri-linux-xenomai.ads - else - LIBGNAT_TARGET_PAIRS += \ - s-mudido.adb<s-mudido-affinity.adb \ - s-osinte.ads<s-osinte-linux.ads \ - s-osprim.adb<s-osprim-posix.adb \ - s-taprop.adb<s-taprop-linux.adb \ - s-tasinf.ads<s-tasinf-linux.ads \ - s-tasinf.adb<s-tasinf-linux.adb \ - s-taspri.ads<s-taspri-posix.ads - endif + LIBGNAT_TARGET_PAIRS += \ + s-mudido.adb<s-mudido-affinity.adb \ + s-osinte.ads<s-osinte-linux.ads \ + s-osprim.adb<s-osprim-posix.adb \ + s-taprop.adb<s-taprop-linux.adb \ + s-tasinf.ads<s-tasinf-linux.ads \ + s-tasinf.adb<s-tasinf-linux.adb \ + s-taspri.ads<s-taspri-posix.ads EH_MECHANISM=-gcc THREADSLIB = -lpthread -lrt EXTRA_GNATRTL_NONTASKING_OBJS += g-sse.o g-ssvety.o EXTRA_GNATRTL_TASKING_OBJS=s-linux.o a-exetim.o - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb GNATLIB_SHARED = gnatlib-shared-dual MISCLIB = -ldl @@ -1438,9 +1137,7 @@ ifeq ($(strip $(filter-out %86 kfreebsd%,$(target_cpu) $(target_os))),) $(X86_TARGET_PAIRS) \ system.ads<system-freebsd.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_NONTASKING_OBJS += g-sse.o g-ssvety.o @@ -1496,9 +1193,7 @@ ifeq ($(strip $(filter-out x86_64 kfreebsd%,$(target_cpu) $(target_os))),) s-tpopsp.adb<s-tpopsp-posix-foreign.adb \ system.ads<system-freebsd.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EH_MECHANISM=-gcc THREADSLIB = -lpthread @@ -1552,8 +1247,6 @@ ifeq ($(strip $(filter-out %86 freebsd%,$(target_cpu) $(target_os))),) $(X86_TARGET_PAIRS) \ system.ads<system-freebsd.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb GNATLIB_SHARED = gnatlib-shared-dual EXTRA_GNATRTL_NONTASKING_OBJS += g-sse.o g-ssvety.o @@ -1582,8 +1275,6 @@ ifeq ($(strip $(filter-out %86_64 freebsd%,$(target_cpu) $(target_os))),) $(X86_64_TARGET_PAIRS) \ system.ads<system-freebsd.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb GNATLIB_SHARED = gnatlib-shared-dual EXTRA_GNATRTL_NONTASKING_OBJS += g-sse.o g-ssvety.o @@ -1642,9 +1333,7 @@ ifeq ($(strip $(filter-out s390% linux%,$(target_cpu) $(target_os))),) s-tpopsp.adb<s-tpopsp-posix-foreign.adb \ system.ads<system-linux-s390.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o EH_MECHANISM=-gcc @@ -1689,7 +1378,6 @@ ifeq ($(strip $(filter-out hppa% hp hpux11%,$(target_cpu) $(target_vendor) $(tar s-tpopsp.adb<s-tpopsp-posix-foreign.adb \ system.ads<system-hpux.ads - TOOLS_TARGET_PAIRS = mlib-tgt-specific.adb<mlib-tgt-specific-hpux.adb EH_MECHANISM=-gcc TGT_LIB = /usr/lib/libcl.a THREADSLIB = -lpthread @@ -1727,8 +1415,6 @@ ifeq ($(strip $(filter-out ibm aix%,$(target_vendor) $(target_os))),) THREADSLIB = -lpthreads EH_MECHANISM=-gcc - TOOLS_TARGET_PAIRS += \ - mlib-tgt-specific.adb<mlib-tgt-specific-aix.adb GMEM_LIB = gmemlib endif @@ -1753,16 +1439,12 @@ endif # PikeOS ifeq ($(strip $(filter-out powerpc% %86 sysgo pikeos,$(target_cpu) $(target_vendor) $(target_os)))),) - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-xi.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS=indepsw.adb<indepsw-gnu.adb endif # *-elf, *-eabi, or *-eabispe ifeq ($(strip $(filter-out elf eabi eabispe,$(target_os))),) - TOOLS_TARGET_PAIRS=\ - mlib-tgt-specific.adb<mlib-tgt-specific-xi.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS=indepsw.adb<indepsw-gnu.adb endif ifeq ($(strip $(filter-out %djgpp,$(target_os))),) @@ -1856,9 +1538,7 @@ ifeq ($(strip $(filter-out cygwin% mingw32% pe,$(target_os))),) EH_MECHANISM=-gcc - TOOLS_TARGET_PAIRS= \ - mlib-tgt-specific.adb<mlib-tgt-specific-mingw.adb \ - indepsw.adb<indepsw-mingw.adb + TOOLS_TARGET_PAIRS=indepsw.adb<indepsw-gnu.adb GMEM_LIB = gmemlib EXTRA_GNATTOOLS = ../../gnatdll$(exeext) @@ -1885,9 +1565,7 @@ ifeq ($(strip $(filter-out mips% linux%,$(target_cpu) $(target_os))),) g-sercom.adb<g-sercom-linux.adb \ system.ads<system-linux-mips.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o EH_MECHANISM=-gcc @@ -1915,28 +1593,17 @@ ifeq ($(strip $(filter-out powerpc% linux%,$(target_cpu) $(target_os))),) $(ATOMICS_BUILTINS_TARGET_PAIRS) \ system.ads<system-linux-ppc.ads - ifeq ($(strip $(filter-out xenomai,$(THREAD_KIND))),) - LIBGNAT_TARGET_PAIRS = \ - $(LIBGNAT_TARGET_PAIRS_COMMON) \ - s-osinte.ads<s-osinte-linux-xenomai.ads \ - s-osprim.adb<s-osprim-linux-xenomai.adb \ - s-taprop.adb<s-taprop-linux-xenomai.adb \ - s-taspri.ads<s-taspri-linux-xenomai.ads - else - LIBGNAT_TARGET_PAIRS = \ - $(LIBGNAT_TARGET_PAIRS_COMMON) \ - s-mudido.adb<s-mudido-affinity.adb \ - s-osinte.ads<s-osinte-linux.ads \ - s-osprim.adb<s-osprim-posix.adb \ - s-taprop.adb<s-taprop-linux.adb \ - s-tasinf.ads<s-tasinf-linux.ads \ - s-tasinf.adb<s-tasinf-linux.adb \ - s-taspri.ads<s-taspri-posix-noaltstack.ads - endif + LIBGNAT_TARGET_PAIRS = \ + $(LIBGNAT_TARGET_PAIRS_COMMON) \ + s-mudido.adb<s-mudido-affinity.adb \ + s-osinte.ads<s-osinte-linux.ads \ + s-osprim.adb<s-osprim-posix.adb \ + s-taprop.adb<s-taprop-linux.adb \ + s-tasinf.ads<s-tasinf-linux.ads \ + s-tasinf.adb<s-tasinf-linux.adb \ + s-taspri.ads<s-taspri-posix-noaltstack.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o a-exetim.o @@ -1972,9 +1639,7 @@ ifeq ($(strip $(filter-out arm% linux-gnueabi%,$(target_cpu) $(target_os))),) EH_MECHANISM=-arm endif - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o THREADSLIB = -lpthread @@ -2008,9 +1673,7 @@ ifeq ($(strip $(filter-out aarch64% linux%,$(target_cpu) $(target_os))),) $(ATOMICS_BUILTINS_TARGET_PAIRS) \ system.ads<system-linux-arm.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o a-exetim.o EH_MECHANISM=-gcc @@ -2037,9 +1700,7 @@ ifeq ($(strip $(filter-out sparc% linux%,$(target_cpu) $(target_os))),) s-tpopsp.adb<s-tpopsp-tls.adb \ system.ads<system-linux-sparc.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o EH_MECHANISM=-gcc @@ -2066,9 +1727,7 @@ ifeq ($(strip $(filter-out hppa% linux%,$(target_cpu) $(target_os))),) s-tpopsp.adb<s-tpopsp-posix-foreign.adb \ system.ads<system-linux-hppa.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o EH_MECHANISM=-gcc @@ -2124,9 +1783,7 @@ ifeq ($(strip $(filter-out sh4% linux%,$(target_cpu) $(target_os))),) s-tpopsp.adb<s-tpopsp-posix-foreign.adb \ system.ads<system-linux-sh4.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-linux.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-linux.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o EH_MECHANISM=-gcc @@ -2163,9 +1820,7 @@ ifeq ($(strip $(filter-out %ia64 linux%,$(target_cpu) $(target_os))),) $(ATOMICS_BUILTINS_TARGET_PAIRS) \ system.ads<system-linux-ia64.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o a-exetim.o EH_MECHANISM=-gcc @@ -2192,9 +1847,6 @@ ifeq ($(strip $(filter-out ia64% hp hpux%,$(target_cpu) $(target_vendor) $(targe $(ATOMICS_BUILTINS_TARGET_PAIRS) \ system.ads<system-hpux-ia64.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-ia64-hpux.adb - MISCLIB= EH_MECHANISM=-gcc THREADSLIB=-lpthread @@ -2224,9 +1876,7 @@ ifeq ($(strip $(filter-out alpha% linux%,$(target_cpu) $(target_os))),) $(ATOMICS_BUILTINS_TARGET_PAIRS) \ system.ads<system-linux-alpha.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_TASKING_OBJS=s-linux.o EH_MECHANISM=-gcc @@ -2261,9 +1911,7 @@ ifeq ($(strip $(filter-out %x86_64 linux%,$(target_cpu) $(target_os))),) $(X86_64_TARGET_PAIRS) \ system.ads<system-linux-x86.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_NONTASKING_OBJS += g-sse.o g-ssvety.o EXTRA_GNATRTL_TASKING_OBJS=s-linux.o a-exetim.o @@ -2300,9 +1948,7 @@ ifeq ($(strip $(filter-out %x32 linux%,$(target_cpu) $(target_os))),) $(X86_64_TARGET_PAIRS) \ system.ads<system-linux-x86.ads - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \ - indepsw.adb<indepsw-gnu.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb EXTRA_GNATRTL_NONTASKING_OBJS=g-sse.o g-ssvety.o EXTRA_GNATRTL_TASKING_OBJS=s-linux.o a-exetim.o @@ -2323,6 +1969,7 @@ ifeq ($(strip $(filter-out darwin%,$(target_os))),) s-osinte.ads<s-osinte-darwin.ads \ s-taprop.adb<s-taprop-posix.adb \ s-taspri.ads<s-taspri-posix.ads \ + g-sercom.adb<g-sercom-linux.adb \ s-tpopsp.adb<s-tpopsp-posix-foreign.adb ifeq ($(strip $(filter-out %86,$(target_cpu))),) @@ -2401,9 +2048,7 @@ ifeq ($(strip $(filter-out darwin%,$(target_os))),) system.ads<system-darwin-arm.ads endif - TOOLS_TARGET_PAIRS = \ - mlib-tgt-specific.adb<mlib-tgt-specific-darwin.adb \ - indepsw.adb<indepsw-darwin.adb + TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-darwin.adb EH_MECHANISM=-gcc GNATLIB_SHARED = gnatlib-shared-darwin @@ -2472,7 +2117,8 @@ ADA_INCLUDE_SRCS =\ machcode.ads text_io.ads unchconv.ads unchdeal.ads \ sequenio.ads system.ads memtrack.adb \ a-[a-o]*.adb a-[p-z]*.adb a-[a-o]*.ads a-[p-z]*.ads g-*.ad? i-*.ad? \ - s-[a-o]*.adb s-[p-z]*.adb s-[a-o]*.ads s-[p-z]*.ads + s-[a-o]*.adb s-[p-z]*.adb s-[a-o]*.ads s-[p-z]*.ads libgnarl/*.ads \ + libgnarl/*.adb # Files that are in ADA_INCLUDE_SRCS but not in all configurations. # They will be removed from the run time if not used. @@ -2494,7 +2140,7 @@ ADA_EXCLUDE_SRCS =\ s-sam4.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb s-sopco4.ads \ s-sopco5.adb s-sopco5.ads s-stchop.ads s-stchop.adb s-stm32.ads \ s-strcom.adb s-strcom.ads s-thread.ads \ - s-vxwexc.adb s-vxwexc.ads s-vxwext.adb s-vxwext.ads \ + s-vxwext.adb s-vxwext.ads \ s-win32.ads s-winext.ads # ADA_EXCLUDE_SRCS without the sources used by the target |