]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fill .init and .fini sections with NOPs
authorNick Clifton <nickc@redhat.com>
Mon, 11 Jan 1999 09:10:54 +0000 (09:10 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 11 Jan 1999 09:10:54 +0000 (09:10 +0000)
ld/ChangeLog
ld/scripttempl/fr30.sc

index db3bcf7d524c03c773fd2b05c5f36935476655d2..f5b565a394b37d6db29bbd294d1e0810564d51a4 100644 (file)
@@ -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,
index 0d29117d3a11b22553e86271760d440811535807..1bae594574f582f70bc9ea846c342f16f0744216 100644 (file)
@@ -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) }