aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/fr30.sc4
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index db3bcf7..f5b565a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+1999-01-11 Nick Clifton <nickc@cygnus.com>
+
+ * scripttempl/fr30.sc: Fill .init and .fini sections with NOP
+ pattern.
+
1999-01-03 Ken Raeburn <raeburn@cygnus.com>
* Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU,
diff --git a/ld/scripttempl/fr30.sc b/ld/scripttempl/fr30.sc
index 0d29117..1bae594 100644
--- a/ld/scripttempl/fr30.sc
+++ b/ld/scripttempl/fr30.sc
@@ -32,7 +32,7 @@ SECTIONS
.rela.bss : { *(.rela.bss) }
.rel.plt : { *(.rel.plt) }
.rela.plt : { *(.rela.plt) }
- .init : { KEEP (*(.init)) } =0
+ .init : { KEEP (*(.init)) } =0x9fa0
.plt : { *(.plt) }
.text : {
@@ -46,7 +46,7 @@ SECTIONS
${RELOCATING+_etext = .;}
${RELOCATING+PROVIDE (etext = .);}
- .fini : { KEEP (*(.fini)) } =0
+ .fini : { KEEP (*(.fini)) } =0x9fa0
.rodata : { *(.rodata) ${RELOCATING+*(.rodata.*)} *(.gnu.linkonce.r*) }
.rodata1 : { *(.rodata1) }