2012-03-26 21:18:29 +02:00
|
|
|
#source: tls-local-54.s
|
|
|
|
#as: --pic --no-underscore --em=criself -I$srcdir/$subdir
|
2018-12-28 16:25:28 +01:00
|
|
|
#ld: --shared -m crislinux --hash-style=sysv
|
2012-03-26 21:18:29 +02:00
|
|
|
#objdump: -s -t -R -p -T
|
|
|
|
|
|
|
|
# A DSO with a R_CRIS_32_GOT_GD against a local symbol.
|
|
|
|
# Check that we have proper NPTL/TLS markings and GOT.
|
|
|
|
|
|
|
|
.*: file format elf32-cris
|
|
|
|
|
|
|
|
Program Header:
|
|
|
|
#...
|
|
|
|
TLS off .*
|
|
|
|
filesz 0x00000080 memsz 0x00000080 flags r--
|
|
|
|
#...
|
|
|
|
DYNAMIC RELOCATION RECORDS
|
|
|
|
OFFSET TYPE VALUE
|
2022-10-27 20:43:13 +02:00
|
|
|
0000222c R_CRIS_DTP \*ABS\*\+0x0000002a
|
2012-03-26 21:18:29 +02:00
|
|
|
|
|
|
|
Contents of section .hash:
|
|
|
|
#...
|
|
|
|
Contents of section \.text:
|
2022-10-27 20:43:13 +02:00
|
|
|
0128 6fae0c00 00000000 .*
|
2012-03-26 21:18:29 +02:00
|
|
|
#...
|
|
|
|
Contents of section \.got:
|
2022-10-27 20:43:13 +02:00
|
|
|
2220 b0210000 0+ 0+ 0+ .*
|
|
|
|
2230 0+ .*
|