__RUNTIME_PSEUDO_RELOC_LIST__
Danny Smith
danny_r_smith_2001@yahoo.co.nz
Mon Oct 7 15:47:00 GMT 2002
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
More information about the Cygwin-apps
mailing list