From f55ba3999c635963f68e749a84d319f9ef34124f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 11 Jan 1999 09:10:54 +0000 Subject: [PATCH] Fill .init and .fini sections with NOPs --- ld/ChangeLog | 5 +++++ ld/scripttempl/fr30.sc | 4 ++-- 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 + + * scripttempl/fr30.sc: Fill .init and .fini sections with NOP + pattern. + 1999-01-03 Ken Raeburn * 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) } -- 2.7.4