diff --git a/ld/ChangeLog b/ld/ChangeLog index 7360588f84..7db7e0a0f8 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 a22611c105..2fd27f93d2 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__ = .;} }