This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PowerPC64 and --no-undefined-version


I noticed today that --no-undefined-version gives errors on ppc64, due
to the dot-sym patterns added by the ppc64 new_vers_pattern code
(which could probably be removed now that non-dotsym gcc has been out
for some years).

	* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For
	--no-undefined-version, don't report dot sym versions added by ld.

Index: ld/emultempl/ppc64elf.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/ppc64elf.em,v
retrieving revision 1.71
diff -u -p -r1.71 ppc64elf.em
--- ld/emultempl/ppc64elf.em	25 Jun 2010 05:20:57 -0000	1.71
+++ ld/emultempl/ppc64elf.em	28 Oct 2010 03:49:50 -0000
@@ -599,6 +599,7 @@ gld${EMULATION_NAME}_new_vers_pattern (s
   dot_pat[0] = '.';
   memcpy (dot_pat + 1, entry->pattern, len - 1);
   dot_entry->pattern = dot_pat;
+  dot_entry->script = 1;
   return dot_entry;
 }
 
-- 
Alan Modra
Australia Development Lab, IBM


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