From 15c9f67344da812f6b36933c2aeae9d82e7431ff Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 3 Mar 2003 02:38:10 +0000 Subject: [PATCH] * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, --- ld/ChangeLog | 4 ++++ ld/scripttempl/pe.sc | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7360588f842..7db7e0a0f80 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2003-03-02 Danny Smith + + * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, + 2003-03-03 Alan Modra * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index a22611c105a..2fd27f93d26 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__ = .;} } -- 2.30.2