Replace --private with --private-headers for objdump.

2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-scripts/phdrs.exp: Replace --private with
	--private-headers for objdump.
	* ld-scripts/phdrs2.exp: Likewise.
This commit is contained in:
H.J. Lu 2011-05-16 13:47:28 +00:00
parent 429628a55b
commit e3b66208d1
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/phdrs.exp: Replace --private with
--private-headers for objdump.
* ld-scripts/phdrs2.exp: Likewise.
2011-05-15 Richard Sandiford <rdsandiford@googlemail.com>
* lib/ld-lib.exp (run_ld_link_tests): Simplify pass/fail logic.

View File

@ -56,7 +56,7 @@ if ![ld_simple_link $ld tmpdir/phdrs $ldopt] {
unresolved $testname
return
}
set exec_output [run_host_cmd "$objdump" "--private tmpdir/phdrs"]
set exec_output [run_host_cmd "$objdump" "--private-headers tmpdir/phdrs"]
set exec_output [prune_warnings $exec_output]
verbose -log $exec_output

View File

@ -63,7 +63,7 @@ if ![ld_simple_link $ld tmpdir/phdrs2 $ldopt] {
return
}
set exec_output [run_host_cmd "$objdump" "--private tmpdir/phdrs2"]
set exec_output [run_host_cmd "$objdump" "--private-headers tmpdir/phdrs2"]
set exec_output [prune_warnings $exec_output]
verbose -log $exec_output