aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2008-11-07 16:25:03 +0000
committerRainer Orth <ro@gcc.gnu.org>2008-11-07 16:25:03 +0000
commitf50264425f97bd393878d701e11fc8788c2cf013 (patch)
treed9fe9e8a4abc46877dd3d9b84d788c9981a86d64 /gcc/ada/gcc-interface
parentded05576055144c7d6e945109d4dfc8297039c8a (diff)
downloadgcc-f50264425f97bd393878d701e11fc8788c2cf013.zip
gcc-f50264425f97bd393878d701e11fc8788c2cf013.tar.gz
gcc-f50264425f97bd393878d701e11fc8788c2cf013.tar.bz2
re PR ada/37681 (Building 64-bit libada fails on Solaris/x86: alignment error)
* system-irix-n64.ads: New file. * gcc-interface/Makefile.in (mips-sgi-irix6*): Support O32 and N64 multilibs. PR ada/37681 * system-solaris-x86_64.ads: New file. * gcc-interface/Makefile.in (*86-solaris2*): Support x86_64 multilib. From-SVN: r141681
Diffstat (limited to 'gcc/ada/gcc-interface')
-rw-r--r--gcc/ada/gcc-interface/Makefile.in29
1 files changed, 24 insertions, 5 deletions
diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
index 58100bb..3a07dda 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -818,9 +818,16 @@ ifeq ($(strip $(filter-out %86 solaris2%,$(arch) $(osys))),)
s-tasinf.ads<s-tasinf-solaris.ads \
s-taspri.ads<s-taspri-solaris.ads \
s-tpopsp.adb<s-tpopsp-solaris.adb \
- g-bytswa.adb<g-bytswa-x86.adb \
- g-soliop.ads<g-soliop-solaris.ads \
- system.ads<system-solaris-x86.ads
+ g-soliop.ads<g-soliop-solaris.ads
+
+ ifeq ($(strip $(MULTISUBDIR)),/amd64)
+ LIBGNAT_TARGET_PAIRS += \
+ system.ads<system-solaris-x86_64.ads
+ else
+ LIBGNAT_TARGET_PAIRS += \
+ g-bytswa.adb<g-bytswa-x86.adb \
+ system.ads<system-solaris-x86.ads
+ endif
TOOLS_TARGET_PAIRS=mlib-tgt-specific.adb<mlib-tgt-specific-solaris.adb
@@ -1016,8 +1023,20 @@ ifeq ($(strip $(filter-out mips sgi irix%,$(targ))),)
s-tasinf.ads<s-tasinf-irix.ads \
s-taspri.ads<s-taspri-posix.ads \
s-tpopsp.adb<s-tpopsp-posix.adb \
- s-traceb.adb<s-traceb-mastop.adb \
- system.ads<system-irix-n32.ads
+ s-traceb.adb<s-traceb-mastop.adb
+
+ ifeq ($(strip $(MULTISUBDIR)),/64)
+ LIBGNAT_TARGET_PAIRS += \
+ system.ads<system-irix-n64.ads
+ else
+ ifeq ($(strip $(MULTISUBDIR)),/32)
+ LIBGNAT_TARGET_PAIRS += \
+ system.ads<system-irix-o32.ads
+ else
+ LIBGNAT_TARGET_PAIRS += \
+ system.ads<system-irix-n32.ads
+ endif
+ endif
THREADSLIB = -lpthread
GNATLIB_SHARED = gnatlib-shared-default