From: Christopher Faylor Date: Mon, 3 Mar 2003 02:38:10 +0000 (+0000) Subject: * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15c9f67344da812f6b36933c2aeae9d82e7431ff;p=binutils-gdb.git * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, --- 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__ = .;} }