This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] ld: do not merge rdata with v2 psuedo-relocs
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: binutils at sourceware dot org
- Date: Fri, 26 Apr 2013 15:49:13 -0500
- Subject: [PATCH] ld: do not merge rdata with v2 psuedo-relocs
Rationale is discussed at length in thread beginning here:
http://cygwin.com/ml/cygwin-apps/2013-04/msg00187.html
Patch attached.
Yaakov
Cygwin Ports
2013-04-26 Yaakov Selkowitz <yselkowitz@...>
* emultempl/pe.em [cygwin]: Do not merge rdata with v2 psuedo-relocs.
Index: ld/emultempl/pe.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/pe.em,v
retrieving revision 1.175
diff -u -p -r1.175 pe.em
--- ld/emultempl/pe.em 10 Jan 2013 20:08:03 -0000 1.175
+++ ld/emultempl/pe.em 26 Apr 2013 20:39:26 -0000
@@ -174,7 +174,7 @@ EOF
case ${target} in
*-*-cygwin*)
default_auto_import=1
- default_merge_rdata=1
+ default_merge_rdata=0
;;
i[3-7]86-*-mingw* | x86_64-*-mingw*)
default_auto_import=1