2012-06-17 15:29:55 +08:00
|
|
|
#source: start1.s
|
|
|
|
#source: tls-dso-tpoffgotcomm1.s
|
|
|
|
#as: --no-underscore --pic --em=criself -I$srcdir/$subdir
|
testsuite/ld-cris various files: Run ld with --hash-style=sysv.
* testsuite/ld-cris/dso-pltdis1.d: Run ld with --hash-style=sysv.
* testsuite/ld-cris/dso-pltdis2.d,
testsuite/ld-cris/dso12-pltdis.d, testsuite/ld-cris/expdyn1.d,
testsuite/ld-cris/expdyn5.d, testsuite/ld-cris/expdyn6.d,
testsuite/ld-cris/expdyn7.d, testsuite/ld-cris/gotplt1.d,
testsuite/ld-cris/gotplt2.d, testsuite/ld-cris/gotplt3.d,
testsuite/ld-cris/hiddef1.d, testsuite/ld-cris/libdso-11.d,
testsuite/ld-cris/libdso-12.d, testsuite/ld-cris/libdso-12b.d,
testsuite/ld-cris/libdso-12c.d, testsuite/ld-cris/libdso-13.d,
testsuite/ld-cris/libdso-13b.d, testsuite/ld-cris/libdso-14.d,
testsuite/ld-cris/libdso-15.d, testsuite/ld-cris/libdso-15b.d,
testsuite/ld-cris/libdso-1b.d, testsuite/ld-cris/libdso-1c.d,
testsuite/ld-cris/libdso-1d.d, testsuite/ld-cris/libdso-4.d,
testsuite/ld-cris/pr16044.d, testsuite/ld-cris/pv32-1.d,
testsuite/ld-cris/tls-dso-dtpoffd2.d,
testsuite/ld-cris/tls-dso-dtpoffd4.d,
testsuite/ld-cris/tls-dso-tpoffgotcomm1.d,
testsuite/ld-cris/tls-dso-x1x2-1.d, testsuite/ld-cris/tls-gc-71.d,
testsuite/ld-cris/tls-ie-78.d, testsuite/ld-cris/tls-js1.d,
testsuite/ld-cris/tls-ldgdex-14.d,
testsuite/ld-cris/tls-ldgdex-15.d,
testsuite/ld-cris/tls-legdx-16.d,
testsuite/ld-cris/tls-legdx-17.d,
testsuite/ld-cris/tls-local-63.d,
testsuite/ld-cris/tls-local-64.d, testsuite/ld-cris/tls-ok-30.d,
testsuite/ld-cris/tls-ok-32.d, testsuite/ld-cris/tls-ok-34.d,
testsuite/ld-cris/tls-und-38.d, testsuite/ld-cris/tls-und-42.d,
testsuite/ld-cris/tls-und-46.d, testsuite/ld-cris/tls-und-50.d,
testsuite/ld-cris/weakref2.d, testsuite/ld-cris/weakref3.d,
testsuite/ld-cris/weakref4.d: Likewise.
2017-08-30 08:27:14 +08:00
|
|
|
#ld: -m crislinux -shared --hash-style=sysv
|
2012-06-17 15:29:55 +08:00
|
|
|
#objdump: -d -h -s -t -r -R -p
|
|
|
|
|
|
|
|
# Make sure we can link a file with TPOFFGOT relocs against common
|
|
|
|
# symbols.
|
|
|
|
|
|
|
|
.*: file format elf32-cris
|
|
|
|
|
|
|
|
Program Header:
|
|
|
|
LOAD off 0x0+ vaddr 0x0+ paddr 0x0+ align 2\*\*13
|
2019-07-11 20:38:39 +08:00
|
|
|
filesz 0x0+164 memsz 0x0+164 flags r-x
|
2012-06-17 15:29:55 +08:00
|
|
|
LOAD off .*
|
|
|
|
filesz .*
|
|
|
|
DYNAMIC off .*
|
|
|
|
filesz .*
|
|
|
|
TLS off .* vaddr .* paddr .* align 2\*\*2
|
|
|
|
filesz 0x0+ memsz 0x0+8 flags r--
|
|
|
|
#...
|
|
|
|
Sections:
|
|
|
|
#...
|
2019-07-11 20:38:39 +08:00
|
|
|
7 .got 0+14 0+21dc 0+21dc 0+1dc 2\*\*2
|
2012-06-17 15:29:55 +08:00
|
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
|
|
SYMBOL TABLE:
|
|
|
|
#...
|
|
|
|
0+ g \.tbss 0+4 foo
|
|
|
|
#...
|
|
|
|
0+4 g \.tbss 0+4 bar
|
|
|
|
|
|
|
|
#...
|
|
|
|
Contents of section .got:
|
2019-07-11 20:38:39 +08:00
|
|
|
21dc 64210000 00000000 00000000 00000000 .*
|
|
|
|
21ec 00000000 .*
|
2012-06-17 15:29:55 +08:00
|
|
|
|
|
|
|
Disassembly of section \.text:
|
|
|
|
|
2019-07-11 20:38:39 +08:00
|
|
|
0+154 <_start>:
|
|
|
|
.*: 41b2 moveq 1,\$r11
|
2012-06-17 15:29:55 +08:00
|
|
|
\.\.\.
|
|
|
|
|
2019-07-11 20:38:39 +08:00
|
|
|
0+158 <do_test>:
|
|
|
|
.*: 2f0e 0c00 0000 add\.d c <bar\+0x8>,\$r0
|
|
|
|
.*: 1f1e 1000 add\.w 0x10,\$r1
|
2012-06-17 15:29:55 +08:00
|
|
|
\.\.\.
|