aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/i386go32.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/i386go32.sc')
-rw-r--r--ld/scripttempl/i386go32.sc7
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}}