diff options
author | Nick Clifton <nickc@redhat.com> | 2002-10-23 11:21:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-10-23 11:21:27 +0000 |
commit | 3637916721826ea3ad0a19ade02278c9137861be (patch) | |
tree | bf128e4176f02b7354de10c184a0aa1de88b2ef5 /ld/scripttempl | |
parent | 8df7094c00913c6823914e988a4aafaa57a8b6d9 (diff) | |
download | gdb-3637916721826ea3ad0a19ade02278c9137861be.zip gdb-3637916721826ea3ad0a19ade02278c9137861be.tar.gz gdb-3637916721826ea3ad0a19ade02278c9137861be.tar.bz2 |
(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
only when relocating.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/pe.sc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 0ca777f..a22611c 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__)} : |