This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld/scripttempl/elf.sc broken with ksh
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Graeme Peterson <gp at qnx dot com>
- Cc: binutils at sources dot redhat dot com, jakub at redhat dot com
- Date: Thu, 6 Jun 2002 11:50:19 +0930
- Subject: Re: ld/scripttempl/elf.sc broken with ksh
- References: <200206051905.TAA1385488419@node128.ott.qnx.com>
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