This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
An AIX patch for ld
- To: trix at redhat dot com
- Subject: An AIX patch for ld
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Fri, 25 May 2001 14:28:10 -0700
- Cc: binutils at sourceware dot cygnus dot com
Hi Tom,
Your AIX ld checkin is wrong and incomplete. Your ChangeLog entry
listed emulparams/aixrs6.sh. But it was not changed at all. You
also added a remove file. I checked in the following patch. Please
double check if they are correct.
H.J.
----
2001-05-25 H.J. Lu <hjl@gnu.org>
* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.
* emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
instead of ${srcdir}/emultempl/stringify.sed.
? .configure.in.swp
Index: emulparams/aixrs6.sh
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/emulparams/aixrs6.sh,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 aixrs6.sh
--- emulparams/aixrs6.sh 1999/06/03 18:02:10 1.1.1.1
+++ emulparams/aixrs6.sh 2001/05/25 21:15:09
@@ -2,3 +2,5 @@ TEMPLATE_NAME=aix
SCRIPT_NAME=aix
OUTPUT_FORMAT="aixcoff-rs6000"
ARCH=rs6000
+SYSCALL_MASK=0x77
+SYMBOL_MODE_MASK=0x0d
Index: emultempl/aix.em
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/emultempl/aix.em,v
retrieving revision 1.1.1.8
diff -u -p -r1.1.1.8 aix.em
--- emultempl/aix.em 2001/05/25 05:45:29 1.1.1.8
+++ emultempl/aix.em 2001/05/25 21:15:09
@@ -1202,7 +1202,7 @@ then
# Scripts compiled in.
# sed commands to quote an ld script as a C string.
-sc="-f ${srcdir}/emultempl/stringify.sed"
+sc="-f ${srcdir}/emultempl/ostring.sed"
cat >>e${EMULATION_NAME}.c <<EOF
{