From: Nick Clifton Date: Wed, 23 Oct 2002 11:21:27 +0000 (+0000) Subject: (__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3637916721826ea3ad0a19ade02278c9137861be;p=binutils-gdb.git (__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 93e37d9cd98..2a4080b6f23 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-10-21 Danny Smith + + * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__, + __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating. + 2002-10-22 Alexandre Oliva * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 0ca777fa6f3..a22611c105a 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -85,11 +85,11 @@ SECTIONS *(.rdata) ${R_RDATA} *(.eh_frame) - ___RUNTIME_PSEUDO_RELOC_LIST__ = .; - __RUNTIME_PSEUDO_RELOC_LIST__ = .; + ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST__ = .;} + ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST__ = .;} *(.rdata_runtime_pseudo_reloc) - ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .; - __RUNTIME_PSEUDO_RELOC_LIST_END__ = .; + ${RELOCATING+___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;} + ${RELOCATING+__RUNTIME_PSEUDO_RELOC_LIST_END__ = .;} } .pdata ${RELOCATING+BLOCK(__section_alignment__)} :