Commit 759fde68 by H.J. Lu Committed by H.J. Lu

Don't define ix86_binds_local_p for MacOS nor Windows

	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
parent d6c2d7c1
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
......
......@@ -51737,6 +51737,7 @@ ix86_initialize_bounds (tree var, tree lb, tree ub, tree *stmts)
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. */
......@@ -51749,6 +51750,7 @@ ix86_binds_local_p (const_tree exp)
|| (TARGET_64BIT
&& HAVE_LD_PIE_COPYRELOC != 0)));
}
#endif
/* Initialize the GCC target structure. */
#undef TARGET_RETURN_IN_MEMORY
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment