This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

__RUNTIME_PSEUDO_RELOC_LIST__


The  __RUNTIME_PSEUDO_RELOC_LIST__ addition to ldscripts causes problems
with ld -r -o foo.o bar.o baz.o because of multiple definitions.  This
change fixes that problem, but how will it affect intended usage of the
-auto-import extension?

--- pe.sc.orig	Sun Sep 29 05:26:05 2002
+++ pe.sc	Mon Oct 07 23:04:11 2002
@@ -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__)} :

http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Always be connected to your Messenger Friends


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]