This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[RFA] gdb/config/powerpc/aix.mh LDFLAGS



Kevin, Nick,

I was trying a build on a host that used xcoffread.c....  and I ran
into this. The gnu linker doesn't understand the bigtoc option, and
gdb doesn't build.

Elena

2001-07-23  Elena Zannoni  <ezannoni@redhat.com>

	* config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
	doesn't understand them.


Index: aix.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/aix.mh,v
retrieving revision 1.3
diff -u -p -r1.3 aix.mh
--- aix.mh	2000/11/09 09:49:00	1.3
+++ aix.mh	2001/07/23 20:38:52
@@ -12,4 +12,6 @@ NATDEPFILES= fork-child.o infptrace.o in
 # MH_CFLAGS = -bnodelcsect
 
 # gdb is too big for all of its external symbols to fit in a small TOC
-MH_LDFLAGS = -Wl,-bbigtoc
+# It looks like the GNU linker doesn't understand the -bbigtoc switch.
+# This switch may be needed for some vendor compilers.
+# MH_LDFLAGS = -Wl,-bbigtoc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]