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
On Thu, Jun 06, 2002 at 11:50:19AM +0930, Alan Modra wrote:
> ld/ChangeLog
> * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
I'm committing this one.
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 7 Jun 2002 09:52:42 -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.*})${RELOCATING+ *(.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