(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
authorNick Clifton <nickc@redhat.com>
Wed, 23 Oct 2002 11:21:27 +0000 (11:21 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 23 Oct 2002 11:21:27 +0000 (11:21 +0000)
only when relocating.

ld/ChangeLog
ld/scripttempl/pe.sc

index 93e37d9cd98816dba8fe89288cbc18eecfe43776..2a4080b6f237b0d84a01b167b19f760922a79dab 100644 (file)
@@ -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
index 0ca777fa6f3d61d636acfbe509e3970920768529..a22611c105aca28d047932ce24fc0cf5d5a9d6aa 100644 (file)
@@ -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__)} :