Build x32 DSO from x86-64 object file only for native.

2011-06-08  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-x86-64/x86-64.exp: Build x32 DSO from x86-64 object file
	only for native.
This commit is contained in:
H.J. Lu 2011-06-09 06:00:09 +00:00
parent adc7571d31
commit 56d4d7f261
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-06-08 H.J. Lu <hongjiu.lu@intel.com>
* ld-x86-64/x86-64.exp: Build x32 DSO from x86-64 object file
only for native.
2011-06-08 H.J. Lu <hongjiu.lu@intel.com>
* ld-x86-64/simple.c: New.

View File

@ -204,8 +204,8 @@ run_dump_test "lp64-1"
run_dump_test "lp64-2"
run_dump_test "lp64-3"
# Need the C compiler
if { [which $CC] != 0 } {
# Must be native with the C compiler
if { [isnative] && [which $CC] != 0 } {
run_cc_link_tests {
{"Helper X32 DSO from x86-64 object" "" "-m64 -fPIC -g"
{simple.c} {} "libsimple.a"}