From e3b66208d10d41c18adf808811be92dcf846f9d4 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 16 May 2011 13:47:28 +0000 Subject: Replace --private with --private-headers for objdump. 2011-05-16 H.J. Lu * ld-scripts/phdrs.exp: Replace --private with --private-headers for objdump. * ld-scripts/phdrs2.exp: Likewise. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-scripts/phdrs.exp | 2 +- ld/testsuite/ld-scripts/phdrs2.exp | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'ld') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 11383be..0874ab4 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-05-16 H.J. Lu + + * ld-scripts/phdrs.exp: Replace --private with + --private-headers for objdump. + * ld-scripts/phdrs2.exp: Likewise. + 2011-05-15 Richard Sandiford * lib/ld-lib.exp (run_ld_link_tests): Simplify pass/fail logic. diff --git a/ld/testsuite/ld-scripts/phdrs.exp b/ld/testsuite/ld-scripts/phdrs.exp index a112d3a..c4e5699 100644 --- a/ld/testsuite/ld-scripts/phdrs.exp +++ b/ld/testsuite/ld-scripts/phdrs.exp @@ -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 diff --git a/ld/testsuite/ld-scripts/phdrs2.exp b/ld/testsuite/ld-scripts/phdrs2.exp index e75acfb..b680d85 100644 --- a/ld/testsuite/ld-scripts/phdrs2.exp +++ b/ld/testsuite/ld-scripts/phdrs2.exp @@ -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 -- cgit v1.1