PATCH: Two PPC fixes (?) for 2.10
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Thu Apr 6 03:04:00 GMT 2000
Hi,
I just remembered I have some minor fixes in my tree. The first hunk is a
repost of < http://sourceware.cygnus.com/ml/binutils/1999-10/msg00048.html >,
which was more or less approved by Jonathan Larmour already.
The second hunk I found by comparing the differences between elf.sc and
elfppc.sc. It would be nice if somebody could comment on this one.
Franz.
* elfppc.sc: Sort constructors, add more stab sections.
Index: ld/scripttempl/elfppc.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfppc.sc,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 elfppc.sc
--- elfppc.sc 1999/05/03 07:29:08 1.1.1.1
+++ elfppc.sc 2000/04/06 08:49:32
@@ -170,7 +170,7 @@ SECTIONS
*(.data)
${RELOCATING+*(.data.*)}
${RELOCATING+*(.gnu.linkonce.d*)}
- ${CONSTRUCTING+CONSTRUCTORS}
+ ${CONSTRUCTING+SORT(CONSTRUCTORS)}
}
.data1 ${RELOCATING-0} : { *(.data1) }
${RELOCATING+${OTHER_READWRITE_SECTIONS}}
@@ -250,7 +250,11 @@ SECTIONS
converted to the new style linker. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
-
+ .stab.excl 0 : { *(.stab.excl) }
+ .stab.exclstr 0 : { *(.stab.exclstr) }
+ .stab.index 0 : { *(.stab.index) }
+ .stab.indexstr 0 : { *(.stab.indexstr) }
+
/* DWARF debug sections.
Symbols in the DWARF debugging sections are relative to the beginning
of the section so we begin them at 0. */
More information about the Binutils
mailing list