This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
ltcf-cxx AIX -bernotok
- From: Tom Rix <trix at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dje at watson dot ibm dot com
- Date: Wed, 01 May 2002 15:21:35 -0500
- Subject: ltcf-cxx AIX -bernotok
This patch fixes an invalid AIX linker option in ltcf-cxx.sh.
Replace -bnoerok with -bernotok.
I came across this from reading the code. AFAIK, no_undefined_flag is
dead code. A sanity check of passing a really bogus value didn't break
anything.
OK to commit?
Tom
--
Tom Rix
GCC Engineer
trix@redhat.com
2002-05-01 Tom Rix <trix@redhat.com>
* ltcf-cxx.sh : Fix no_undefined_flag for AIX.
Index: ltcf-cxx.sh
===================================================================
RCS file: /cvs/gcc/gcc/ltcf-cxx.sh,v
retrieving revision 1.22
diff -d -u -p -r1.22 ltcf-cxx.sh
--- ltcf-cxx.sh 1 Sep 2001 00:47:19 -0000 1.22
+++ ltcf-cxx.sh 1 May 2002 13:38:01 -0000
@@ -200,7 +200,7 @@ case $host_os in
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
# Warning - without using the other run time loading flags, -berok will
# link without error, but may produce a broken library.
- no_undefined_flag=' ${wl}-bnoerok'
+ no_undefined_flag=' ${wl}-bernotok'
allow_undefined_flag=' ${wl}-berok'
# -bexpall does not export symbols beginning with underscore (_)
always_export_symbols=yes