[binutils-gdb] Re: elf: Allow mixed ordered/unordered inputs for non-relocatable link
Alan Modra
amodra@sourceware.org
Tue Jan 5 05:30:59 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=40b119304e2b412975edce421fd7f943a6c24942
commit 40b119304e2b412975edce421fd7f943a6c24942
Author: Alan Modra <amodra@gmail.com>
Date: Tue Jan 5 15:43:37 2021 +1030
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.
Diff:
---
ld/ChangeLog | 6 ++++++
ld/testsuite/ld-elf/pr26256-1b.d | 2 ++
ld/testsuite/ld-scripts/crossref.exp | 3 ---
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1fe689a3cf0..5fa56778f4f 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 760c6d82e7b..c5652b1dbc9 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 f6895397d6a..c7f20b1e5c3 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]
More information about the Binutils-cvs
mailing list