WIP MachO binutils port assisted by AI I may consider upstreaming this in the future.
0

Configure Feed

Select the types of activity you want to include in your feed.

Add generic tests for linker support of the -shared or -pie options to tests which use them.

binutils* testsuite/lib/binutils-common.exp (check_pie_support): New
proc.

ld * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
not support the -shared command line option.
* /ld-elf/compressed1c.d: Likewise.
* /ld-elf/compressed1e.d: Likewise.
* /ld-elf/dynamic1.d: Likewise.
* /ld-elf/dynsym1.d: Likewise.
* /ld-elf/ehdr_start-shared.d: Likewise.
* /ld-elf/exclude3b.d: Likewise.
* /ld-elf/global1.d: Likewise.
* /ld-elf/hash.d: Likewise.
* /ld-elf/local1.d: Likewise.
* /ld-elf/mbind1b.d: Likewise.
* /ld-elf/now-1.d: Likewise.
* /ld-elf/now-2.d: Likewise.
* /ld-elf/now-3.d: Likewise.
* /ld-elf/now-4.d: Likewise.
* /ld-elf/pr12975.d: Likewise.
* /ld-elf/pr13177.d: Likewise.
* /ld-elf/pr13195.d: Likewise.
* /ld-elf/pr16322.d: Likewise.
* /ld-elf/pr16498a.d: Likewise.
* /ld-elf/pr16498b.d: Likewise.
* /ld-elf/pr17615.d: Likewise.
* /ld-elf/pr19162.d: Likewise.
* /ld-elf/pr19698.d: Likewise.
* /ld-elf/pr20513c.d: Likewise.
* /ld-elf/pr20513d.d: Likewise.
* /ld-elf/pr21389a.d: Likewise.
* /ld-elf/pr21389b.d: Likewise.
* /ld-elf/pr21389c.d: Likewise.
* /ld-elf/pr21562a.d: Likewise.
* /ld-elf/pr21562b.d: Likewise.
* /ld-elf/pr21562c.d: Likewise.
* /ld-elf/pr21562d.d: Likewise.
* /ld-elf/pr21562e.d: Likewise.
* /ld-elf/pr21562f.d: Likewise.
* /ld-elf/pr21562g.d: Likewise.
* /ld-elf/pr21562h.d: Likewise.
* /ld-elf/pr21562i.d: Likewise.
* /ld-elf/pr21562j.d: Likewise.
* /ld-elf/pr21562k.d: Likewise.
* /ld-elf/pr21562l.d: Likewise.
* /ld-elf/pr21562m.d: Likewise.
* /ld-elf/pr21562n.d: Likewise.
* /ld-elf/pr21903a.d: Likewise.
* /ld-elf/pr21903b.d: Likewise.
* /ld-elf/pr22269b.d: Likewise.
* /ld-elf/pr22393-1a.d: Likewise.
* /ld-elf/pr22393-1b.d: Likewise.
* /ld-elf/pr23658-1c.d: Likewise.
* /ld-elf/pr25708.d: Likewise.
* /ld-elf/rpath-1.d: Likewise.
* /ld-elf/rpath-2.d: Likewise.
* /ld-elf/runpath-1.d: Likewise.
* /ld-elf/runpath-2.d: Likewise.
* /ld-elf/sizeofb.d: Likewise.
* /ld-elf/startofb.d: Likewise.
* /ld-elf/strtab.d: Likewise.
* /ld-elf/textaddr2.d: Likewise.
* /ld-elf/textaddr5.d: Likewise.
* /ld-elf/textaddr6.d: Likewise.
* /ld-elf/unknown2.d: Likewise.
* /ld-undefined/entry-3.d: Likewise.
* /ld-undefined/entry-4.d: Likewise.
* /ld-elf/mbind1c.d: XFAIL if the target linker does not support
the -pie option.
* /ld-elf/pie.d: Likewise.
* /ld-elf/pr19539.d: Likewise.
* /ld-elf/pr21903d.d: Likewise.
* /ld-elf/pr22269a.d: Likewise.
* /ld-elf/pr22393-1c.d: Likewise.
* /ld-elf/pr22393-1d.d: Likewise.
* /ld-elf/pr22423.d: Likewise.
* /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
* /ld-elf/loadaddr2.d: Likewise.
* /ld-elf/pr22393-1e.d: Likewise.
* /ld-elf/pr22393-1f.d: Likewise.
* /ld-elf/textaddr1.d: Likewise.
* /ld-elf/textaddr4.d: Likewise.

Nick Clifton (Apr 30, 2020, 1:49 PM +0100) 8a8a1171 627c7fb8

+181 -77
+5
binutils/ChangeLog
··· 1 + 2020-04-30 Nick Clifton <nickc@redhat.com> 2 + 3 + * testsuite/lib/binutils-common.exp (check_pie_support): New 4 + proc. 5 + 1 6 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com> 2 7 3 8 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
+17
binutils/testsuite/lib/binutils-common.exp
··· 291 291 return $shared_available_saved 292 292 } 293 293 294 + # Returns true if -pie is supported on the target 295 + 296 + proc check_pie_support { } { 297 + global pie_available_saved 298 + global ld 299 + 300 + if {![info exists pie_available_saved]} { 301 + set ld_output [remote_exec host $ld "-pie"] 302 + if { [ string first "not supported" $ld_output ] >= 0 } { 303 + set pie_available_saved 0 304 + } else { 305 + set pie_available_saved 1 306 + } 307 + } 308 + return $pie_available_saved 309 + } 310 + 294 311 # Compare two files line-by-line. FILE_1 is the actual output and FILE_2 295 312 # is the expected output. Ignore blank lines in either file. 296 313 #
+82
ld/ChangeLog
··· 1 + 2020-04-30 Nick Clifton <nickc@redhat.com> 2 + 3 + * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does 4 + not support the -shared command line option. 5 + * /ld-elf/compressed1c.d: Likewise. 6 + * /ld-elf/compressed1e.d: Likewise. 7 + * /ld-elf/dynamic1.d: Likewise. 8 + * /ld-elf/dynsym1.d: Likewise. 9 + * /ld-elf/ehdr_start-shared.d: Likewise. 10 + * /ld-elf/exclude3b.d: Likewise. 11 + * /ld-elf/global1.d: Likewise. 12 + * /ld-elf/hash.d: Likewise. 13 + * /ld-elf/local1.d: Likewise. 14 + * /ld-elf/mbind1b.d: Likewise. 15 + * /ld-elf/now-1.d: Likewise. 16 + * /ld-elf/now-2.d: Likewise. 17 + * /ld-elf/now-3.d: Likewise. 18 + * /ld-elf/now-4.d: Likewise. 19 + * /ld-elf/pr12975.d: Likewise. 20 + * /ld-elf/pr13177.d: Likewise. 21 + * /ld-elf/pr13195.d: Likewise. 22 + * /ld-elf/pr16322.d: Likewise. 23 + * /ld-elf/pr16498a.d: Likewise. 24 + * /ld-elf/pr16498b.d: Likewise. 25 + * /ld-elf/pr17615.d: Likewise. 26 + * /ld-elf/pr19162.d: Likewise. 27 + * /ld-elf/pr19698.d: Likewise. 28 + * /ld-elf/pr20513c.d: Likewise. 29 + * /ld-elf/pr20513d.d: Likewise. 30 + * /ld-elf/pr21389a.d: Likewise. 31 + * /ld-elf/pr21389b.d: Likewise. 32 + * /ld-elf/pr21389c.d: Likewise. 33 + * /ld-elf/pr21562a.d: Likewise. 34 + * /ld-elf/pr21562b.d: Likewise. 35 + * /ld-elf/pr21562c.d: Likewise. 36 + * /ld-elf/pr21562d.d: Likewise. 37 + * /ld-elf/pr21562e.d: Likewise. 38 + * /ld-elf/pr21562f.d: Likewise. 39 + * /ld-elf/pr21562g.d: Likewise. 40 + * /ld-elf/pr21562h.d: Likewise. 41 + * /ld-elf/pr21562i.d: Likewise. 42 + * /ld-elf/pr21562j.d: Likewise. 43 + * /ld-elf/pr21562k.d: Likewise. 44 + * /ld-elf/pr21562l.d: Likewise. 45 + * /ld-elf/pr21562m.d: Likewise. 46 + * /ld-elf/pr21562n.d: Likewise. 47 + * /ld-elf/pr21903a.d: Likewise. 48 + * /ld-elf/pr21903b.d: Likewise. 49 + * /ld-elf/pr22269b.d: Likewise. 50 + * /ld-elf/pr22393-1a.d: Likewise. 51 + * /ld-elf/pr22393-1b.d: Likewise. 52 + * /ld-elf/pr23658-1c.d: Likewise. 53 + * /ld-elf/pr25708.d: Likewise. 54 + * /ld-elf/rpath-1.d: Likewise. 55 + * /ld-elf/rpath-2.d: Likewise. 56 + * /ld-elf/runpath-1.d: Likewise. 57 + * /ld-elf/runpath-2.d: Likewise. 58 + * /ld-elf/sizeofb.d: Likewise. 59 + * /ld-elf/startofb.d: Likewise. 60 + * /ld-elf/strtab.d: Likewise. 61 + * /ld-elf/textaddr2.d: Likewise. 62 + * /ld-elf/textaddr5.d: Likewise. 63 + * /ld-elf/textaddr6.d: Likewise. 64 + * /ld-elf/unknown2.d: Likewise. 65 + * /ld-undefined/entry-3.d: Likewise. 66 + * /ld-undefined/entry-4.d: Likewise. 67 + * /ld-elf/mbind1c.d: XFAIL if the target linker does not support 68 + the -pie option. 69 + * /ld-elf/pie.d: Likewise. 70 + * /ld-elf/pr19539.d: Likewise. 71 + * /ld-elf/pr21903d.d: Likewise. 72 + * /ld-elf/pr22269a.d: Likewise. 73 + * /ld-elf/pr22393-1c.d: Likewise. 74 + * /ld-elf/pr22393-1d.d: Likewise. 75 + * /ld-elf/pr22423.d: Likewise. 76 + * /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target. 77 + * /ld-elf/loadaddr2.d: Likewise. 78 + * /ld-elf/pr22393-1e.d: Likewise. 79 + * /ld-elf/pr22393-1f.d: Likewise. 80 + * /ld-elf/textaddr1.d: Likewise. 81 + * /ld-elf/textaddr4.d: Likewise. 82 + 1 83 2020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp> 2 84 3 85 * emulparams/elf32rx_linux.sh: New rx-linux emulation.
+1 -1
ld/testsuite/ld-elf/compress1c.d
··· 3 3 #ld: -shared 4 4 #readelf: -S --wide 5 5 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* 6 + #xfail: ![check_shared_lib_support] 7 7 8 8 #failif 9 9 #...
+1 -1
ld/testsuite/ld-elf/compressed1c.d
··· 3 3 #ld: -shared --compress-debug-sections=none 4 4 #readelf: -t 5 5 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* 6 + #xfail: ![check_shared_lib_support] 7 7 8 8 #failif 9 9 #...
+1 -1
ld/testsuite/ld-elf/compressed1e.d
··· 3 3 #ld: -shared --compress-debug-sections=zlib-gnu 4 4 #readelf: -SW 5 5 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* 6 + #xfail: ![check_shared_lib_support] 7 7 8 8 #failif 9 9 #...
+1 -1
ld/testsuite/ld-elf/dynamic1.d
··· 1 1 #ld: -shared -T dynamic1.ld 2 2 #readelf: -l --wide 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: h8300-*-* 4 + #xfail: ![check_shared_lib_support] 5 5 6 6 #... 7 7 Section to Segment mapping:
+1 -1
ld/testsuite/ld-elf/dynsym1.d
··· 2 2 #ld: -shared 3 3 #readelf: --dyn-syms 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 +[0-9]+: +[0-9a-f]+ +[0-9]+ +FUNC +GLOBAL +DEFAULT +[1-9] _start
+1 -1
ld/testsuite/ld-elf/ehdr_start-shared.d
··· 2 2 #ld: -e _start -shared 3 3 #nm: -n 4 4 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 5 - #xfail: cris*-*-* frv-*-* h8300-*-* 5 + #xfail: cris*-*-* frv-*-* ![check_shared_lib_support] 6 6 7 7 #... 8 8 [0-9a-f]*000 [Adrt] __ehdr_start
+1 -1
ld/testsuite/ld-elf/exclude3b.d
··· 2 2 #ld: --shared 3 3 #readelf: -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/global1.d
··· 2 2 #ld: -shared -z global 3 3 #readelf: -d 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 0x0*6ffffffb \(FLAGS_1\) *Flags: GLOBAL
+1 -1
ld/testsuite/ld-elf/hash.d
··· 2 2 #readelf: -d -s -D 3 3 #ld: -shared --hash-style=gnu 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 #xfail: mips*-*-* 7 7 # MIPS uses a different style of GNU hash due to psABI restrictions 8 8 # on dynsym table ordering.
+1 -1
ld/testsuite/ld-elf/loadaddr1.d
··· 2 2 #ld: -T loadaddr1.t -T loadaddr.t -z max-page-size=0x200000 -z noseparate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* rx-*-linux* 6 6 7 7 #... 8 8 LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000
+1 -1
ld/testsuite/ld-elf/loadaddr2.d
··· 2 2 #ld: -T loadaddr2.t -T loadaddr.t -z max-page-size=0x200000 -z noseparate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* rx-*-linux* 6 6 7 7 #... 8 8 LOAD +0x000000 0xf*80000000 0xf*80000000 0x100050 0x100050 RWE 0x200000
+1 -1
ld/testsuite/ld-elf/local1.d
··· 1 1 #ld: -shared --version-script local1.map 2 2 #readelf: -s --wide 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: h8300-*-* 4 + #xfail: ![check_shared_lib_support] 5 5 6 6 #... 7 7 .*: [0-9a-f]* +[0-9a-f]+ +OBJECT +LOCAL +DEFAULT +[0-9] +foo
+1 -1
ld/testsuite/ld-elf/mbind1b.d
··· 2 2 #ld: -shared -z common-page-size=0x1000 -z max-page-size=0x200000 3 3 #readelf: -S -l --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AXD 0 0 4096
+1 -1
ld/testsuite/ld-elf/mbind1c.d
··· 2 2 #ld: -pie -z common-page-size=0x1000 -z max-page-size=0x200000 3 3 #readelf: -S -l --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_pie_support] 6 6 7 7 #... 8 8 \[[ 0-9]+\] \.mbind\.text[ ]+PROGBITS[ ]+[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 AXD 0 0 4096
+1 -1
ld/testsuite/ld-elf/now-1.d
··· 2 2 #readelf: -d -W 3 3 #ld: -shared -z now --enable-new-dtags 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/now-2.d
··· 2 2 #readelf: -d -W 3 3 #ld: -shared -z now --enable-new-dtags 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 0x[0-9a-f]+ +\(FLAGS\) +BIND_NOW
+1 -1
ld/testsuite/ld-elf/now-3.d
··· 2 2 #readelf: -d -W 3 3 #ld: -shared -z now --disable-new-dtags 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/now-4.d
··· 2 2 #readelf: -d -W 3 3 #ld: -shared -z now --disable-new-dtags 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 0x[0-9a-f]+ +\(BIND_NOW\) +
+1 -1
ld/testsuite/ld-elf/pie.d
··· 2 2 #readelf: -d -W 3 3 #ld: -pie 4 4 #target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_pie_support] 6 6 7 7 #... 8 8 +0x[0-9a-f]+ +\(FLAGS_1\) +Flags: +PIE
+1 -1
ld/testsuite/ld-elf/pr12975.d
··· 1 1 #ld: --gc-sections -shared -version-script pr12975.t 2 2 #readelf: -s --wide 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 4 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 5 5 # generic linker targets don't support --gc-sections, nor do a bunch of others 6 6 7 7 #failif
+1 -1
ld/testsuite/ld-elf/pr13177.d
··· 2 2 #ld: --gc-sections -shared 3 3 #readelf: -s -D --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #failif
+1 -1
ld/testsuite/ld-elf/pr13195.d
··· 1 1 #ld: --gc-sections -shared -version-script pr13195.t 2 2 #readelf: -s --wide -D 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 4 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 5 5 # generic linker targets don't support --gc-sections, nor do a bunch of others 6 6 7 7 #...
+1 -1
ld/testsuite/ld-elf/pr16322.d
··· 1 1 #ld: -shared -z relro -z noseparate-code 2 2 #readelf: -l --wide 3 3 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 4 - #xfail: h8300-*-* 4 + #xfail: ![check_shared_lib_support] 5 5 6 6 #... 7 7 GNU_RELRO .*
+1 -1
ld/testsuite/ld-elf/pr16498a.d
··· 1 1 #ld: -shared -T pr16498a.t 2 2 #readelf: -l --wide 3 3 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 4 - #xfail: h8300-*-* 4 + #xfail: ![check_shared_lib_support] 5 5 6 6 #... 7 7 TLS .*
+1 -1
ld/testsuite/ld-elf/pr16498b.d
··· 2 2 #ld: -shared -T pr16498b.t 3 3 #readelf: -l --wide 4 4 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 TLS .*
+1 -1
ld/testsuite/ld-elf/pr17615.d
··· 1 1 #ld: --gc-sections -shared 2 2 #readelf: -S --wide --dyn-syms 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 4 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 5 5 # generic linker targets don't support --gc-sections, nor do a bunch of others 6 6 7 7 #...
+1 -1
ld/testsuite/ld-elf/pr19162.d
··· 3 3 #ld: -shared -z max-page-size=0x200000 -z noseparate-code 4 4 #readelf: -l --wide 5 5 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* hppa*-*-* 6 + #xfail: hppa*-*-* ![check_shared_lib_support] 7 7 # hppa fails due to PR 12376. 8 8 9 9 #...
+1 -1
ld/testsuite/ld-elf/pr19539.d
··· 3 3 #ld: -pie -T pr19539.t 4 4 #readelf : --dyn-syms --wide 5 5 #target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi 6 - #xfail: cris*-*-* h8300-*-* 6 + #xfail: cris*-*-* ![check_pie_support] 7 7 8 8 Symbol table '\.dynsym' contains [0-9]+ entr(y|ies): 9 9 #pass
+1 -1
ld/testsuite/ld-elf/pr19698.d
··· 1 1 #ld: -shared $srcdir/$subdir/pr19698.t 2 2 #readelf : --dyn-syms --wide 3 3 #target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi 4 - #xfail: h8300-*-* 4 + #xfail: ![check_shared_lib_support] 5 5 6 6 Symbol table '\.dynsym' contains [0-9]+ entries: 7 7 #...
+1 -1
ld/testsuite/ld-elf/pr20513c.d
··· 3 3 #ld: -shared 4 4 #readelf: -S --wide 5 5 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* 6 + #xfail: ![check_shared_lib_support] 7 7 8 8 #failif 9 9 #...
+1 -1
ld/testsuite/ld-elf/pr20513d.d
··· 3 3 #ld: -shared 4 4 #readelf: -S --wide 5 5 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* 6 + #xfail: ![check_shared_lib_support] 7 7 8 8 #failif 9 9 #...
+1 -1
ld/testsuite/ld-elf/pr21389a.d
··· 2 2 #ld: -shared --version-script pr21389.map -soname=pr21389.so 3 3 #objdump: -p 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 Version definitions:
+1 -1
ld/testsuite/ld-elf/pr21389b.d
··· 2 2 #ld: -shared --version-script pr21389.map -soname=pr21389.so 3 3 #readelf: -d 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 0x[0-9a-f]* \(SONAME\) +Library soname: \[pr21389.so\]
+1 -1
ld/testsuite/ld-elf/pr21389c.d
··· 2 2 #ld: -shared -soname=pr21389.so 3 3 #readelf: -d 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 0x[0-9a-f]* \(SONAME\) +Library soname: \[pr21389.so\]
+1 -1
ld/testsuite/ld-elf/pr21562a.d
··· 1 1 #ld: -shared -z defs --gc-sections 2 2 #readelf: -s -S --wide 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 4 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 5 5 # generic linker targets don't support --gc-sections, nor do a bunch of others 6 6 7 7 #...
+1 -1
ld/testsuite/ld-elf/pr21562b.d
··· 1 1 #ld: -shared -z defs --gc-sections 2 2 #readelf: -s -S --wide 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 4 + #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 5 5 # generic linker targets don't support --gc-sections, nor do a bunch of others 6 6 7 7 #...
+1 -1
ld/testsuite/ld-elf/pr21562c.d
··· 2 2 #ld: -shared -z defs --gc-sections -T pr21562a.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr21562d.d
··· 2 2 #ld: -shared -z defs --gc-sections -T pr21562a.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr21562e.d
··· 2 2 #ld: -shared -z defs 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* ![check_shared_lib_support] 6 6 7 7 #... 8 8 \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
+1 -1
ld/testsuite/ld-elf/pr21562f.d
··· 2 2 #ld: -shared -z defs 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* ![check_shared_lib_support] 6 6 7 7 #... 8 8 \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
+1 -1
ld/testsuite/ld-elf/pr21562g.d
··· 2 2 #ld: -shared -z defs -T pr21562a.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* ![check_shared_lib_support] 6 6 7 7 #... 8 8 \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
+1 -1
ld/testsuite/ld-elf/pr21562h.d
··· 2 2 #ld: -shared -z defs -T pr21562a.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* ![check_shared_lib_support] 6 6 7 7 #... 8 8 \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
+1 -1
ld/testsuite/ld-elf/pr21562i.d
··· 2 2 #ld: -shared -z defs --gc-sections -T pr21562b.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr21562j.d
··· 2 2 #ld: -shared -z defs --gc-sections -T pr21562b.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] ![check_shared_lib_support] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr21562k.d
··· 2 2 #ld: -shared -z defs --gc-sections -T pr21562c.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr21562l.d
··· 2 2 #ld: -shared -z defs --gc-sections -T pr21562c.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr21562m.d
··· 2 2 #ld: -shared -z defs --gc-sections -T pr21562d.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr21562n.d
··· 2 2 #ld: -shared -z defs --gc-sections -T pr21562d.t 3 3 #readelf: -s -S --wide 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: [is_generic] h8300-*-* hppa64-*-* mep-*-* mn10200-*-* 5 + #xfail: [is_generic] hppa64-*-* mep-*-* mn10200-*-* ![check_shared_lib_support] 6 6 # generic linker targets don't support --gc-sections, nor do a bunch of others 7 7 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr21903a.d
··· 2 2 #ld: -shared --no-define-common 3 3 #readelf: --dyn-syms 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 .*: 0+0 +0 +OBJECT +GLOBAL +DEFAULT +UND foo
+1 -1
ld/testsuite/ld-elf/pr21903b.d
··· 2 2 #ld: -shared 3 3 #readelf: --dyn-syms 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 .*: [0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ foo
+1 -1
ld/testsuite/ld-elf/pr21903d.d
··· 1 1 #source: pr21903.s 2 2 #ld: --no-define-common -pie 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: h8300-*-* 4 + #xfail: ![check_pie_support] 5 5 #error: --no-define-common may not be used without -shared
+1 -1
ld/testsuite/ld-elf/pr22269a.d
··· 3 3 #ld: -pie --no-dynamic-linker 4 4 #readelf: -r -x .data.rel.ro 5 5 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* 6 + #xfail: ![check_pie_support] 7 7 8 8 There are no relocations in this file. 9 9
+1 -1
ld/testsuite/ld-elf/pr22269b.d
··· 4 4 #readelf: -r -x .data.rel.ro 5 5 #warning: -z dynamic-undefined-weak ignored 6 6 #target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 7 - #xfail: h8300-*-* 7 + #xfail: ![check_pie_support] 8 8 9 9 There are no relocations in this file. 10 10
+1 -1
ld/testsuite/ld-elf/pr22393-1a.d
··· 2 2 #ld: -shared -z separate-code -z relro 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr22393-1b.d
··· 2 2 #ld: -shared -z relro -z separate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr22393-1c.d
··· 2 2 #ld: -pie -z separate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_pie_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr22393-1d.d
··· 2 2 #ld: -pie -z separate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_pie_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr22393-1e.d
··· 2 2 #ld: -z separate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* rx-*-linux* 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr22393-1f.d
··· 2 2 #ld: -z separate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* rx-*-linux* 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/pr22423.d
··· 2 2 #readelf: -l -W 3 3 #ld: -pie --dynamic-linker=/usr/lib/ld.so.1 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_pie_support] 6 6 7 7 #... 8 8 +PHDR +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +0x[0-9a-f]+ +R +0x[48]?
+1 -1
ld/testsuite/ld-elf/pr23658-1c.d
··· 6 6 #ld: --build-id -shared 7 7 #readelf: -l --wide 8 8 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 9 - #xfail: h8300-*-* 9 + #xfail: ![check_shared_lib_support] 10 10 11 11 #... 12 12 +[0-9]+ +\.note\.4 \.note\.1 +
+1 -1
ld/testsuite/ld-elf/pr25708.d
··· 2 2 #ld: -shared -version-script pr13195.t 3 3 #nm: -D 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* hppa64-*-* 5 + #xfail: hppa64-*-* ![check_shared_lib_support] 6 6 # h8300 doesn't support -shared, and hppa64 creates .foo 7 7 8 8 #..
+1 -1
ld/testsuite/ld-elf/rpath-1.d
··· 2 2 #readelf: -d -W 3 3 #ld: -shared -rpath=. --disable-new-dtags 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/rpath-2.d
··· 2 2 #readelf: -d -W 3 3 #ld: -shared -rpath=. --disable-new-dtags 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 +0x[0-9a-f]+ +\(RPATH\) +Library rpath: +\[.\]
+1 -1
ld/testsuite/ld-elf/runpath-1.d
··· 2 2 #readelf: -d -W 3 3 #ld: -shared -rpath . --enable-new-dtags 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #failif 8 8 #...
+1 -1
ld/testsuite/ld-elf/runpath-2.d
··· 2 2 #readelf: -d -W 3 3 #ld: -shared -rpath . --enable-new-dtags 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 +0x[0-9a-f]+ +\(RUNPATH\) +Library runpath: +\[.\]
+1 -1
ld/testsuite/ld-elf/sizeofb.d
··· 2 2 #ld: -shared 3 3 #readelf: -sW 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 Symbol table '\.dynsym' contains [0-9]+ entries: 8 8 +Num: +Value +Size Type +Bind +Vis +Ndx Name
+1 -1
ld/testsuite/ld-elf/startofb.d
··· 2 2 #ld: -shared 3 3 #readelf: -sW 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 Symbol table '\.dynsym' contains [0-9]+ entries: 8 8 +Num: +Value +Size Type +Bind +Vis +Ndx Name
+1 -1
ld/testsuite/ld-elf/strtab.d
··· 1 1 #ld: -shared 2 2 #readelf: -W -x .strtab 3 3 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: h8300-*-* 4 + #xfail: ![check_shared_lib_support] 5 5 6 6 #failif 7 7 #...
+1 -1
ld/testsuite/ld-elf/textaddr1.d
··· 2 2 #ld: -Ttext-segment 0x7000000 -z max-page-size=0x200000 -z noseparate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* rx-*-linux* 6 6 7 7 #... 8 8 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
+1 -1
ld/testsuite/ld-elf/textaddr2.d
··· 2 2 #ld: -shared -Ttext-segment 0x7000000 -z max-page-size=0x200000 -z noseparate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 LOAD +0x0+ 0x0*7000000 0x0*7000000 0x0*[0-9a-f]+ 0x0*[0-9a-f]+ R[ W]E 0x200000
+1 -1
ld/testsuite/ld-elf/textaddr4.d
··· 2 2 #ld: -z max-page-size=0x10000 -Ttext-segment 0x10000 -z noseparate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: h8300-*-* rx-*-linux* 6 6 7 7 #... 8 8 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
+1 -1
ld/testsuite/ld-elf/textaddr5.d
··· 1 1 #source: maxpage1.s 2 2 #ld: -shared -z max-page-size=0x200000 -Ttext-segment 0x10000 3 3 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi 4 - #xfail: h8300-*-* 4 + #xfail: ![check_shared_lib_support] 5 5 #warning: .*address of `text-segment' isn't multiple of maximum page size
+1 -1
ld/testsuite/ld-elf/textaddr6.d
··· 2 2 #ld: -shared -z max-page-size=0x10000 -Ttext-segment 0x10000 -z noseparate-code 3 3 #readelf: -l --wide 4 4 #target: *-*-linux-gnu *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 LOAD +0x0+ 0x0*10000 0x0*10000 0x0*[0-9a-f]+ 0x0*[0-9a-f]+ R[ W]E 0x10000
+1 -1
ld/testsuite/ld-elf/unknown2.d
··· 2 2 #ld: -shared 3 3 #readelf: -S 4 4 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 5 - #xfail: h8300-*-* 5 + #xfail: ![check_shared_lib_support] 6 6 7 7 #... 8 8 \[[ 0-9]+\] \.note.foo[ \t]+NOTE[ \t]+.*
+1 -1
ld/testsuite/ld-undefined/entry-3.d
··· 3 3 #ld: -shared --entry foo tmpdir/libentry.a 4 4 #nm: -n 5 5 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* 6 + #xfail: ![check_shared_lib_support] 7 7 8 8 #... 9 9 [0-9a-f]+ T +foo
+1 -1
ld/testsuite/ld-undefined/entry-4.d
··· 3 3 #ld: -shared --entry foo -u foo tmpdir/libentry.a 4 4 #nm: -n 5 5 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi 6 - #xfail: h8300-*-* 6 + #xfail: ![check_shared_lib_support] 7 7 8 8 #... 9 9 [0-9a-f]+ T +foo