This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

DJGPP linker script update


Hello all,
This patch updates DJGPP's linker script to handle bss unique sections. Could someone please apply 
this?

ld/Changelog:

2002-09-22  Mark Elbrecht  <snowball3@softhome.net>

	* scripttempl/i386go32.sc: Handle bss unique sections.

Index: i386go32.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/i386go32.sc,v
retrieving revision 1.7
diff -c -p -r1.7 i386go32.sc
*** i386go32.sc	23 Mar 2001 23:05:07 -0000	1.7
--- i386go32.sc	22 Sep 2002 17:20:15 -0000
*************** SECTIONS
*** 57,63 ****
    ${CONSTRUCTING+${RELOCATING-$DTOR}}
    .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
    { 					
!     *(.bss)
      *(COMMON)
      ${RELOCATING+ end = . ; PROVIDE(_end = .) ;}
      ${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
--- 57,63 ----
    ${CONSTRUCTING+${RELOCATING-$DTOR}}
    .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
    { 					
!     *(.bss${RELOCATING+ .bss.* .gnu.linkonce.b.*})
      *(COMMON)
      ${RELOCATING+ end = . ; PROVIDE(_end = .) ;}
      ${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]