PR target/43888
* config/i386/winnt.c (i386_pe_binds_local_p): Tweak weak symbol
handling to still return true for x64 targets.
From-SVN: r159111
+2010-05-06 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ PR target/43888
+ * config/i386/winnt.c (i386_pe_binds_local_p): Tweak weak symbol
+ handling to still return true for x64 targets.
+
2010-05-06 Maxim Kuvyrkov <maxim@codesourcery.com>
* config/m68k/uclinux.h (LIB_SPEC): Bring in sync with config/linux.h.
/* Or a weak one, now that they are supported. */
if ((TREE_CODE (exp) == VAR_DECL || TREE_CODE (exp) == FUNCTION_DECL)
&& DECL_WEAK (exp))
- return false;
+ /* But x64 gets confused and attempts to use unsupported GOTPCREL
+ relocations if we tell it the truth, so we still return true in
+ that case until the deeper problem can be fixed. */
+ return (TARGET_64BIT && DEFAULT_ABI == MS_ABI);
return true;
}