diff options
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/pe.sc | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 7360588..7db7e0a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2003-03-02 Danny Smith <dannysmith@users.sourceforge.net> + + * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, + 2003-03-03 Alan Modra <amodra@bigpond.net.au> * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index a22611c..2fd27f9 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -60,7 +60,7 @@ SECTIONS ${RELOCATING+ *(.fini)} /* ??? Why is .gcc_exc here? */ ${RELOCATING+ *(.gcc_exc)} - ${RELOCATING+ etext = .;} + ${RELOCATING+PROVIDE (etext = .);} *(.gcc_except_table) } @@ -132,8 +132,8 @@ SECTIONS .endjunk ${RELOCATING+BLOCK(__section_alignment__)} : { /* end is deprecated, don't use it */ - ${RELOCATING+ end = .;} - ${RELOCATING+ _end = .;} + ${RELOCATING+PROVIDE (end = .);} + ${RELOCATING+PROVIDE ( _end = .);} ${RELOCATING+ __end__ = .;} } |