This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
patch, aix ld -bnortl support
- From: Tom Rix <trix at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Sat, 18 May 2002 12:49:04 -0500
- Subject: patch, aix ld -bnortl support
This patch adds emulation support for -bnortl and -bnortllib on AIX.
Tom
--
Tom Rix
GCC Engineer
trix@redhat.com
2002-05-18 Tom Rix <trix@redhat.com>
* emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
support.
Index: ld/emultempl/aix.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/aix.em,v
retrieving revision 1.23
diff -d -u -p -r1.23 aix.em
--- ld/emultempl/aix.em 10 May 2002 21:20:16 -0000 1.23
+++ ld/emultempl/aix.em 18 May 2002 16:47:34 -0000
@@ -135,7 +135,8 @@ static unsigned int syscall_mask = 0x77;
/* fake file for -binitfini support */
static lang_input_statement_type *initfini_file;
-/* Whether to do run time linking */
+/* Whether to do run time linking
+ -brtl enables, -bnortl and -bnortllib disable. */
static int rtld;
/* Explicit command line library path, -blibpath */
@@ -243,6 +244,8 @@ gld${EMULATION_NAME}_parse_args (argc, a
{"bpT", required_argument, NULL, OPTION_PT},
{"bro", no_argument, &textro, 1},
{"brtl", no_argument, &rtld, 1},
+ {"bnortl", no_argument, &rtld, 0},
+ {"bnortllib", no_argument, &rtld, 0},
{"bS", required_argument, NULL, OPTION_MAXSTACK},
{"bso", no_argument, NULL, OPTION_AUTOIMP},
{"bstrcmpct", no_argument, NULL, OPTION_STRCMPCT},