aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/provide.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/provide.exp')
-rw-r--r--ld/testsuite/ld-scripts/provide.exp15
1 files changed, 10 insertions, 5 deletions
diff --git a/ld/testsuite/ld-scripts/provide.exp b/ld/testsuite/ld-scripts/provide.exp
index 6589e17..7e2c0e7 100644
--- a/ld/testsuite/ld-scripts/provide.exp
+++ b/ld/testsuite/ld-scripts/provide.exp
@@ -15,15 +15,20 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
+# USA.
-if [istarget "rs6000-*-aix*"] {
- # Target maps .text and .data to other sections.
+# AIX maps .text and .data to other sections.
+# a.out objdump displays the file header inside the text segment,
+# confusing run_dump_test.
+
+if {[istarget "rs6000-*-aix*"] || [is_aout_format]} {
+ unsupported provide-1
+ unsupported provide-2
+ unsupported provide-3
return
}
-set testname "provide"
-
run_dump_test provide-1
run_dump_test provide-2
setup_xfail *-*-*