PR target/65780
* config/i386/i386.c (ix86_binds_local_p): Define only if
TARGET_MACHO and TARGET_DLLIMPORT_DECL_ATTRIBUTES are false.
From-SVN: r222201
+2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/65780
+ * config/i386/i386.c (ix86_binds_local_p): Define only if
+ TARGET_MACHO and TARGET_DLLIMPORT_DECL_ATTRIBUTES are false.
+
2015-04-17 Jeff Law <law@redhat.com>
PR tree-optimization/47679
return 2;
}
+#if !TARGET_MACHO && !TARGET_DLLIMPORT_DECL_ATTRIBUTES
/* For i386, common symbol is local only for non-PIE binaries. For
x86-64, common symbol is local only for non-PIE binaries or linker
supports copy reloc in PIE binaries. */
|| (TARGET_64BIT
&& HAVE_LD_PIE_COPYRELOC != 0)));
}
+#endif
/* Initialize the GCC target structure. */
#undef TARGET_RETURN_IN_MEMORY