aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/data.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/data.exp')
-rw-r--r--ld/testsuite/ld-scripts/data.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/data.exp b/ld/testsuite/ld-scripts/data.exp
index 7f63110..8dd173a 100644
--- a/ld/testsuite/ld-scripts/data.exp
+++ b/ld/testsuite/ld-scripts/data.exp
@@ -17,4 +17,11 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+# An a.out "objdump -s -j .text" has the file header visible inside the
+# text segment, confusing run_dump_test.
+if {[is_aout_format]} {
+ unsupported data
+ return
+}
+
run_dump_test data