summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-10-23 11:21:27 +0000
committerNick Clifton <nickc@redhat.com>2002-10-23 11:21:27 +0000
commit97b11cc84a49c2a7f69cf9482d958bdeb132a3b4 (patch)
tree9b8d31b51fee20c6d08762714371fdac34170c90
parentc62605c39cc215b53b81891a8cc55fc26e008114 (diff)
downloadbinutils-redhat-97b11cc84a49c2a7f69cf9482d958bdeb132a3b4.tar.gz
(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
only when relocating.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/pe.sc8
2 files changed, 9 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 93e37d9cd9..2a4080b6f2 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net>
+
+ * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
+ __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
+
2002-10-22 Alexandre Oliva <aoliva@redhat.com>
* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index 0ca777fa6f..a22611c105 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__)} :