From f1ac0afe481e83c9a33f247b81fa7de789edc4d9 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 18 Apr 2018 20:55:29 +0000 Subject: [PATCH] [ARM] FDPIC: Update testsuite so that many tests pass with arm*-uclinuxfdpiceabi. 2018-04-25 Christophe Lyon binutils/ * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi. * testsuite/binutils-all/elfedit-3.d: Likewise. * testsuite/binutils-all/objcopy.exp: Likewise. * testsuite/binutils-all/strip-3.d: Likewise. * testsuite/lib/binutils-common.exp: Likewise. ld/ * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi. * testsuite/ld-discard/discard.exp: Likewise. * testsuite/ld-elf/binutils.exp: Likewise. * testsuite/ld-elf/commonpage1.d: Likewise. * testsuite/ld-elf/compress1c.d: Likewise. * testsuite/ld-elf/compressed1b.d: Likewise. * testsuite/ld-elf/compressed1c.d: Likewise. * testsuite/ld-elf/compressed1e.d: Likewise. * testsuite/ld-elf/dynamic1.d: Likewise. * testsuite/ld-elf/dynsym1.d: Likewise. * testsuite/ld-elf/ehdr_start-missing.d: Likewise. * testsuite/ld-elf/ehdr_start-shared.d: Likewise. * testsuite/ld-elf/ehdr_start-userdef.d: Likewise. * testsuite/ld-elf/ehdr_start-weak.d: Likewise. * testsuite/ld-elf/ehdr_start.d: Likewise. * testsuite/ld-elf/exclude3b.d: Likewise. * testsuite/ld-elf/export-class.exp: Likewise. * testsuite/ld-elf/global1.d: Likewise. * testsuite/ld-elf/hash.d: Likewise. * testsuite/ld-elf/header.d: Likewise. * testsuite/ld-elf/loadaddr1.d: Likewise. * testsuite/ld-elf/loadaddr2.d: Likewise. * testsuite/ld-elf/loadaddr3a.d: Likewise. * testsuite/ld-elf/loadaddr3b.d: Likewise. * testsuite/ld-elf/local1.d: Likewise. * testsuite/ld-elf/maxpage1.d: Likewise. * testsuite/ld-elf/maxpage2.d: Likewise. * testsuite/ld-elf/maxpage3a.d: Likewise. * testsuite/ld-elf/mbind1a.d: Likewise. * testsuite/ld-elf/mbind1b.d: Likewise. * testsuite/ld-elf/mbind1c.d: Likewise. * testsuite/ld-elf/multibss1.d: Likewise. * testsuite/ld-elf/noload-2.d: Likewise. * testsuite/ld-elf/now-1.d: Likewise. * testsuite/ld-elf/now-2.d: Likewise. * testsuite/ld-elf/now-3.d: Likewise. * testsuite/ld-elf/now-4.d: Likewise. * testsuite/ld-elf/pie.d: Likewise. * testsuite/ld-elf/pr12975.d: Likewise. * testsuite/ld-elf/pr13177.d: Likewise. * testsuite/ld-elf/pr13195.d: Likewise. * testsuite/ld-elf/pr16322.d: Likewise. * testsuite/ld-elf/pr16498a.d: Likewise. * testsuite/ld-elf/pr16498b.d: Likewise. * testsuite/ld-elf/pr17615.d: Likewise. * testsuite/ld-elf/pr19162.d: Likewise. * testsuite/ld-elf/pr19539.d: Likewise. * testsuite/ld-elf/pr19617a.d: Likewise. * testsuite/ld-elf/pr19617b.d: Likewise. * testsuite/ld-elf/pr19617c.d: Likewise. * testsuite/ld-elf/pr19698.d: Likewise. * testsuite/ld-elf/pr19789.d: Likewise. * testsuite/ld-elf/pr20513c.d: Likewise. * testsuite/ld-elf/pr20513d.d: Likewise. * testsuite/ld-elf/pr21384.d: Likewise. * testsuite/ld-elf/pr21389a.d: Likewise. * testsuite/ld-elf/pr21389b.d: Likewise. * testsuite/ld-elf/pr21389c.d: Likewise. * testsuite/ld-elf/pr21562a.d: Likewise. * testsuite/ld-elf/pr21562b.d: Likewise. * testsuite/ld-elf/pr21562c.d: Likewise. * testsuite/ld-elf/pr21562d.d: Likewise. * testsuite/ld-elf/pr21562e.d: Likewise. * testsuite/ld-elf/pr21562f.d: Likewise. * testsuite/ld-elf/pr21562g.d: Likewise. * testsuite/ld-elf/pr21562h.d: Likewise. * testsuite/ld-elf/pr21562i.d: Likewise. * testsuite/ld-elf/pr21562j.d: Likewise. * testsuite/ld-elf/pr21562k.d: Likewise. * testsuite/ld-elf/pr21562l.d: Likewise. * testsuite/ld-elf/pr21562m.d: Likewise. * testsuite/ld-elf/pr21562n.d: Likewise. * testsuite/ld-elf/pr21903a.d: Likewise. * testsuite/ld-elf/pr21903b.d: Likewise. * testsuite/ld-elf/pr21903d.d: Likewise. * testsuite/ld-elf/pr22269a.d: Likewise. * testsuite/ld-elf/pr22269b.d: Likewise. * testsuite/ld-elf/pr22393-1a.d: Likewise. * testsuite/ld-elf/pr22393-1b.d: Likewise. * testsuite/ld-elf/pr22393-1c.d: Likewise. * testsuite/ld-elf/pr22393-1d.d: Likewise. * testsuite/ld-elf/pr22393-1e.d: Likewise. * testsuite/ld-elf/pr22393-1f.d: Likewise. * testsuite/ld-elf/pr22423.d: Likewise. * testsuite/ld-elf/rpath-1.d: Likewise. * testsuite/ld-elf/rpath-2.d: Likewise. * testsuite/ld-elf/runpath-1.d: Likewise. * testsuite/ld-elf/runpath-2.d: Likewise. * testsuite/ld-elf/seg.d: Likewise. * testsuite/ld-elf/sizeofb.d: Likewise. * testsuite/ld-elf/startofb.d: Likewise. * testsuite/ld-elf/strtab.d: Likewise. * testsuite/ld-elf/textaddr1.d: Likewise. * testsuite/ld-elf/textaddr2.d: Likewise. * testsuite/ld-elf/textaddr3.d: Likewise. * testsuite/ld-elf/textaddr4.d: Likewise. * testsuite/ld-elf/textaddr5.d: Likewise. * testsuite/ld-elf/textaddr6.d: Likewise. * testsuite/ld-elf/textaddr7.d: Likewise. * testsuite/ld-elf/tls.exp: Likewise. * testsuite/ld-elf/tls_common.exp: Likewise. * testsuite/ld-elf/unknown2.d: Likewise. * testsuite/ld-gc/abi-note.d: Likewise. * testsuite/ld-gc/pr11218.d: Likewise. * testsuite/ld-gc/pr19167.d: Likewise. * testsuite/ld-gc/pr20022.d: Likewise. * testsuite/ld-gc/start.d: Likewise. * testsuite/ld-gc/stop.d: Likewise. * testsuite/ld-scripts/phdrs2.exp: Likewise. * testsuite/ld-scripts/rgn-at5.d: Likewise. * testsuite/ld-undefined/entry-3.d: Likewise. * testsuite/ld-undefined/entry-4.d: Likewise. --- binutils/ChangeLog | 8 ++ binutils/testsuite/binutils-all/elfedit-2.d | 2 +- binutils/testsuite/binutils-all/elfedit-3.d | 2 +- binutils/testsuite/binutils-all/objcopy.exp | 2 +- binutils/testsuite/binutils-all/strip-3.d | 2 +- binutils/testsuite/lib/binutils-common.exp | 1 + ld/ChangeLog | 115 ++++++++++++++++++++ ld/testsuite/ld-arm/export-class.exp | 4 +- ld/testsuite/ld-discard/discard.exp | 1 + ld/testsuite/ld-elf/binutils.exp | 1 + ld/testsuite/ld-elf/commonpage1.d | 2 +- ld/testsuite/ld-elf/compress1c.d | 2 +- ld/testsuite/ld-elf/compressed1b.d | 2 +- ld/testsuite/ld-elf/compressed1c.d | 2 +- ld/testsuite/ld-elf/compressed1e.d | 2 +- ld/testsuite/ld-elf/dynamic1.d | 2 +- ld/testsuite/ld-elf/dynsym1.d | 2 +- ld/testsuite/ld-elf/ehdr_start-missing.d | 2 +- ld/testsuite/ld-elf/ehdr_start-shared.d | 2 +- ld/testsuite/ld-elf/ehdr_start-userdef.d | 2 +- ld/testsuite/ld-elf/ehdr_start-weak.d | 2 +- ld/testsuite/ld-elf/ehdr_start.d | 2 +- ld/testsuite/ld-elf/exclude3b.d | 2 +- ld/testsuite/ld-elf/export-class.exp | 1 + ld/testsuite/ld-elf/global1.d | 2 +- ld/testsuite/ld-elf/hash.d | 2 +- ld/testsuite/ld-elf/header.d | 2 +- ld/testsuite/ld-elf/loadaddr1.d | 2 +- ld/testsuite/ld-elf/loadaddr2.d | 2 +- ld/testsuite/ld-elf/loadaddr3a.d | 2 +- ld/testsuite/ld-elf/loadaddr3b.d | 2 +- ld/testsuite/ld-elf/local1.d | 2 +- ld/testsuite/ld-elf/maxpage1.d | 2 +- ld/testsuite/ld-elf/maxpage2.d | 2 +- ld/testsuite/ld-elf/maxpage3a.d | 2 +- ld/testsuite/ld-elf/mbind1a.d | 2 +- ld/testsuite/ld-elf/mbind1b.d | 2 +- ld/testsuite/ld-elf/mbind1c.d | 2 +- ld/testsuite/ld-elf/multibss1.d | 2 +- ld/testsuite/ld-elf/noload-2.d | 2 +- ld/testsuite/ld-elf/now-1.d | 2 +- ld/testsuite/ld-elf/now-2.d | 2 +- ld/testsuite/ld-elf/now-3.d | 2 +- ld/testsuite/ld-elf/now-4.d | 2 +- ld/testsuite/ld-elf/pie.d | 2 +- ld/testsuite/ld-elf/pr12975.d | 2 +- ld/testsuite/ld-elf/pr13177.d | 2 +- ld/testsuite/ld-elf/pr13195.d | 2 +- ld/testsuite/ld-elf/pr16322.d | 2 +- ld/testsuite/ld-elf/pr16498a.d | 2 +- ld/testsuite/ld-elf/pr16498b.d | 2 +- ld/testsuite/ld-elf/pr17615.d | 2 +- ld/testsuite/ld-elf/pr19162.d | 2 +- ld/testsuite/ld-elf/pr19539.d | 2 +- ld/testsuite/ld-elf/pr19617a.d | 2 +- ld/testsuite/ld-elf/pr19617b.d | 2 +- ld/testsuite/ld-elf/pr19617c.d | 2 +- ld/testsuite/ld-elf/pr19698.d | 2 +- ld/testsuite/ld-elf/pr19789.d | 2 +- ld/testsuite/ld-elf/pr20513c.d | 2 +- ld/testsuite/ld-elf/pr20513d.d | 2 +- ld/testsuite/ld-elf/pr21384.d | 2 +- ld/testsuite/ld-elf/pr21389a.d | 2 +- ld/testsuite/ld-elf/pr21389b.d | 2 +- ld/testsuite/ld-elf/pr21389c.d | 2 +- ld/testsuite/ld-elf/pr21562a.d | 2 +- ld/testsuite/ld-elf/pr21562b.d | 2 +- ld/testsuite/ld-elf/pr21562c.d | 2 +- ld/testsuite/ld-elf/pr21562d.d | 2 +- ld/testsuite/ld-elf/pr21562e.d | 2 +- ld/testsuite/ld-elf/pr21562f.d | 2 +- ld/testsuite/ld-elf/pr21562g.d | 2 +- ld/testsuite/ld-elf/pr21562h.d | 2 +- ld/testsuite/ld-elf/pr21562i.d | 2 +- ld/testsuite/ld-elf/pr21562j.d | 2 +- ld/testsuite/ld-elf/pr21562k.d | 2 +- ld/testsuite/ld-elf/pr21562l.d | 2 +- ld/testsuite/ld-elf/pr21562m.d | 2 +- ld/testsuite/ld-elf/pr21562n.d | 2 +- ld/testsuite/ld-elf/pr21903a.d | 2 +- ld/testsuite/ld-elf/pr21903b.d | 2 +- ld/testsuite/ld-elf/pr21903d.d | 2 +- ld/testsuite/ld-elf/pr22269a.d | 2 +- ld/testsuite/ld-elf/pr22269b.d | 2 +- ld/testsuite/ld-elf/pr22393-1a.d | 2 +- ld/testsuite/ld-elf/pr22393-1b.d | 2 +- ld/testsuite/ld-elf/pr22393-1c.d | 2 +- ld/testsuite/ld-elf/pr22393-1d.d | 2 +- ld/testsuite/ld-elf/pr22393-1e.d | 2 +- ld/testsuite/ld-elf/pr22393-1f.d | 2 +- ld/testsuite/ld-elf/pr22423.d | 2 +- ld/testsuite/ld-elf/rpath-1.d | 2 +- ld/testsuite/ld-elf/rpath-2.d | 2 +- ld/testsuite/ld-elf/runpath-1.d | 2 +- ld/testsuite/ld-elf/runpath-2.d | 2 +- ld/testsuite/ld-elf/seg.d | 2 +- ld/testsuite/ld-elf/sizeofb.d | 2 +- ld/testsuite/ld-elf/startofb.d | 2 +- ld/testsuite/ld-elf/strtab.d | 2 +- ld/testsuite/ld-elf/textaddr1.d | 2 +- ld/testsuite/ld-elf/textaddr2.d | 2 +- ld/testsuite/ld-elf/textaddr3.d | 2 +- ld/testsuite/ld-elf/textaddr4.d | 2 +- ld/testsuite/ld-elf/textaddr5.d | 2 +- ld/testsuite/ld-elf/textaddr6.d | 2 +- ld/testsuite/ld-elf/textaddr7.d | 2 +- ld/testsuite/ld-elf/tls.exp | 1 + ld/testsuite/ld-elf/tls_common.exp | 1 + ld/testsuite/ld-elf/unknown2.d | 2 +- ld/testsuite/ld-gc/abi-note.d | 2 +- ld/testsuite/ld-gc/pr11218.d | 2 +- ld/testsuite/ld-gc/pr19167.d | 2 +- ld/testsuite/ld-gc/pr20022.d | 2 +- ld/testsuite/ld-gc/start.d | 2 +- ld/testsuite/ld-gc/stop.d | 2 +- ld/testsuite/ld-scripts/phdrs2.exp | 1 + ld/testsuite/ld-scripts/rgn-at5.d | 2 +- ld/testsuite/ld-undefined/entry-3.d | 2 +- ld/testsuite/ld-undefined/entry-4.d | 2 +- 119 files changed, 241 insertions(+), 111 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 68e5175e93..702c0cfbed 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,11 @@ +2018-04-25 Christophe Lyon + + * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi. + * testsuite/binutils-all/elfedit-3.d: Likewise. + * testsuite/binutils-all/objcopy.exp: Likewise. + * testsuite/binutils-all/strip-3.d: Likewise. + * testsuite/lib/binutils-common.exp: Likewise. + 2018-04-25 Christophe Lyon Mickaël Guêné diff --git a/binutils/testsuite/binutils-all/elfedit-2.d b/binutils/testsuite/binutils-all/elfedit-2.d index 56468b51fc..b32b97ceff 100644 --- a/binutils/testsuite/binutils-all/elfedit-2.d +++ b/binutils/testsuite/binutils-all/elfedit-2.d @@ -3,7 +3,7 @@ #source: empty.s #readelf: -h #name: Update ELF header 2 -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... ELF Header: diff --git a/binutils/testsuite/binutils-all/elfedit-3.d b/binutils/testsuite/binutils-all/elfedit-3.d index 219cac5919..df5ee9727d 100644 --- a/binutils/testsuite/binutils-all/elfedit-3.d +++ b/binutils/testsuite/binutils-all/elfedit-3.d @@ -3,7 +3,7 @@ #source: empty.s #readelf: -h #name: Update ELF header 3 -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... ELF Header: diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index d585204ddd..2a2e757a92 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -564,7 +564,7 @@ proc copy_setup { } { set res [build_wrapper testglue.o] set flags { debug } - if { [istarget *-*-uclinux*] && ![istarget tic6x-*-*] } { + if { [istarget *-*-uclinux*] && ![istarget tic6x-*-*] && ![istarget arm*-*-uclinuxfdpiceabi] } { return 1 } diff --git a/binutils/testsuite/binutils-all/strip-3.d b/binutils/testsuite/binutils-all/strip-3.d index 0b4cded0b4..190298c99d 100644 --- a/binutils/testsuite/binutils-all/strip-3.d +++ b/binutils/testsuite/binutils-all/strip-3.d @@ -3,7 +3,7 @@ #strip: -R .text -R .data -R .bss -R .ARM.attributes -R .reginfo -R .gnu.attributes -R .MIPS.abiflags -R .pdr -R .xtensa.info -R .ARC.attributes #readelf: -S --wide #name: strip empty file -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0]+\][ \t]+NULL[ \t]+.* diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index 47eae87fb6..48f142002d 100644 --- a/binutils/testsuite/lib/binutils-common.exp +++ b/binutils/testsuite/lib/binutils-common.exp @@ -44,6 +44,7 @@ proc is_elf_format {} { && ![istarget *-*-sysv4*] && ![istarget *-*-unixware*] && ![istarget *-*-wasm32*] + && ![istarget arm*-*-uclinuxfdpiceabi] && ![istarget avr-*-*] && ![istarget bfin-*-uclinux] && ![istarget frv-*-uclinux*] diff --git a/ld/ChangeLog b/ld/ChangeLog index cc2e191cdb..2b0eb1a632 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,118 @@ +2018-04-25 Christophe Lyon + + * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi. + * testsuite/ld-discard/discard.exp: Likewise. + * testsuite/ld-elf/binutils.exp: Likewise. + * testsuite/ld-elf/commonpage1.d: Likewise. + * testsuite/ld-elf/compress1c.d: Likewise. + * testsuite/ld-elf/compressed1b.d: Likewise. + * testsuite/ld-elf/compressed1c.d: Likewise. + * testsuite/ld-elf/compressed1e.d: Likewise. + * testsuite/ld-elf/dynamic1.d: Likewise. + * testsuite/ld-elf/dynsym1.d: Likewise. + * testsuite/ld-elf/ehdr_start-missing.d: Likewise. + * testsuite/ld-elf/ehdr_start-shared.d: Likewise. + * testsuite/ld-elf/ehdr_start-userdef.d: Likewise. + * testsuite/ld-elf/ehdr_start-weak.d: Likewise. + * testsuite/ld-elf/ehdr_start.d: Likewise. + * testsuite/ld-elf/exclude3b.d: Likewise. + * testsuite/ld-elf/export-class.exp: Likewise. + * testsuite/ld-elf/global1.d: Likewise. + * testsuite/ld-elf/hash.d: Likewise. + * testsuite/ld-elf/header.d: Likewise. + * testsuite/ld-elf/loadaddr1.d: Likewise. + * testsuite/ld-elf/loadaddr2.d: Likewise. + * testsuite/ld-elf/loadaddr3a.d: Likewise. + * testsuite/ld-elf/loadaddr3b.d: Likewise. + * testsuite/ld-elf/local1.d: Likewise. + * testsuite/ld-elf/maxpage1.d: Likewise. + * testsuite/ld-elf/maxpage2.d: Likewise. + * testsuite/ld-elf/maxpage3a.d: Likewise. + * testsuite/ld-elf/mbind1a.d: Likewise. + * testsuite/ld-elf/mbind1b.d: Likewise. + * testsuite/ld-elf/mbind1c.d: Likewise. + * testsuite/ld-elf/multibss1.d: Likewise. + * testsuite/ld-elf/noload-2.d: Likewise. + * testsuite/ld-elf/now-1.d: Likewise. + * testsuite/ld-elf/now-2.d: Likewise. + * testsuite/ld-elf/now-3.d: Likewise. + * testsuite/ld-elf/now-4.d: Likewise. + * testsuite/ld-elf/pie.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr16322.d: Likewise. + * testsuite/ld-elf/pr16498a.d: Likewise. + * testsuite/ld-elf/pr16498b.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr19162.d: Likewise. + * testsuite/ld-elf/pr19539.d: Likewise. + * testsuite/ld-elf/pr19617a.d: Likewise. + * testsuite/ld-elf/pr19617b.d: Likewise. + * testsuite/ld-elf/pr19617c.d: Likewise. + * testsuite/ld-elf/pr19698.d: Likewise. + * testsuite/ld-elf/pr19789.d: Likewise. + * testsuite/ld-elf/pr20513c.d: Likewise. + * testsuite/ld-elf/pr20513d.d: Likewise. + * testsuite/ld-elf/pr21384.d: Likewise. + * testsuite/ld-elf/pr21389a.d: Likewise. + * testsuite/ld-elf/pr21389b.d: Likewise. + * testsuite/ld-elf/pr21389c.d: Likewise. + * testsuite/ld-elf/pr21562a.d: Likewise. + * testsuite/ld-elf/pr21562b.d: Likewise. + * testsuite/ld-elf/pr21562c.d: Likewise. + * testsuite/ld-elf/pr21562d.d: Likewise. + * testsuite/ld-elf/pr21562e.d: Likewise. + * testsuite/ld-elf/pr21562f.d: Likewise. + * testsuite/ld-elf/pr21562g.d: Likewise. + * testsuite/ld-elf/pr21562h.d: Likewise. + * testsuite/ld-elf/pr21562i.d: Likewise. + * testsuite/ld-elf/pr21562j.d: Likewise. + * testsuite/ld-elf/pr21562k.d: Likewise. + * testsuite/ld-elf/pr21562l.d: Likewise. + * testsuite/ld-elf/pr21562m.d: Likewise. + * testsuite/ld-elf/pr21562n.d: Likewise. + * testsuite/ld-elf/pr21903a.d: Likewise. + * testsuite/ld-elf/pr21903b.d: Likewise. + * testsuite/ld-elf/pr21903d.d: Likewise. + * testsuite/ld-elf/pr22269a.d: Likewise. + * testsuite/ld-elf/pr22269b.d: Likewise. + * testsuite/ld-elf/pr22393-1a.d: Likewise. + * testsuite/ld-elf/pr22393-1b.d: Likewise. + * testsuite/ld-elf/pr22393-1c.d: Likewise. + * testsuite/ld-elf/pr22393-1d.d: Likewise. + * testsuite/ld-elf/pr22393-1e.d: Likewise. + * testsuite/ld-elf/pr22393-1f.d: Likewise. + * testsuite/ld-elf/pr22423.d: Likewise. + * testsuite/ld-elf/rpath-1.d: Likewise. + * testsuite/ld-elf/rpath-2.d: Likewise. + * testsuite/ld-elf/runpath-1.d: Likewise. + * testsuite/ld-elf/runpath-2.d: Likewise. + * testsuite/ld-elf/seg.d: Likewise. + * testsuite/ld-elf/sizeofb.d: Likewise. + * testsuite/ld-elf/startofb.d: Likewise. + * testsuite/ld-elf/strtab.d: Likewise. + * testsuite/ld-elf/textaddr1.d: Likewise. + * testsuite/ld-elf/textaddr2.d: Likewise. + * testsuite/ld-elf/textaddr3.d: Likewise. + * testsuite/ld-elf/textaddr4.d: Likewise. + * testsuite/ld-elf/textaddr5.d: Likewise. + * testsuite/ld-elf/textaddr6.d: Likewise. + * testsuite/ld-elf/textaddr7.d: Likewise. + * testsuite/ld-elf/tls.exp: Likewise. + * testsuite/ld-elf/tls_common.exp: Likewise. + * testsuite/ld-elf/unknown2.d: Likewise. + * testsuite/ld-gc/abi-note.d: Likewise. + * testsuite/ld-gc/pr11218.d: Likewise. + * testsuite/ld-gc/pr19167.d: Likewise. + * testsuite/ld-gc/pr20022.d: Likewise. + * testsuite/ld-gc/start.d: Likewise. + * testsuite/ld-gc/stop.d: Likewise. + * testsuite/ld-scripts/phdrs2.exp: Likewise. + * testsuite/ld-scripts/rgn-at5.d: Likewise. + * testsuite/ld-undefined/entry-3.d: Likewise. + * testsuite/ld-undefined/entry-4.d: Likewise. + 2018-04-25 Christophe Lyon Mickaël Guêné diff --git a/ld/testsuite/ld-arm/export-class.exp b/ld/testsuite/ld-arm/export-class.exp index 7363d6d3b3..697d2d96f9 100644 --- a/ld/testsuite/ld-arm/export-class.exp +++ b/ld/testsuite/ld-arm/export-class.exp @@ -26,13 +26,13 @@ # Exclude non-Linux targets; feel free to include your favorite one # if you like. -if { ![istarget arm*-*-linux*] } { +if { ![istarget arm*-*-linux*] && ![istarget arm*-*-uclinuxfdpiceabi] } { return } set testname "ARM symbol export class test" -if [istarget arm*-*-linux-*eabi*] { +if { [istarget arm*-*-linux-*eabi*] || [ istarget arm*-*-uclinuxfdpiceabi] } { set emul armelf_linux_eabi } else { set emul armelf_linux diff --git a/ld/testsuite/ld-discard/discard.exp b/ld/testsuite/ld-discard/discard.exp index 34ab56462f..05521f5eed 100644 --- a/ld/testsuite/ld-discard/discard.exp +++ b/ld/testsuite/ld-discard/discard.exp @@ -29,6 +29,7 @@ if { ![istarget *-*-linux*] && ![istarget *-*-gnu*] && ![istarget *-*-nacl*] && ![istarget hppa*64*-*-hpux*] + && ![istarget arm*-*-uclinuxfdpiceabi] && ![istarget *-*-elf] } { return } diff --git a/ld/testsuite/ld-elf/binutils.exp b/ld/testsuite/ld-elf/binutils.exp index 4db5ec0832..7c94517f47 100644 --- a/ld/testsuite/ld-elf/binutils.exp +++ b/ld/testsuite/ld-elf/binutils.exp @@ -24,6 +24,7 @@ # Make sure that binutils can correctly handle ld output in ELF. if { ![istarget *-*-linux*] + && ![istarget arm*-*-uclinuxfdpiceabi] && ![istarget *-*-nacl*] && ![istarget *-*-gnu*]} { return diff --git a/ld/testsuite/ld-elf/commonpage1.d b/ld/testsuite/ld-elf/commonpage1.d index 2b175740c5..e3f5037e5c 100644 --- a/ld/testsuite/ld-elf/commonpage1.d +++ b/ld/testsuite/ld-elf/commonpage1.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -z max-page-size=0x200000 -z common-page-size=0x100000 #readelf: -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD+.*0x200000 diff --git a/ld/testsuite/ld-elf/compress1c.d b/ld/testsuite/ld-elf/compress1c.d index 90abe0ff07..73f716e1ad 100644 --- a/ld/testsuite/ld-elf/compress1c.d +++ b/ld/testsuite/ld-elf/compress1c.d @@ -2,7 +2,7 @@ #as: --compress-debug-sections #ld: -shared #readelf: -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/compressed1b.d b/ld/testsuite/ld-elf/compressed1b.d index 34dfe8ef66..dee8f659ae 100644 --- a/ld/testsuite/ld-elf/compressed1b.d +++ b/ld/testsuite/ld-elf/compressed1b.d @@ -2,7 +2,7 @@ #as: --compress-debug-sections=zlib-gabi #ld: -r --compress-debug-sections=none #readelf: -t -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/compressed1c.d b/ld/testsuite/ld-elf/compressed1c.d index 29e91dab8e..7fc57ef74b 100644 --- a/ld/testsuite/ld-elf/compressed1c.d +++ b/ld/testsuite/ld-elf/compressed1c.d @@ -2,7 +2,7 @@ #as: --compress-debug-sections=zlib-gabi #ld: -shared --compress-debug-sections=none #readelf: -t -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/compressed1e.d b/ld/testsuite/ld-elf/compressed1e.d index fa2c93bf1a..7d9f13f82e 100644 --- a/ld/testsuite/ld-elf/compressed1e.d +++ b/ld/testsuite/ld-elf/compressed1e.d @@ -2,7 +2,7 @@ #as: --compress-debug-sections=none #ld: -shared --compress-debug-sections=zlib-gnu #readelf: -SW -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #notarget: cris*-*-elf frv-*-* #failif diff --git a/ld/testsuite/ld-elf/dynamic1.d b/ld/testsuite/ld-elf/dynamic1.d index 6a8ba55f40..a4bbe3c959 100644 --- a/ld/testsuite/ld-elf/dynamic1.d +++ b/ld/testsuite/ld-elf/dynamic1.d @@ -1,6 +1,6 @@ #ld: -shared -T dynamic1.ld #readelf: -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... Section to Segment mapping: diff --git a/ld/testsuite/ld-elf/dynsym1.d b/ld/testsuite/ld-elf/dynsym1.d index b354aae2f9..273ce3d460 100644 --- a/ld/testsuite/ld-elf/dynsym1.d +++ b/ld/testsuite/ld-elf/dynsym1.d @@ -1,7 +1,7 @@ #source: empty.s #ld: -shared #readelf: --dyn-syms -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... +[0-9]+: +[0-9a-f]+ +[0-9]+ +FUNC +GLOBAL +DEFAULT +[1-9] _start diff --git a/ld/testsuite/ld-elf/ehdr_start-missing.d b/ld/testsuite/ld-elf/ehdr_start-missing.d index 046e39a75c..259b0813ce 100644 --- a/ld/testsuite/ld-elf/ehdr_start-missing.d +++ b/ld/testsuite/ld-elf/ehdr_start-missing.d @@ -1,4 +1,4 @@ #source: ehdr_start-strongref.s #ld: -e _start -T ehdr_start-missing.t --no-dynamic-linker #error: .*: undefined reference to `__ehdr_start' -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi diff --git a/ld/testsuite/ld-elf/ehdr_start-shared.d b/ld/testsuite/ld-elf/ehdr_start-shared.d index c17516a130..55f9a584a4 100644 --- a/ld/testsuite/ld-elf/ehdr_start-shared.d +++ b/ld/testsuite/ld-elf/ehdr_start-shared.d @@ -1,7 +1,7 @@ #source: ehdr_start.s #ld: -e _start -shared #nm: -n -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #xfail: cris*-*-* frv-*-* #... diff --git a/ld/testsuite/ld-elf/ehdr_start-userdef.d b/ld/testsuite/ld-elf/ehdr_start-userdef.d index b58ae3fa6c..36c6d7ed7c 100644 --- a/ld/testsuite/ld-elf/ehdr_start-userdef.d +++ b/ld/testsuite/ld-elf/ehdr_start-userdef.d @@ -1,7 +1,7 @@ #source: ehdr_start-strongref.s #ld: -e _start -T ehdr_start-userdef.t #readelf: -Ws -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #xfail: frv-*-* #... diff --git a/ld/testsuite/ld-elf/ehdr_start-weak.d b/ld/testsuite/ld-elf/ehdr_start-weak.d index d3d5af7138..5537b8ff25 100644 --- a/ld/testsuite/ld-elf/ehdr_start-weak.d +++ b/ld/testsuite/ld-elf/ehdr_start-weak.d @@ -1,7 +1,7 @@ #source: ehdr_start.s #ld: -e _start -T ehdr_start-missing.t --no-dynamic-linker #nm: -n -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #xfail: frv-*-* #failif diff --git a/ld/testsuite/ld-elf/ehdr_start.d b/ld/testsuite/ld-elf/ehdr_start.d index 14a85d03e7..306c6ad894 100644 --- a/ld/testsuite/ld-elf/ehdr_start.d +++ b/ld/testsuite/ld-elf/ehdr_start.d @@ -1,7 +1,7 @@ #source: ehdr_start.s #ld: -e _start --build-id #nm: -n -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #xfail: frv-*-* #... diff --git a/ld/testsuite/ld-elf/exclude3b.d b/ld/testsuite/ld-elf/exclude3b.d index 553c30b851..ac8407d2c7 100644 --- a/ld/testsuite/ld-elf/exclude3b.d +++ b/ld/testsuite/ld-elf/exclude3b.d @@ -1,7 +1,7 @@ #source: exclude3.s #ld: --shared #readelf: -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/export-class.exp b/ld/testsuite/ld-elf/export-class.exp index e458918f08..583cf82dfb 100644 --- a/ld/testsuite/ld-elf/export-class.exp +++ b/ld/testsuite/ld-elf/export-class.exp @@ -32,6 +32,7 @@ if { ![is_elf_format] } { # Exclude some more targets; feel free to include your favorite one # if you like. if { ![istarget *-*-linux*] + && ![istarget arm*-*-uclinuxfdpiceabi] && ![istarget *-*-nacl*] && ![istarget *-*-gnu*] } { return diff --git a/ld/testsuite/ld-elf/global1.d b/ld/testsuite/ld-elf/global1.d index eae7f0d908..726525b993 100644 --- a/ld/testsuite/ld-elf/global1.d +++ b/ld/testsuite/ld-elf/global1.d @@ -1,7 +1,7 @@ #source: start.s #ld: -shared -z global #readelf: -d -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... 0x0*6ffffffb \(FLAGS_1\) *Flags: GLOBAL diff --git a/ld/testsuite/ld-elf/hash.d b/ld/testsuite/ld-elf/hash.d index 473cd4d7b8..d31168c664 100644 --- a/ld/testsuite/ld-elf/hash.d +++ b/ld/testsuite/ld-elf/hash.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -s -D #ld: -shared --hash-style=gnu -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #notarget: mips*-*-* #... diff --git a/ld/testsuite/ld-elf/header.d b/ld/testsuite/ld-elf/header.d index be3722d957..c4d174a98d 100644 --- a/ld/testsuite/ld-elf/header.d +++ b/ld/testsuite/ld-elf/header.d @@ -1,4 +1,4 @@ -# target: *-*-linux* *-*-gnu* *-*-vxworks +# target: *-*-linux* *-*-gnu* *-*-vxworks arm*-*-uclinuxfdpiceabi # ld: -T header.t -z max-page-size=0x100 # objdump: -hpw diff --git a/ld/testsuite/ld-elf/loadaddr1.d b/ld/testsuite/ld-elf/loadaddr1.d index adb562a901..c4c5ed8068 100644 --- a/ld/testsuite/ld-elf/loadaddr1.d +++ b/ld/testsuite/ld-elf/loadaddr1.d @@ -1,7 +1,7 @@ #source: loadaddr.s #ld: -T loadaddr1.t -T loadaddr.t -z max-page-size=0x200000 #readelf: -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000 diff --git a/ld/testsuite/ld-elf/loadaddr2.d b/ld/testsuite/ld-elf/loadaddr2.d index eaa672da17..577fb6af5c 100644 --- a/ld/testsuite/ld-elf/loadaddr2.d +++ b/ld/testsuite/ld-elf/loadaddr2.d @@ -1,7 +1,7 @@ #source: loadaddr.s #ld: -T loadaddr2.t -T loadaddr.t -z max-page-size=0x200000 #readelf: -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000 diff --git a/ld/testsuite/ld-elf/loadaddr3a.d b/ld/testsuite/ld-elf/loadaddr3a.d index 0082e1f033..f531f931a4 100644 --- a/ld/testsuite/ld-elf/loadaddr3a.d +++ b/ld/testsuite/ld-elf/loadaddr3a.d @@ -1,7 +1,7 @@ #source: loadaddr.s #ld: -T loadaddr3.t -z max-page-size=0x200000 #readelf: -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD +0x000000 0x0*00000000 0x0*00000000 0x0*0110 0x0*0110 R E 0x.* diff --git a/ld/testsuite/ld-elf/loadaddr3b.d b/ld/testsuite/ld-elf/loadaddr3b.d index 63efa71c13..ac4b5178d8 100644 --- a/ld/testsuite/ld-elf/loadaddr3b.d +++ b/ld/testsuite/ld-elf/loadaddr3b.d @@ -1,7 +1,7 @@ #source: loadaddr.s #ld: -T loadaddr3.t -z max-page-size=0x200000 #objdump: -t -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... 0+0000100 l d .text 0+0000000 .text diff --git a/ld/testsuite/ld-elf/local1.d b/ld/testsuite/ld-elf/local1.d index 3025d41971..be3d24a19b 100644 --- a/ld/testsuite/ld-elf/local1.d +++ b/ld/testsuite/ld-elf/local1.d @@ -1,6 +1,6 @@ #ld: -shared --version-script local1.map #readelf: -s --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... .*: [0-9a-f]* +[0-9a-f]+ +OBJECT +LOCAL +DEFAULT +[0-9] +foo diff --git a/ld/testsuite/ld-elf/maxpage1.d b/ld/testsuite/ld-elf/maxpage1.d index f776257399..0b7401437d 100644 --- a/ld/testsuite/ld-elf/maxpage1.d +++ b/ld/testsuite/ld-elf/maxpage1.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -z max-page-size=0x200000 #readelf: -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD+.*0x200000 diff --git a/ld/testsuite/ld-elf/maxpage2.d b/ld/testsuite/ld-elf/maxpage2.d index 7d732eb80e..95b3dc2034 100644 --- a/ld/testsuite/ld-elf/maxpage2.d +++ b/ld/testsuite/ld-elf/maxpage2.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -z max-page-size=0x100000 #readelf: -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD+.*0x100000 diff --git a/ld/testsuite/ld-elf/maxpage3a.d b/ld/testsuite/ld-elf/maxpage3a.d index 7d6f2d8ab9..5faddb7fc9 100644 --- a/ld/testsuite/ld-elf/maxpage3a.d +++ b/ld/testsuite/ld-elf/maxpage3a.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -z max-page-size=0x10000000 -T maxpage3.t #readelf: -lS --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t]+0*10000000[ \t]+[ \t0-9a-f]+WA?.* diff --git a/ld/testsuite/ld-elf/mbind1a.d b/ld/testsuite/ld-elf/mbind1a.d index 568b3dc373..0e9f900c86 100644 --- a/ld/testsuite/ld-elf/mbind1a.d +++ b/ld/testsuite/ld-elf/mbind1a.d @@ -1,7 +1,7 @@ #source: mbind1.s #ld: -z common-page-size=0x1000 -z max-page-size=0x200000 #readelf: -S -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AXD 0 0 4096 diff --git a/ld/testsuite/ld-elf/mbind1b.d b/ld/testsuite/ld-elf/mbind1b.d index 7dae398c1b..49316a1faf 100644 --- a/ld/testsuite/ld-elf/mbind1b.d +++ b/ld/testsuite/ld-elf/mbind1b.d @@ -1,7 +1,7 @@ #source: mbind1.s #ld: -shared -z common-page-size=0x1000 -z max-page-size=0x200000 #readelf: -S -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AXD 0 0 4096 diff --git a/ld/testsuite/ld-elf/mbind1c.d b/ld/testsuite/ld-elf/mbind1c.d index 7a1aae8771..40cc852dd6 100644 --- a/ld/testsuite/ld-elf/mbind1c.d +++ b/ld/testsuite/ld-elf/mbind1c.d @@ -1,7 +1,7 @@ #source: mbind1.s #ld: -pie -z common-page-size=0x1000 -z max-page-size=0x200000 #readelf: -S -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AXD 0 0 4096 diff --git a/ld/testsuite/ld-elf/multibss1.d b/ld/testsuite/ld-elf/multibss1.d index 89b94adfa1..e85c223f9b 100644 --- a/ld/testsuite/ld-elf/multibss1.d +++ b/ld/testsuite/ld-elf/multibss1.d @@ -1,7 +1,7 @@ #source: multibss1.s #ld: -e 0 #readelf: -l --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: hppa64-*-* # hppa64 default script add 16 bytes at start of .data giving 0x500010 p_memsz diff --git a/ld/testsuite/ld-elf/noload-2.d b/ld/testsuite/ld-elf/noload-2.d index c9668a0286..d0af8d9be0 100644 --- a/ld/testsuite/ld-elf/noload-2.d +++ b/ld/testsuite/ld-elf/noload-2.d @@ -1,7 +1,7 @@ #source: noload-1.s #ld: -T noload-1.t -z max-page-size=0x200000 #readelf: -Sl --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... +LOAD +0x.00000 +0x0+ +0x0+ +0x0+.. +0x0+.. +RW +0x200000 diff --git a/ld/testsuite/ld-elf/now-1.d b/ld/testsuite/ld-elf/now-1.d index 9c7d5fa6cb..bc3ccf8e98 100644 --- a/ld/testsuite/ld-elf/now-1.d +++ b/ld/testsuite/ld-elf/now-1.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -shared -z now --enable-new-dtags -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/now-2.d b/ld/testsuite/ld-elf/now-2.d index 1430bc49aa..0e337975af 100644 --- a/ld/testsuite/ld-elf/now-2.d +++ b/ld/testsuite/ld-elf/now-2.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -shared -z now --enable-new-dtags -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... 0x[0-9a-f]+ +\(FLAGS\) +BIND_NOW diff --git a/ld/testsuite/ld-elf/now-3.d b/ld/testsuite/ld-elf/now-3.d index fa98065c62..b8ff534199 100644 --- a/ld/testsuite/ld-elf/now-3.d +++ b/ld/testsuite/ld-elf/now-3.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -shared -z now --disable-new-dtags -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/now-4.d b/ld/testsuite/ld-elf/now-4.d index 421063d938..f4e9259d4c 100644 --- a/ld/testsuite/ld-elf/now-4.d +++ b/ld/testsuite/ld-elf/now-4.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -shared -z now --disable-new-dtags -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... 0x[0-9a-f]+ +\(BIND_NOW\) + diff --git a/ld/testsuite/ld-elf/pie.d b/ld/testsuite/ld-elf/pie.d index d68b962ca3..aa7b855d40 100644 --- a/ld/testsuite/ld-elf/pie.d +++ b/ld/testsuite/ld-elf/pie.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -pie -#target: *-*-linux* *-*-gnu* *-*-solaris* +#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi #... +0x[0-9a-f]+ +\(FLAGS_1\) +Flags: +PIE diff --git a/ld/testsuite/ld-elf/pr12975.d b/ld/testsuite/ld-elf/pr12975.d index ec761ec118..fd52b80782 100644 --- a/ld/testsuite/ld-elf/pr12975.d +++ b/ld/testsuite/ld-elf/pr12975.d @@ -1,6 +1,6 @@ #ld: --gc-sections -shared -version-script pr12975.t #readelf: -s --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr13177.d b/ld/testsuite/ld-elf/pr13177.d index 3174856be4..d775c5e37a 100644 --- a/ld/testsuite/ld-elf/pr13177.d +++ b/ld/testsuite/ld-elf/pr13177.d @@ -1,7 +1,7 @@ #source: pr13177.s #ld: --gc-sections -shared #readelf: -s -D --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr13195.d b/ld/testsuite/ld-elf/pr13195.d index 42d6608bf0..3d7facc474 100644 --- a/ld/testsuite/ld-elf/pr13195.d +++ b/ld/testsuite/ld-elf/pr13195.d @@ -1,6 +1,6 @@ #ld: --gc-sections -shared -version-script pr13195.t #readelf: -s --wide -D -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr16322.d b/ld/testsuite/ld-elf/pr16322.d index 348927b384..d0e349d024 100644 --- a/ld/testsuite/ld-elf/pr16322.d +++ b/ld/testsuite/ld-elf/pr16322.d @@ -1,6 +1,6 @@ #ld: -shared -z relro -z noseparate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* *-*-nacl* +#target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #... GNU_RELRO .* diff --git a/ld/testsuite/ld-elf/pr16498a.d b/ld/testsuite/ld-elf/pr16498a.d index 436bf971ab..7726d3bc47 100644 --- a/ld/testsuite/ld-elf/pr16498a.d +++ b/ld/testsuite/ld-elf/pr16498a.d @@ -1,6 +1,6 @@ #ld: -shared -T pr16498a.t #readelf: -l --wide -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #... TLS .* diff --git a/ld/testsuite/ld-elf/pr16498b.d b/ld/testsuite/ld-elf/pr16498b.d index c70c2393e9..e599d90d27 100644 --- a/ld/testsuite/ld-elf/pr16498b.d +++ b/ld/testsuite/ld-elf/pr16498b.d @@ -1,7 +1,7 @@ #source: pr16498a.s #ld: -shared -T pr16498b.t #readelf: -l --wide -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #... TLS .* diff --git a/ld/testsuite/ld-elf/pr17615.d b/ld/testsuite/ld-elf/pr17615.d index 46ce34da3c..7d8f1c4439 100644 --- a/ld/testsuite/ld-elf/pr17615.d +++ b/ld/testsuite/ld-elf/pr17615.d @@ -1,6 +1,6 @@ #ld: --gc-sections -shared #readelf: -S --wide --dyn-syms -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr19162.d b/ld/testsuite/ld-elf/pr19162.d index 5d5c1f714d..feca3d4ef1 100644 --- a/ld/testsuite/ld-elf/pr19162.d +++ b/ld/testsuite/ld-elf/pr19162.d @@ -2,7 +2,7 @@ #source: pr19162b.s #ld: -shared -z max-page-size=0x200000 -z noseparate-code #readelf: -l --wide -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #notarget: arc*-*-* hppa*-*-* # arc target has an extra 64K stack section. # hppa fails due to PR 12376. diff --git a/ld/testsuite/ld-elf/pr19539.d b/ld/testsuite/ld-elf/pr19539.d index af77515cea..285d189131 100644 --- a/ld/testsuite/ld-elf/pr19539.d +++ b/ld/testsuite/ld-elf/pr19539.d @@ -2,7 +2,7 @@ #source: pr19539.s #ld: -pie -T pr19539.t #readelf : --dyn-syms --wide -#target: *-*-linux* *-*-gnu* *-*-solaris* +#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi #notarget: cris*-*-* alpha-*-* Symbol table '\.dynsym' contains [0-9]+ entr(y|ies): diff --git a/ld/testsuite/ld-elf/pr19617a.d b/ld/testsuite/ld-elf/pr19617a.d index a565e291ac..c315f3d386 100644 --- a/ld/testsuite/ld-elf/pr19617a.d +++ b/ld/testsuite/ld-elf/pr19617a.d @@ -1,7 +1,7 @@ #source: pr19617.s #ld: -E --no-dynamic-linker --hash-style=sysv #readelf : --dyn-syms --wide -#target: *-*-linux* *-*-gnu* *-*-solaris* +#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name diff --git a/ld/testsuite/ld-elf/pr19617b.d b/ld/testsuite/ld-elf/pr19617b.d index 4d1886f2bd..59054232ce 100644 --- a/ld/testsuite/ld-elf/pr19617b.d +++ b/ld/testsuite/ld-elf/pr19617b.d @@ -1,7 +1,7 @@ #source: pr19617.s #ld: --dynamic-list-data --no-dynamic-linker #readelf : --dyn-syms --wide -#target: *-*-linux* *-*-gnu* *-*-solaris* +#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name diff --git a/ld/testsuite/ld-elf/pr19617c.d b/ld/testsuite/ld-elf/pr19617c.d index 9ac8fc1941..c9cca4835c 100644 --- a/ld/testsuite/ld-elf/pr19617c.d +++ b/ld/testsuite/ld-elf/pr19617c.d @@ -1,7 +1,7 @@ #source: pr19617.s #ld: --dynamic-list-data --no-dynamic-linker #readelf : --dyn-syms --wide -#target: *-*-linux* *-*-gnu* *-*-solaris* +#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr19698.d b/ld/testsuite/ld-elf/pr19698.d index a39f67a3ba..a82677c471 100644 --- a/ld/testsuite/ld-elf/pr19698.d +++ b/ld/testsuite/ld-elf/pr19698.d @@ -1,6 +1,6 @@ #ld: -shared $srcdir/$subdir/pr19698.t #readelf : --dyn-syms --wide -#target: *-*-linux* *-*-gnu* *-*-solaris* +#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi Symbol table '\.dynsym' contains [0-9]+ entries: #... diff --git a/ld/testsuite/ld-elf/pr19789.d b/ld/testsuite/ld-elf/pr19789.d index e7cc6c5c18..99b9338367 100644 --- a/ld/testsuite/ld-elf/pr19789.d +++ b/ld/testsuite/ld-elf/pr19789.d @@ -1,6 +1,6 @@ #ld: -r -E #readelf: -s --wide -#target: *-*-linux* *-*-gnu* *-*-solaris* +#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi Symbol table '\.symtab' contains [0-9]+ entries: #... diff --git a/ld/testsuite/ld-elf/pr20513c.d b/ld/testsuite/ld-elf/pr20513c.d index ab9b360d06..af81161e22 100644 --- a/ld/testsuite/ld-elf/pr20513c.d +++ b/ld/testsuite/ld-elf/pr20513c.d @@ -2,7 +2,7 @@ #source: pr20513b.s #ld: -shared #readelf: -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr20513d.d b/ld/testsuite/ld-elf/pr20513d.d index d1700a7850..f1a455c553 100644 --- a/ld/testsuite/ld-elf/pr20513d.d +++ b/ld/testsuite/ld-elf/pr20513d.d @@ -2,7 +2,7 @@ #source: pr20513a.s #ld: -shared #readelf: -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr21384.d b/ld/testsuite/ld-elf/pr21384.d index 5f17aaf7fd..343d0af3d6 100644 --- a/ld/testsuite/ld-elf/pr21384.d +++ b/ld/testsuite/ld-elf/pr21384.d @@ -1,6 +1,6 @@ #ld: -T pr21384.ld --dynamic-list $srcdir/$subdir/pr21384.dl --no-dynamic-linker #readelf : --dyn-syms --wide -#target: *-*-linux* *-*-gnu* *-*-solaris* +#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name diff --git a/ld/testsuite/ld-elf/pr21389a.d b/ld/testsuite/ld-elf/pr21389a.d index 2dcd17536d..da50d8a320 100644 --- a/ld/testsuite/ld-elf/pr21389a.d +++ b/ld/testsuite/ld-elf/pr21389a.d @@ -1,7 +1,7 @@ #source: pr21389.s #ld: -shared --version-script pr21389.map -soname=pr21389.so #objdump: -p -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... Version definitions: diff --git a/ld/testsuite/ld-elf/pr21389b.d b/ld/testsuite/ld-elf/pr21389b.d index 8dbc34bb9e..fe39e9c67b 100644 --- a/ld/testsuite/ld-elf/pr21389b.d +++ b/ld/testsuite/ld-elf/pr21389b.d @@ -1,7 +1,7 @@ #source: pr21389.s #ld: -shared --version-script pr21389.map -soname=pr21389.so #readelf: -d -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... 0x[0-9a-f]* \(SONAME\) +Library soname: \[pr21389.so\] diff --git a/ld/testsuite/ld-elf/pr21389c.d b/ld/testsuite/ld-elf/pr21389c.d index 76ac37bf5a..31759f1513 100644 --- a/ld/testsuite/ld-elf/pr21389c.d +++ b/ld/testsuite/ld-elf/pr21389c.d @@ -1,7 +1,7 @@ #source: pr21389.s #ld: -shared -soname=pr21389.so #readelf: -d -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... 0x[0-9a-f]* \(SONAME\) +Library soname: \[pr21389.so\] diff --git a/ld/testsuite/ld-elf/pr21562a.d b/ld/testsuite/ld-elf/pr21562a.d index 2ee4297489..29c7b409be 100644 --- a/ld/testsuite/ld-elf/pr21562a.d +++ b/ld/testsuite/ld-elf/pr21562a.d @@ -1,6 +1,6 @@ #ld: -shared -z defs --gc-sections #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562b.d b/ld/testsuite/ld-elf/pr21562b.d index 88f15a3b5a..115833e661 100644 --- a/ld/testsuite/ld-elf/pr21562b.d +++ b/ld/testsuite/ld-elf/pr21562b.d @@ -1,6 +1,6 @@ #ld: -shared -z defs --gc-sections #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562c.d b/ld/testsuite/ld-elf/pr21562c.d index 56eaa38d13..cb3df1ff89 100644 --- a/ld/testsuite/ld-elf/pr21562c.d +++ b/ld/testsuite/ld-elf/pr21562c.d @@ -1,7 +1,7 @@ #source: pr21562a.s #ld: -shared -z defs --gc-sections -T pr21562a.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562d.d b/ld/testsuite/ld-elf/pr21562d.d index 6fa73d8b1b..068462ec46 100644 --- a/ld/testsuite/ld-elf/pr21562d.d +++ b/ld/testsuite/ld-elf/pr21562d.d @@ -1,7 +1,7 @@ #source: pr21562b.s #ld: -shared -z defs --gc-sections -T pr21562a.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562e.d b/ld/testsuite/ld-elf/pr21562e.d index ee969bd47a..efe1c5a325 100644 --- a/ld/testsuite/ld-elf/pr21562e.d +++ b/ld/testsuite/ld-elf/pr21562e.d @@ -1,7 +1,7 @@ #source: pr21562a.s #ld: -shared -z defs #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.* diff --git a/ld/testsuite/ld-elf/pr21562f.d b/ld/testsuite/ld-elf/pr21562f.d index 119f43e116..077c84e70d 100644 --- a/ld/testsuite/ld-elf/pr21562f.d +++ b/ld/testsuite/ld-elf/pr21562f.d @@ -1,7 +1,7 @@ #source: pr21562b.s #ld: -shared -z defs #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.* diff --git a/ld/testsuite/ld-elf/pr21562g.d b/ld/testsuite/ld-elf/pr21562g.d index f3d2a31325..4f2c8006d3 100644 --- a/ld/testsuite/ld-elf/pr21562g.d +++ b/ld/testsuite/ld-elf/pr21562g.d @@ -1,7 +1,7 @@ #source: pr21562a.s #ld: -shared -z defs -T pr21562a.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.* diff --git a/ld/testsuite/ld-elf/pr21562h.d b/ld/testsuite/ld-elf/pr21562h.d index 0517aec9cd..d500013e70 100644 --- a/ld/testsuite/ld-elf/pr21562h.d +++ b/ld/testsuite/ld-elf/pr21562h.d @@ -1,7 +1,7 @@ #source: pr21562b.s #ld: -shared -z defs -T pr21562a.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.* diff --git a/ld/testsuite/ld-elf/pr21562i.d b/ld/testsuite/ld-elf/pr21562i.d index e0980dd827..77b8db2e5e 100644 --- a/ld/testsuite/ld-elf/pr21562i.d +++ b/ld/testsuite/ld-elf/pr21562i.d @@ -1,7 +1,7 @@ #source: pr21562a.s #ld: -shared -z defs --gc-sections -T pr21562b.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562j.d b/ld/testsuite/ld-elf/pr21562j.d index 21c3dc4eb3..f8748bf2e4 100644 --- a/ld/testsuite/ld-elf/pr21562j.d +++ b/ld/testsuite/ld-elf/pr21562j.d @@ -1,7 +1,7 @@ #source: pr21562b.s #ld: -shared -z defs --gc-sections -T pr21562b.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562k.d b/ld/testsuite/ld-elf/pr21562k.d index 2dac7fb12f..aec167ad1e 100644 --- a/ld/testsuite/ld-elf/pr21562k.d +++ b/ld/testsuite/ld-elf/pr21562k.d @@ -1,7 +1,7 @@ #source: pr21562a.s #ld: -shared -z defs --gc-sections -T pr21562c.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562l.d b/ld/testsuite/ld-elf/pr21562l.d index 0876533268..943dd18ea9 100644 --- a/ld/testsuite/ld-elf/pr21562l.d +++ b/ld/testsuite/ld-elf/pr21562l.d @@ -1,7 +1,7 @@ #source: pr21562b.s #ld: -shared -z defs --gc-sections -T pr21562c.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562m.d b/ld/testsuite/ld-elf/pr21562m.d index 1d488dc372..16d803244f 100644 --- a/ld/testsuite/ld-elf/pr21562m.d +++ b/ld/testsuite/ld-elf/pr21562m.d @@ -1,7 +1,7 @@ #source: pr21562a.s #ld: -shared -z defs --gc-sections -T pr21562d.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21562n.d b/ld/testsuite/ld-elf/pr21562n.d index cba7c31a29..35f965c881 100644 --- a/ld/testsuite/ld-elf/pr21562n.d +++ b/ld/testsuite/ld-elf/pr21562n.d @@ -1,7 +1,7 @@ #source: pr21562b.s #ld: -shared -z defs --gc-sections -T pr21562d.t #readelf: -s -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #xfail: d30v-*-* dlx-*-* pj*-*-* #xfail: hppa64-*-* mep-*-* mn10200-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others diff --git a/ld/testsuite/ld-elf/pr21903a.d b/ld/testsuite/ld-elf/pr21903a.d index 020c5612e9..a688df5c38 100644 --- a/ld/testsuite/ld-elf/pr21903a.d +++ b/ld/testsuite/ld-elf/pr21903a.d @@ -1,7 +1,7 @@ #source: pr21903.s #ld: -shared --no-define-common #readelf: --dyn-syms -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... .*: 0+0 +0 +OBJECT +GLOBAL +DEFAULT +UND foo diff --git a/ld/testsuite/ld-elf/pr21903b.d b/ld/testsuite/ld-elf/pr21903b.d index decd4f3e27..52893c31a8 100644 --- a/ld/testsuite/ld-elf/pr21903b.d +++ b/ld/testsuite/ld-elf/pr21903b.d @@ -1,7 +1,7 @@ #source: pr21903.s #ld: -shared #readelf: --dyn-syms -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... .*: [0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ foo diff --git a/ld/testsuite/ld-elf/pr21903d.d b/ld/testsuite/ld-elf/pr21903d.d index ec729007d1..2e3088e23f 100644 --- a/ld/testsuite/ld-elf/pr21903d.d +++ b/ld/testsuite/ld-elf/pr21903d.d @@ -1,4 +1,4 @@ #source: pr21903.s #ld: --no-define-common -pie -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #error: --no-define-common may not be used without -shared diff --git a/ld/testsuite/ld-elf/pr22269a.d b/ld/testsuite/ld-elf/pr22269a.d index d993d19ba5..2b3c94cdae 100644 --- a/ld/testsuite/ld-elf/pr22269a.d +++ b/ld/testsuite/ld-elf/pr22269a.d @@ -2,7 +2,7 @@ #source: pr22269.s #ld: -pie --no-dynamic-linker #readelf: -r -x .data.rel.ro -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi There are no relocations in this file. diff --git a/ld/testsuite/ld-elf/pr22269b.d b/ld/testsuite/ld-elf/pr22269b.d index df14d0503f..bbfadc9bac 100644 --- a/ld/testsuite/ld-elf/pr22269b.d +++ b/ld/testsuite/ld-elf/pr22269b.d @@ -3,7 +3,7 @@ #ld: -pie --no-dynamic-linker -z dynamic-undefined-weak #readelf: -r -x .data.rel.ro #warning: -z dynamic-undefined-weak ignored -#target: *-*-linux* *-*-gnu* *-*-nacl* +#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi There are no relocations in this file. diff --git a/ld/testsuite/ld-elf/pr22393-1a.d b/ld/testsuite/ld-elf/pr22393-1a.d index f8dc0cc8f2..57f254bd32 100644 --- a/ld/testsuite/ld-elf/pr22393-1a.d +++ b/ld/testsuite/ld-elf/pr22393-1a.d @@ -1,7 +1,7 @@ #source: pr22393-1.s #ld: -shared -z separate-code -z relro #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* *-*-nacl* +#target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr22393-1b.d b/ld/testsuite/ld-elf/pr22393-1b.d index 089d779591..c7e58718b5 100644 --- a/ld/testsuite/ld-elf/pr22393-1b.d +++ b/ld/testsuite/ld-elf/pr22393-1b.d @@ -1,7 +1,7 @@ #source: pr22393-1.s #ld: -shared -z relro -z separate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* *-*-nacl* +#target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr22393-1c.d b/ld/testsuite/ld-elf/pr22393-1c.d index 3476be30a5..aea589080f 100644 --- a/ld/testsuite/ld-elf/pr22393-1c.d +++ b/ld/testsuite/ld-elf/pr22393-1c.d @@ -1,7 +1,7 @@ #source: pr22393-1.s #ld: -pie -z separate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* *-*-nacl* +#target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr22393-1d.d b/ld/testsuite/ld-elf/pr22393-1d.d index c0d1051f55..e74dc10ce5 100644 --- a/ld/testsuite/ld-elf/pr22393-1d.d +++ b/ld/testsuite/ld-elf/pr22393-1d.d @@ -1,7 +1,7 @@ #source: pr22393-1.s #ld: -pie -z separate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* *-*-nacl* +#target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr22393-1e.d b/ld/testsuite/ld-elf/pr22393-1e.d index 673d3f76b5..cef1a4c6c4 100644 --- a/ld/testsuite/ld-elf/pr22393-1e.d +++ b/ld/testsuite/ld-elf/pr22393-1e.d @@ -1,7 +1,7 @@ #source: pr22393-1.s #ld: -z separate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* *-*-nacl* +#target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr22393-1f.d b/ld/testsuite/ld-elf/pr22393-1f.d index 4c5de439ff..9724e0e387 100644 --- a/ld/testsuite/ld-elf/pr22393-1f.d +++ b/ld/testsuite/ld-elf/pr22393-1f.d @@ -1,7 +1,7 @@ #source: pr22393-1.s #ld: -z separate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* *-*-nacl* +#target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/pr22423.d b/ld/testsuite/ld-elf/pr22423.d index 7376302869..70bd59e399 100644 --- a/ld/testsuite/ld-elf/pr22423.d +++ b/ld/testsuite/ld-elf/pr22423.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -l -W #ld: -pie -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... +PHDR +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +R +0x[48]? diff --git a/ld/testsuite/ld-elf/rpath-1.d b/ld/testsuite/ld-elf/rpath-1.d index 38d6eab5e3..61da219a59 100644 --- a/ld/testsuite/ld-elf/rpath-1.d +++ b/ld/testsuite/ld-elf/rpath-1.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -shared -rpath=. --disable-new-dtags -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/rpath-2.d b/ld/testsuite/ld-elf/rpath-2.d index d4c75ff71b..8bb19f85ad 100644 --- a/ld/testsuite/ld-elf/rpath-2.d +++ b/ld/testsuite/ld-elf/rpath-2.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -shared -rpath=. --disable-new-dtags -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... +0x[0-9a-f]+ +\(RPATH\) +Library rpath: +\[.\] diff --git a/ld/testsuite/ld-elf/runpath-1.d b/ld/testsuite/ld-elf/runpath-1.d index 4d06639f83..72667e8b2f 100644 --- a/ld/testsuite/ld-elf/runpath-1.d +++ b/ld/testsuite/ld-elf/runpath-1.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -shared -rpath . --enable-new-dtags -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/runpath-2.d b/ld/testsuite/ld-elf/runpath-2.d index 0df8af62ea..97a9532f11 100644 --- a/ld/testsuite/ld-elf/runpath-2.d +++ b/ld/testsuite/ld-elf/runpath-2.d @@ -1,7 +1,7 @@ #source: start.s #readelf: -d -W #ld: -shared -rpath . --enable-new-dtags -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... +0x[0-9a-f]+ +\(RUNPATH\) +Library runpath: +\[.\] diff --git a/ld/testsuite/ld-elf/seg.d b/ld/testsuite/ld-elf/seg.d index 2255195dab..3ff7aba316 100644 --- a/ld/testsuite/ld-elf/seg.d +++ b/ld/testsuite/ld-elf/seg.d @@ -1,4 +1,4 @@ -#target: *-*-linux* *-*-gnu* *-*-vxworks +#target: *-*-linux* *-*-gnu* *-*-vxworks arm*-*-uclinuxfdpiceabi #source: seg.s #ld: -T seg.t -z max-page-size=0x1000 #readelf: -l --wide diff --git a/ld/testsuite/ld-elf/sizeofb.d b/ld/testsuite/ld-elf/sizeofb.d index c7d4edd55d..31cafa6c92 100644 --- a/ld/testsuite/ld-elf/sizeofb.d +++ b/ld/testsuite/ld-elf/sizeofb.d @@ -1,7 +1,7 @@ #source: sizeof.s #ld: -shared #readelf: -sW -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name diff --git a/ld/testsuite/ld-elf/startofb.d b/ld/testsuite/ld-elf/startofb.d index b0cf563340..0320328291 100644 --- a/ld/testsuite/ld-elf/startofb.d +++ b/ld/testsuite/ld-elf/startofb.d @@ -1,7 +1,7 @@ #source: startof.s #ld: -shared #readelf: -sW -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name diff --git a/ld/testsuite/ld-elf/strtab.d b/ld/testsuite/ld-elf/strtab.d index c1e9096922..bf346d6ada 100644 --- a/ld/testsuite/ld-elf/strtab.d +++ b/ld/testsuite/ld-elf/strtab.d @@ -1,6 +1,6 @@ #ld: -shared #readelf: -W -x .strtab -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #failif #... diff --git a/ld/testsuite/ld-elf/textaddr1.d b/ld/testsuite/ld-elf/textaddr1.d index 19c7d8e8eb..f004ea7f7d 100644 --- a/ld/testsuite/ld-elf/textaddr1.d +++ b/ld/testsuite/ld-elf/textaddr1.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -Ttext-segment 0x7000000 -z max-page-size=0x200000 -z noseparate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* +#target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD +0x0+ 0x0*7000000 0x0*7000000 0x0*[0-9a-f][0-9a-f][0-9a-f] 0x0*[0-9a-f][0-9a-f][0-9a-f] R E 0x200000 diff --git a/ld/testsuite/ld-elf/textaddr2.d b/ld/testsuite/ld-elf/textaddr2.d index 50224c8b3c..73d88b0fe5 100644 --- a/ld/testsuite/ld-elf/textaddr2.d +++ b/ld/testsuite/ld-elf/textaddr2.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -shared -Ttext-segment 0x7000000 -z max-page-size=0x200000 -z noseparate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* +#target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD +0x0+ 0x0*7000000 0x0*7000000 0x0*[0-9a-f]+ 0x0*[0-9a-f]+ R[ W]E 0x200000 diff --git a/ld/testsuite/ld-elf/textaddr3.d b/ld/testsuite/ld-elf/textaddr3.d index 29ed4984b4..3796b7dcb9 100644 --- a/ld/testsuite/ld-elf/textaddr3.d +++ b/ld/testsuite/ld-elf/textaddr3.d @@ -1,4 +1,4 @@ #source: maxpage1.s #ld: -Ttext-segment 0x10000 -z max-page-size=0x200000 -#target: *-*-linux-gnu *-*-gnu* +#target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi #warning: .*address of `text-segment' isn't multiple of maximum page size diff --git a/ld/testsuite/ld-elf/textaddr4.d b/ld/testsuite/ld-elf/textaddr4.d index d596e40f91..746ec46779 100644 --- a/ld/testsuite/ld-elf/textaddr4.d +++ b/ld/testsuite/ld-elf/textaddr4.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -z max-page-size=0x10000 -Ttext-segment 0x10000 -z noseparate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* +#target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD +0x0+ 0x0*10000 0x0*10000 0x0*[0-9a-f][0-9a-f][0-9a-f] 0x0*[0-9a-f][0-9a-f][0-9a-f] R E 0x10000 diff --git a/ld/testsuite/ld-elf/textaddr5.d b/ld/testsuite/ld-elf/textaddr5.d index 41d00c5af4..3ce8d1d290 100644 --- a/ld/testsuite/ld-elf/textaddr5.d +++ b/ld/testsuite/ld-elf/textaddr5.d @@ -1,4 +1,4 @@ #source: maxpage1.s #ld: -shared -z max-page-size=0x200000 -Ttext-segment 0x10000 -#target: *-*-linux-gnu *-*-gnu* +#target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi #warning: .*address of `text-segment' isn't multiple of maximum page size diff --git a/ld/testsuite/ld-elf/textaddr6.d b/ld/testsuite/ld-elf/textaddr6.d index 8015dcb28a..aa5cf56f48 100644 --- a/ld/testsuite/ld-elf/textaddr6.d +++ b/ld/testsuite/ld-elf/textaddr6.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -shared -z max-page-size=0x10000 -Ttext-segment 0x10000 -z noseparate-code #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* +#target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD +0x0+ 0x0*10000 0x0*10000 0x0*[0-9a-f]+ 0x0*[0-9a-f]+ R[ W]E 0x10000 diff --git a/ld/testsuite/ld-elf/textaddr7.d b/ld/testsuite/ld-elf/textaddr7.d index b4237db4f1..89fcee6310 100644 --- a/ld/testsuite/ld-elf/textaddr7.d +++ b/ld/testsuite/ld-elf/textaddr7.d @@ -1,7 +1,7 @@ #source: maxpage1.s #ld: -n -z max-page-size=0x200000 -Ttext-segment 0x10000 #readelf: -l --wide -#target: *-*-linux-gnu *-*-gnu* +#target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi #... LOAD .* diff --git a/ld/testsuite/ld-elf/tls.exp b/ld/testsuite/ld-elf/tls.exp index 8a82a06688..523b84ebb8 100644 --- a/ld/testsuite/ld-elf/tls.exp +++ b/ld/testsuite/ld-elf/tls.exp @@ -22,6 +22,7 @@ # Make sure that binutils can correctly handle TLS. if { ![istarget *-*-linux*] + && ![istarget arm*-*-uclinuxfdpiceabi] && ![istarget *-*-nacl*] && ![istarget *-*-gnu*] } { return diff --git a/ld/testsuite/ld-elf/tls_common.exp b/ld/testsuite/ld-elf/tls_common.exp index c31a2578bc..0be53dcf3e 100644 --- a/ld/testsuite/ld-elf/tls_common.exp +++ b/ld/testsuite/ld-elf/tls_common.exp @@ -24,6 +24,7 @@ # Make sure that binutils can correctly handle ld output in ELF. if { ![istarget *-*-linux*] + && ![istarget arm*-*-uclinuxfdpiceabi] && ![istarget *-*-nacl*] && ![istarget *-*-gnu*] } { return diff --git a/ld/testsuite/ld-elf/unknown2.d b/ld/testsuite/ld-elf/unknown2.d index 8d6cdeef58..2e92a5a341 100644 --- a/ld/testsuite/ld-elf/unknown2.d +++ b/ld/testsuite/ld-elf/unknown2.d @@ -1,7 +1,7 @@ #source: unknown2.s #ld: -shared #readelf: -S -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... \[[ 0-9]+\] \.note.foo[ \t]+NOTE[ \t]+.* diff --git a/ld/testsuite/ld-gc/abi-note.d b/ld/testsuite/ld-gc/abi-note.d index 4e79bbb5cb..12391e198a 100644 --- a/ld/testsuite/ld-gc/abi-note.d +++ b/ld/testsuite/ld-gc/abi-note.d @@ -1,7 +1,7 @@ #name: --gc-sections with note section #ld: --gc-sections -e _start #readelf: -S --wide -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... .* .note.ABI-tag[ ]+NOTE.* diff --git a/ld/testsuite/ld-gc/pr11218.d b/ld/testsuite/ld-gc/pr11218.d index fc26940233..349f9c5eea 100644 --- a/ld/testsuite/ld-gc/pr11218.d +++ b/ld/testsuite/ld-gc/pr11218.d @@ -1,5 +1,5 @@ # name: --gc-sections with shared library # source: dummy.s # ld: --gc-sections -e main tmpdir/pr11218-2.o tmpdir/pr11218-1.so -# target: *-*-linux* *-*-gnu* +# target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi # error: undefined reference to `unresolved_detected_at_runtime_not_at_linktime' diff --git a/ld/testsuite/ld-gc/pr19167.d b/ld/testsuite/ld-gc/pr19167.d index cce41a3392..578646eb5e 100644 --- a/ld/testsuite/ld-gc/pr19167.d +++ b/ld/testsuite/ld-gc/pr19167.d @@ -2,7 +2,7 @@ #source: pr19167b.s #ld: --gc-sections -e _start #objdump: -s -j _foo -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #notarget: frv-*-linux* metag-*-linux* #... diff --git a/ld/testsuite/ld-gc/pr20022.d b/ld/testsuite/ld-gc/pr20022.d index 5f91a2a146..6600f4a476 100644 --- a/ld/testsuite/ld-gc/pr20022.d +++ b/ld/testsuite/ld-gc/pr20022.d @@ -1,7 +1,7 @@ #source: pr20022b.s #ld: --gc-sections -e _start tmpdir/pr20022.so #readelf: -SsW -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #notarget: frv-*-linux* metag-*-linux* mips*-*-* # Skip on targets without dynamic relocations in .text section. diff --git a/ld/testsuite/ld-gc/start.d b/ld/testsuite/ld-gc/start.d index 6950b06f71..b848623927 100644 --- a/ld/testsuite/ld-gc/start.d +++ b/ld/testsuite/ld-gc/start.d @@ -1,7 +1,7 @@ #name: --gc-sections with __start_ #ld: --gc-sections -e _start #nm: -n -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #notarget: frv-*-linux* metag-*-linux* #... diff --git a/ld/testsuite/ld-gc/stop.d b/ld/testsuite/ld-gc/stop.d index bea0961e08..84dc465313 100644 --- a/ld/testsuite/ld-gc/stop.d +++ b/ld/testsuite/ld-gc/stop.d @@ -1,7 +1,7 @@ #name: --gc-sections removing __stop_ #ld: --gc-sections -e _start #nm: -n -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #notarget: frv-*-linux* metag-*-linux* #failif diff --git a/ld/testsuite/ld-scripts/phdrs2.exp b/ld/testsuite/ld-scripts/phdrs2.exp index ac76db4a45..9a069d02e8 100644 --- a/ld/testsuite/ld-scripts/phdrs2.exp +++ b/ld/testsuite/ld-scripts/phdrs2.exp @@ -25,6 +25,7 @@ if { ![istarget *-*-sysv4*] \ && ![istarget *-*-eabi*] \ && ![istarget hppa*64*-*-hpux*] \ && ![istarget *-*-linux*] \ + && ![istarget arm*-*-uclinuxfdpiceabi] \ && ![istarget *-*-gnu*] \ && ![istarget *-*-irix5*] \ && ![istarget *-*-irix6*] \ diff --git a/ld/testsuite/ld-scripts/rgn-at5.d b/ld/testsuite/ld-scripts/rgn-at5.d index 012451ae8a..767285ca6a 100644 --- a/ld/testsuite/ld-scripts/rgn-at5.d +++ b/ld/testsuite/ld-scripts/rgn-at5.d @@ -2,7 +2,7 @@ # source: rgn-at5.s # ld: -T rgn-at5.t -z max-page-size=0x1000 # objdump: -w -h -# target: *-*-linux* *-*-gnu* +# target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi # xfail: rx-*-* # FAILS on the RX because the linker has to set LMA == VMA for the # Renesas loader. diff --git a/ld/testsuite/ld-undefined/entry-3.d b/ld/testsuite/ld-undefined/entry-3.d index ca91765979..474a6d934d 100644 --- a/ld/testsuite/ld-undefined/entry-3.d +++ b/ld/testsuite/ld-undefined/entry-3.d @@ -2,7 +2,7 @@ #source: dummy.s #ld: -shared --entry foo tmpdir/libentry.a #nm: -n -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... [0-9a-f]+ T +foo diff --git a/ld/testsuite/ld-undefined/entry-4.d b/ld/testsuite/ld-undefined/entry-4.d index d02808e0d4..fa390a486a 100644 --- a/ld/testsuite/ld-undefined/entry-4.d +++ b/ld/testsuite/ld-undefined/entry-4.d @@ -2,7 +2,7 @@ #source: dummy.s #ld: -shared --entry foo -u foo tmpdir/libentry.a #nm: -n -#target: *-*-linux* *-*-gnu* +#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi #... [0-9a-f]+ T +foo -- 2.34.1