This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
__RUNTIME_PSEUDO_RELOC_LIST__
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: cygwin-apps <cygwin-apps at cygwin dot com>, deo at logos-m dot ru
- Date: Tue, 8 Oct 2002 08:47:05 +1000 (EST)
- Subject: __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