Browse Source

1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>

* scripttempl/i386go32.sc: Add handling of linkonce sections.
gdb-premipsmulti-2000-06-06-branch
Ian Lance Taylor 27 years ago
parent
commit
5a1bd109d4
  1. 2
      ld/ChangeLog
  2. 7
      ld/scripttempl/i386go32.sc

2
ld/ChangeLog

@ -1,5 +1,7 @@
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Add handling of linkonce sections.
* configure.bat: Remove; obsolete.
* emulparams/go32.sh: Remove; obsolete.
* scripttempl/go32coff.sc: Remove; obsolete.

7
ld/scripttempl/i386go32.sc

@ -17,8 +17,10 @@ SECTIONS
{
.text ${RELOCATING+ ${TARGET_PAGE_SIZE}+SIZEOF_HEADERS} : {
*(.text)
${RELOCATING+*(.gnu.linkonce.t*)}
*(.const*)
*(.ro*)
${RELOCATING+*(.gnu.linkonce.r*)}
${RELOCATING+etext = . ; _etext = .};
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
@ -30,8 +32,9 @@ SECTIONS
*(.dtor)
djgpp_last_dtor = . ;}
*(.data)
${RELOCATING+ edata = . ; _edata = .};
${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
${RELOCATING+*(.gnu.linkonce.d*)}
${RELOCATING+edata = . ; _edata = .};
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
${CONSTRUCTING+${RELOCATING-$CTOR}}
${CONSTRUCTING+${RELOCATING-$DTOR}}

Loading…
Cancel
Save