[ARM] FDPIC: Update testsuite so that many tests pass with arm*-uclinuxfdpiceabi.
2018-04-25 Christophe Lyon <christophe.lyon@st.com> 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.
This commit is contained in:
parent
59029f57eb
commit
f1ac0afe48
@ -1,3 +1,11 @@
|
||||
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
||||
|
||||
* 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 <christophe.lyon@st.com>
|
||||
Mickaël Guêné <mickael.guene@st.com>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#source: empty.s
|
||||
#readelf: -h
|
||||
#name: Update ELF header 2
|
||||
#target: *-*-linux* *-*-gnu*
|
||||
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#...
|
||||
ELF Header:
|
||||
|
@ -3,7 +3,7 @@
|
||||
#source: empty.s
|
||||
#readelf: -h
|
||||
#name: Update ELF header 3
|
||||
#target: *-*-linux* *-*-gnu*
|
||||
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#...
|
||||
ELF Header:
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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]+.*
|
||||
|
@ -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*]
|
||||
|
115
ld/ChangeLog
115
ld/ChangeLog
@ -1,3 +1,118 @@
|
||||
2018-04-25 Christophe Lyon <christophe.lyon@st.com>
|
||||
|
||||
* 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 <christophe.lyon@st.com>
|
||||
Mickaël Guêné <mickael.guene@st.com>
|
||||
|
||||
|
@ -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
|
||||
|
@ -29,6 +29,7 @@ if { ![istarget *-*-linux*]
|
||||
&& ![istarget *-*-gnu*]
|
||||
&& ![istarget *-*-nacl*]
|
||||
&& ![istarget hppa*64*-*-hpux*]
|
||||
&& ![istarget arm*-*-uclinuxfdpiceabi]
|
||||
&& ![istarget *-*-elf] } {
|
||||
return
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -2,7 +2,7 @@
|
||||
#as: --compress-debug-sections
|
||||
#ld: -shared
|
||||
#readelf: -S --wide
|
||||
#target: *-*-linux* *-*-gnu*
|
||||
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#failif
|
||||
#...
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
#ld: -shared -T dynamic1.ld
|
||||
#readelf: -l --wide
|
||||
#target: *-*-linux* *-*-gnu*
|
||||
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#...
|
||||
Section to Segment mapping:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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-*-*
|
||||
|
||||
#...
|
||||
|
@ -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-*-*
|
||||
|
||||
#...
|
||||
|
@ -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
|
||||
|
@ -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-*-*
|
||||
|
||||
#...
|
||||
|
@ -1,7 +1,7 @@
|
||||
#source: exclude3.s
|
||||
#ld: --shared
|
||||
#readelf: -S --wide
|
||||
#target: *-*-linux* *-*-gnu*
|
||||
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#failif
|
||||
#...
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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*-*-*
|
||||
|
||||
#...
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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?.*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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\) +
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 .*
|
||||
|
@ -1,6 +1,6 @@
|
||||
#ld: -shared -T pr16498a.t
|
||||
#readelf: -l --wide
|
||||
#target: *-*-linux* *-*-gnu* *-*-nacl*
|
||||
#target: *-*-linux* *-*-gnu* *-*-nacl* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#...
|
||||
TLS .*
|
||||
|
@ -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 .*
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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):
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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:
|
||||
#...
|
||||
|
@ -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:
|
||||
#...
|
||||
|
@ -2,7 +2,7 @@
|
||||
#source: pr20513b.s
|
||||
#ld: -shared
|
||||
#readelf: -S --wide
|
||||
#target: *-*-linux* *-*-gnu*
|
||||
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#failif
|
||||
#...
|
||||
|
@ -2,7 +2,7 @@
|
||||
#source: pr20513a.s
|
||||
#ld: -shared
|
||||
#readelf: -S --wide
|
||||
#target: *-*-linux* *-*-gnu*
|
||||
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#failif
|
||||
#...
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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\]
|
||||
|
@ -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\]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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]+.*
|
||||
|
@ -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]+.*
|
||||
|
@ -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]+.*
|
||||
|
@ -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]+.*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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]?
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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: +\[.\]
|
||||
|
@ -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
|
||||
#...
|
||||
|
@ -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: +\[.\]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
#ld: -shared
|
||||
#readelf: -W -x .strtab
|
||||
#target: *-*-linux* *-*-gnu*
|
||||
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
||||
|
||||
#failif
|
||||
#...
|
||||
|
@ -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
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user