From 3b1b01cf2503d8d3faf35cf5b0cfb82fce7812ce Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Thu, 24 May 2001 20:59:23 +0000 Subject: Support for xcoff64 --- ld/emulparams/aixppc.sh | 2 ++ ld/emulparams/aixppc64.sh | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 ld/emulparams/aixppc64.sh (limited to 'ld/emulparams') 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" -- cgit v1.1