aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2001-05-24 20:59:23 +0000
committerTom Rix <trix@redhat.com>2001-05-24 20:59:23 +0000
commit3b1b01cf2503d8d3faf35cf5b0cfb82fce7812ce (patch)
tree54d7d3904b2da18b10b640414057d45dd7369597 /ld/emulparams
parentbeb1bf64d083b906a76aa038c5cc5328f0c10e8d (diff)
downloadgdb-3b1b01cf2503d8d3faf35cf5b0cfb82fce7812ce.zip
gdb-3b1b01cf2503d8d3faf35cf5b0cfb82fce7812ce.tar.gz
gdb-3b1b01cf2503d8d3faf35cf5b0cfb82fce7812ce.tar.bz2
Support for xcoff64
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/aixppc.sh2
-rw-r--r--ld/emulparams/aixppc64.sh14
2 files changed, 16 insertions, 0 deletions
diff --git a/ld/emulparams/aixppc.sh b/ld/emulparams/aixppc.sh
index f92e686..b8abe2b 100644
--- a/ld/emulparams/aixppc.sh
+++ b/ld/emulparams/aixppc.sh
@@ -2,3 +2,5 @@ TEMPLATE_NAME=aix
SCRIPT_NAME=aix
OUTPUT_FORMAT="aixcoff-rs6000"
ARCH=powerpc
+SYSCALL_MASK=0x77
+SYMBOL_MODE_MASK=0x0d
diff --git a/ld/emulparams/aixppc64.sh b/ld/emulparams/aixppc64.sh
new file mode 100644
index 0000000..2246e3e
--- /dev/null
+++ b/ld/emulparams/aixppc64.sh
@@ -0,0 +1,14 @@
+TEMPLATE_NAME=aix
+SCRIPT_NAME=aix
+OUTPUT_FORMAT="aixcoff64-rs6000"
+ARCH=powerpc
+SYSCALL_MASK=0xcc
+SYMBOL_MODE_MASK=0x0e
+#
+# This script is called by genscripts.sh. genscripts does not produce the
+# the correct lib search path for the aixppc64 because the default emulation
+# is aixppc. Aix libs can have 32 bit and 64 bit objects in them so it is
+# ok for both the aixppc and aixppc64 linkers to look at the same place.
+# $libdir is defined in genscripts.sh before aixppc64.sh is sourced in
+# so it will be valid.
+LIB_PATH="/lib:/usr/lib:$libdir:/usr/local/lib"