From 8e616ecc6b5f5d7b4972a5a83876140c49d76cd0 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 23 Sep 2002 11:36:15 +0000 Subject: [PATCH] * scripttempl/i386go32.sc: Handle bss unique sections. --- ld/ChangeLog | 4 ++++ ld/scripttempl/i386go32.sc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index ff65729..98e7d42 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2002-09-22 Mark Elbrecht + + * scripttempl/i386go32.sc: Handle bss unique sections. + 2002-09-21 Alan Modra * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset. diff --git a/ld/scripttempl/i386go32.sc b/ld/scripttempl/i386go32.sc index 482a8cb..54908fe 100644 --- a/ld/scripttempl/i386go32.sc +++ b/ld/scripttempl/i386go32.sc @@ -57,7 +57,7 @@ SECTIONS ${CONSTRUCTING+${RELOCATING-$DTOR}} .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} : { - *(.bss) + *(.bss${RELOCATING+ .bss.* .gnu.linkonce.b.*}) *(COMMON) ${RELOCATING+ end = . ; PROVIDE(_end = .) ;} ${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});} -- 2.7.4