This is the mail archive of the binutils@sources.redhat.com 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]

ppc .fixup sections


We shouldn't be creating these anymore on powerpc-linux, but older
gcc's do so.

bfd/ChangeLog
	* elflink.c (elf_section_complain_discarded): Ignore .fixup.

Index: bfd/elflink.c
===================================================================
RCS file: /cvs/src/src/bfd/elflink.c,v
retrieving revision 1.94
diff -u -p -r1.94 elflink.c
--- bfd/elflink.c	13 Aug 2004 03:15:55 -0000	1.94
+++ bfd/elflink.c	16 Aug 2004 00:14:26 -0000
@@ -6337,6 +6337,9 @@ elf_section_complain_discarded (asection
   if (strcmp (".PARISC.unwind", sec->name) == 0)
     return FALSE;
 
+  if (strcmp (".fixup", sec->name) == 0)
+    return FALSE;
+
   return TRUE;
 }
 

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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