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.
This commit is contained in:
Alan Modra 2021-01-05 15:43:37 +10:30
parent de6a7ee4bd
commit 40b119304e
3 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -1,6 +1,8 @@
#source: pr26256-1.s
#ld: -e _start
#nm: -n
# s12z uses memory regions
#xfail: s12z-*-*
#...
[0-9a-f]+ T _start

View File

@ -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]