aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-01-05 15:43:37 +1030
committerAlan Modra <amodra@gmail.com>2021-01-05 15:47:06 +1030
commit40b119304e2b412975edce421fd7f943a6c24942 (patch)
treed3938dc23a732aa338320cfe2e1bfa6bc403ff25
parentde6a7ee4bd18b7812ee5ff9abb62e2889daa501b (diff)
downloadgdb-40b119304e2b412975edce421fd7f943a6c24942.zip
gdb-40b119304e2b412975edce421fd7f943a6c24942.tar.gz
gdb-40b119304e2b412975edce421fd7f943a6c24942.tar.bz2
Re: elf: Allow mixed ordered/unordered inputs for non-relocatable link
PR ld/26256 * testsuite/ld-elf/pr26256-1b.d: xfail s12z. * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/testsuite/ld-elf/pr26256-1b.d2
-rw-r--r--ld/testsuite/ld-scripts/crossref.exp3
3 files changed, 8 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1fe689a..5fa5677 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2021-01-05 Alan Modra <amodra@gmail.com>
+
+ PR ld/26256
+ * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
+ * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
+
2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
PR ld/26256
diff --git a/ld/testsuite/ld-elf/pr26256-1b.d b/ld/testsuite/ld-elf/pr26256-1b.d
index 760c6d8..c5652b1 100644
--- a/ld/testsuite/ld-elf/pr26256-1b.d
+++ b/ld/testsuite/ld-elf/pr26256-1b.d
@@ -1,6 +1,8 @@
#source: pr26256-1.s
#ld: -e _start
#nm: -n
+# s12z uses memory regions
+#xfail: s12z-*-*
#...
[0-9a-f]+ T _start
diff --git a/ld/testsuite/ld-scripts/crossref.exp b/ld/testsuite/ld-scripts/crossref.exp
index f689539..c7f20b1 100644
--- a/ld/testsuite/ld-scripts/crossref.exp
+++ b/ld/testsuite/ld-scripts/crossref.exp
@@ -79,9 +79,6 @@ if [istarget arc*-*-elf32] {
set flags "$flags --defsym=__SDATA_BEGIN__=0"
}
-# IA64 has both ordered and unordered sections in an input file.
-setup_xfail ia64-*-*
-
set exec_output [run_host_cmd "$ld" "$flags -o tmpdir/cross1 -T $srcdir/$subdir/cross1.t tmpdir/cross1.o tmpdir/cross2.o"]
set exec_output [prune_warnings $exec_output]