ld/scripttempl/elf.sc broken with ksh
Alan Modra
amodra@bigpond.net.au
Wed Jun 5 19:20:00 GMT 2002
On Wed, Jun 05, 2002 at 03:05:52PM -0400, Graeme Peterson wrote:
> The line is at line 314 in elf.sc:
> .tbss ${RELOCATING-0} : { *(.tbss${RELOCATING+ .tbss.* .gnu.linkonce.tb.*) *(.tcommon}) }
Jakub, did you want .tcommon all together, or is it OK to intermingle
with the other .tbss, .tbss.* etc. input sections?
ld/ChangeLog
* scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
Index: ld/scripttempl/elf.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf.sc,v
retrieving revision 1.31
diff -u -p -r1.31 elf.sc
--- ld/scripttempl/elf.sc 23 May 2002 13:12:53 -0000 1.31
+++ ld/scripttempl/elf.sc 6 Jun 2002 02:12:55 -0000
@@ -311,7 +311,7 @@ cat <<EOF
}
.data1 ${RELOCATING-0} : { *(.data1) }
.tdata ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }
- .tbss ${RELOCATING-0} : { *(.tbss${RELOCATING+ .tbss.* .gnu.linkonce.tb.*) *(.tcommon}) }
+ .tbss ${RELOCATING-0} : { *(.tbss${RELOCATING+ .tbss.* .gnu.linkonce.tb.* .tcommon}) }
.eh_frame ${RELOCATING-0} : { KEEP (*(.eh_frame)) }
.gcc_except_table ${RELOCATING-0} : { *(.gcc_except_table) }
${WRITABLE_RODATA+${RODATA}}
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list