aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-05-16 13:47:28 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-05-16 13:47:28 +0000
commite3b66208d10d41c18adf808811be92dcf846f9d4 (patch)
tree2f4a3a1bc4f6a89e802b66c8bc4c29a86b81ed4b /ld
parent429628a55b5725631bad19b14ab7837a60c7e892 (diff)
downloadgdb-e3b66208d10d41c18adf808811be92dcf846f9d4.zip
gdb-e3b66208d10d41c18adf808811be92dcf846f9d4.tar.gz
gdb-e3b66208d10d41c18adf808811be92dcf846f9d4.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-scripts/phdrs.exp2
-rw-r--r--ld/testsuite/ld-scripts/phdrs2.exp2
3 files changed, 8 insertions, 2 deletions
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 <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.
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