bcae43427d
ld-cris/pic-gc-72.s, ld-cris/pic-gc-73.d, ld-cris/pic-gc-73.s, ld-cris/tls-dso-x1x2-1.d, ld-cris/tls-dso-xz-1.d, ld-cris/tls-dtprelm.s, ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d, ld-cris/tls-e-22.d, ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-err-20x.d, ld-cris/tls-err-24.d, ld-cris/tls-err-25.d, ld-cris/tls-err-26.d, ld-cris/tls-err-27.d, ld-cris/tls-err-28.d, ld-cris/tls-err-29.d, ld-cris/tls-err-31.d, ld-cris/tls-err-33.d, ld-cris/tls-err-35.d, ld-cris/tls-err-37.d, ld-cris/tls-err-39.d, ld-cris/tls-err-40.d, ld-cris/tls-err-41.d, ld-cris/tls-err-43.d, ld-cris/tls-err-44.d, ld-cris/tls-err-45.d, ld-cris/tls-err-47.d, ld-cris/tls-err-48.d, ld-cris/tls-err-49.d, ld-cris/tls-err-51.d, ld-cris/tls-err-52.d, ld-cris/tls-err-53.d, ld-cris/tls-err-55.d, ld-cris/tls-err-55.s, ld-cris/tls-err-56.d, ld-cris/tls-err-56.s, ld-cris/tls-err-62.d, ld-cris/tls-err-62.s, ld-cris/tls-err-65.d, ld-cris/tls-err-67.d, ld-cris/tls-gc-68.d, ld-cris/tls-gc-69.d, ld-cris/tls-gc-70.d, ld-cris/tls-gc-71.d, ld-cris/tls-gc-71.s, ld-cris/tls-gc-75.d, ld-cris/tls-gc-76.d, ld-cris/tls-gc-76.s, ld-cris/tls-gd-1.d, ld-cris/tls-gd-1.s, ld-cris/tls-gd-1h.d, ld-cris/tls-gd-2.d, ld-cris/tls-gd-2.s, ld-cris/tls-gd-2h.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3.s, ld-cris/tls-gd-3h.d, ld-cris/tls-gdgotrelm.s, ld-cris/tls-global-74.d, ld-cris/tls-gottprelm.s, ld-cris/tls-hx.s, ld-cris/tls-hx1x2.s, ld-cris/tls-ie-10.d, ld-cris/tls-ie-10.s, ld-cris/tls-ie-11.d, ld-cris/tls-ie-11.s, ld-cris/tls-ie-8.d, ld-cris/tls-ie-8.s, ld-cris/tls-ie-9.d, ld-cris/tls-ie-9.s, ld-cris/tls-ld-4.d, ld-cris/tls-ld-4.s, ld-cris/tls-ld-5.d, ld-cris/tls-ld-5.s, ld-cris/tls-ld-6.d, ld-cris/tls-ld-6.s, ld-cris/tls-ld-7.d, ld-cris/tls-ld-7.s, ld-cris/tls-ldgd-14.d, ld-cris/tls-ldgd-14.s, ld-cris/tls-ldgd-15.d, ld-cris/tls-ldgd-15.s, ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d, ld-cris/tls-ldgdx-14.d, ld-cris/tls-ldgdx-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-12.s, ld-cris/tls-le-12s.d, ld-cris/tls-le-12s.s, ld-cris/tls-le-13.d, ld-cris/tls-le-13.s, ld-cris/tls-le-13s.d, ld-cris/tls-le-13s.s, ld-cris/tls-legd-16.d, ld-cris/tls-legd-16.s, ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d, ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d, ld-cris/tls-leie-19.d, ld-cris/tls-leie-19.s, ld-cris/tls-local-54.d, ld-cris/tls-local-54.s, ld-cris/tls-local-57.d, ld-cris/tls-local-57.s, ld-cris/tls-local-58.d, ld-cris/tls-local-58.s, ld-cris/tls-local-59.d, ld-cris/tls-local-59.s, ld-cris/tls-local-60.d, ld-cris/tls-local-61.d, ld-cris/tls-local-63.d, ld-cris/tls-local-64.d, ld-cris/tls-ok-30.d, ld-cris/tls-ok-32.d, ld-cris/tls-ok-34.d, ld-cris/tls-ok-36.d, ld-cris/tls-tprelm.s, ld-cris/tls-und-38.d, ld-cris/tls-und-42.d, ld-cris/tls-und-46.d, ld-cris/tls-und-50.d, ld-cris/tls-x.s, ld-cris/tls-x1x2.s, ld-cris/tls-z.s, ld-cris/tls128.s, ld-cris/tls128g.s: New tests.
71 lines
2.3 KiB
Makefile
71 lines
2.3 KiB
Makefile
#source: start1.s
|
|
#source: tls-gd-2.s --pic
|
|
#source: tls-hx.s
|
|
#source: tls-ld-6.s --pic
|
|
#source: tls-ie-10.s --pic
|
|
#source: tls-hx1x2.s --pic
|
|
#as: --no-underscore --em=criself -I$srcdir/$subdir
|
|
#ld: -m crislinux
|
|
#objdump: -d -s -h -t -r -p
|
|
|
|
# Check that we have proper NPTL/TLS markings and GOT for an
|
|
# executable with a R_CRIS_32_GOT_GD, a R_CRIS_DTPREL and a
|
|
# R_CRIS_32_GOT_TPREL.
|
|
|
|
.*: file format elf32-cris
|
|
|
|
Program Header:
|
|
LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
|
|
filesz 0x0+b0 memsz 0x0+b0 flags r-x
|
|
LOAD off 0x0+b0 vaddr 0x0+820b0 paddr 0x0+820b0 align 2\*\*13
|
|
filesz 0x0+2c memsz 0x0+2c flags rw-
|
|
TLS off 0x0+b0 vaddr 0x0+820b0 paddr 0x0+820b0 align 2\*\*2
|
|
filesz 0x0+c memsz 0x0+c flags r--
|
|
private flags = 0:
|
|
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 \.text 0000001c 00080094 00080094 00000094 2\*\*1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
1 \.tdata 0000000c 000820b0 000820b0 000000b0 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, DATA, THREAD_LOCAL
|
|
2 \.got 00000020 000820bc 000820bc 000000bc 2\*\*2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
SYMBOL TABLE:
|
|
0+80094 l d \.text 0+ \.text
|
|
0+820b0 l d \.tdata 0+ \.tdata
|
|
0+820bc l d \.got 0+ \.got
|
|
0+820bc l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
|
|
0+ g \.tdata 0+4 \.hidden x
|
|
0+80098 g F \.text 0+6 tlsdsofn2
|
|
0+8 g \.tdata 0+4 \.hidden x2
|
|
0+80094 g \.text 0+ _start
|
|
0+820dc g \*ABS\* 0+ __bss_start
|
|
0+800a0 g F \.text 0+6 tlsdsofn
|
|
0+4 g \.tdata 0+4 \.hidden x1
|
|
0+820dc g \*ABS\* 0+ _edata
|
|
0+820e0 g \*ABS\* 0+ _end
|
|
0+800a8 g F \.text 0+6 tlsdsofn10
|
|
|
|
Contents of section \.text:
|
|
#...
|
|
Contents of section \.tdata:
|
|
820b0 28000000 29000000 2a000000 .*
|
|
Contents of section \.got:
|
|
820bc 00000000 00000000 00000000 01000000 .*
|
|
820cc 00000000 00000000 01000000 00000000 .*
|
|
|
|
Disassembly of section \.text:
|
|
|
|
00080094 <_start>:
|
|
80094: 41b2 moveq 1,\$r11
|
|
#...
|
|
00080098 <tlsdsofn2>:
|
|
80098: 6fae 1800 0000 move\.d 18 <x2\+0x10>,\$r10
|
|
#...
|
|
000800a0 <tlsdsofn>:
|
|
800a0: 6fae 0000 0000 move\.d 0 <x>,\$r10
|
|
#...
|
|
000800a8 <tlsdsofn10>:
|
|
800a8: 6fae 1400 0000 move\.d 14 <x2\+0xc>,\$r10
|
|
#...
|