aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-01-11 09:10:54 +0000
committerNick Clifton <nickc@redhat.com>1999-01-11 09:10:54 +0000
commitf55ba3999c635963f68e749a84d319f9ef34124f (patch)
tree835006eca93ea3cdbc8b17cb12bc4e24d78fea80 /ld
parent07dbe976835885de48f01fc4e2b5d1abfc150678 (diff)
downloadgdb-f55ba3999c635963f68e749a84d319f9ef34124f.zip
gdb-f55ba3999c635963f68e749a84d319f9ef34124f.tar.gz
gdb-f55ba3999c635963f68e749a84d319f9ef34124f.tar.bz2
Fill .init and .fini sections with NOPs
Diffstat (limited to 'ld')
-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) }