aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/pe.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r--ld/scripttempl/pe.sc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index 712c2c4..bd9f27e 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -48,7 +48,7 @@ SECTIONS
- .edata BLOCK(__section_alignment__) : {
+ .edata BLOCK(__section_alignment__) : {
*(.edata) ;
}
@@ -97,7 +97,9 @@ SECTIONS
.endjunk BLOCK(__section_alignment__) :
{
+ /* end is deprecated, don't use it */
${RELOCATING+ end = .};
+ ${RELOCATING+ __end__ = .};
}
.stab BLOCK(__section_alignment__) ${RELOCATING+(NOLOAD)} :