]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add ada configuration for aarch64-linux
authorRichard Henderson <rth@redhat.com>
Tue, 22 Apr 2014 16:54:25 +0000 (09:54 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 22 Apr 2014 16:54:25 +0000 (09:54 -0700)
* gcc-interface/Makefile.in: Support aarch64-linux.

From-SVN: r209654

gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in

index 0d3c7920e0e4454fd1a10642f15767f04acb3e98..9c42a02b630e262aa634c9da6a0b35162de4c288 100644 (file)
@@ -1,5 +1,7 @@
 2014-04-22  Richard Henderson  <rth@redhat.com>
 
+       * gcc-interface/Makefile.in: Support aarch64-linux.
+
        * init.c [__linux__] (HAVE_GNAT_ALTERNATE_STACK): New define.
        (__gnat_alternate_stack): Enable for all linux except ia64.
 
index 9af1967ce9f4b775d5056bb9cd9c769b08fe77c9..cc21b79dadcda42736289e87d84f1d0fb66ce7ad 100644 (file)
@@ -2188,6 +2188,44 @@ ifeq ($(strip $(filter-out alpha% linux%,$(target_cpu) $(target_os))),)
   LIBRARY_VERSION := $(LIB_VERSION)
 endif
 
+# AArch64 Linux
+ifeq ($(strip $(filter-out aarch64% linux%,$(arch) $(osys))),)
+  LIBGNAT_TARGET_PAIRS = \
+  a-exetim.adb<a-exetim-posix.adb \
+  a-exetim.ads<a-exetim-default.ads \
+  a-intnam.ads<a-intnam-linux.ads \
+  a-synbar.adb<a-synbar-posix.adb \
+  a-synbar.ads<a-synbar-posix.ads \
+  s-inmaop.adb<s-inmaop-posix.adb \
+  s-intman.adb<s-intman-posix.adb \
+  s-linux.ads<s-linux.ads \
+  s-mudido.adb<s-mudido-affinity.adb \
+  s-osinte.ads<s-osinte-linux.ads \
+  s-osinte.adb<s-osinte-posix.adb \
+  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-tpopsp.adb<s-tpopsp-tls.adb \
+  s-taspri.ads<s-taspri-posix.ads \
+  g-sercom.adb<g-sercom-linux.adb \
+  $(ATOMICS_TARGET_PAIRS) \
+  $(ATOMICS_BUILTINS_TARGET_PAIRS) \
+  system.ads<system-linux-x86_64.ads
+  ## ^^ Note the above is a pretty-close placeholder.
+
+  TOOLS_TARGET_PAIRS =  \
+    mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
+    indepsw.adb<indepsw-gnu.adb
+
+  EXTRA_GNATRTL_TASKING_OBJS=s-linux.o a-exetim.o
+  EH_MECHANISM=-gcc
+  THREADSLIB=-lpthread -lrt
+  GNATLIB_SHARED=gnatlib-shared-dual
+  GMEM_LIB = gmemlib
+  LIBRARY_VERSION := $(LIB_VERSION)
+endif
+
 # x86-64 Linux
 ifeq ($(strip $(filter-out %x86_64 linux%,$(target_cpu) $(target_os))),)
   LIBGNAT_TARGET_PAIRS = \