diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-22 01:42:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-22 01:42:27 +0000 |
commit | 5a1bd109d4fb99a585a0b753c8b688525bad9e89 (patch) | |
tree | c4e21c44cec19b9a735e9230b50803a25b737545 /ld/scripttempl | |
parent | e9f56b1d20a0486ffc0ab6f28b6607fa56665c0f (diff) | |
download | gdb-5a1bd109d4fb99a585a0b753c8b688525bad9e89.zip gdb-5a1bd109d4fb99a585a0b753c8b688525bad9e89.tar.gz gdb-5a1bd109d4fb99a585a0b753c8b688525bad9e89.tar.bz2 |
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Add handling of linkonce sections.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/i386go32.sc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ld/scripttempl/i386go32.sc b/ld/scripttempl/i386go32.sc index 6bd3d09..303e792 100644 --- a/ld/scripttempl/i386go32.sc +++ b/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}} |