1 #source: tls-x.s 2 #source: tls-local-59.s 3 #as: --pic --no-underscore --em=criself -I$srcdir/$subdir 4 #ld: -m crislinux --shared 5 #objdump: -s -t -r -p -R -T 6 7 # A DSO with a R_CRIS_32_GOT_GD, a R_CRIS_16_GOT_GD, a 8 # R_CRIS_32_GOT_TPREL and a R_CRIS_16_GOT_TPREL against the same local 9 # symbol. Check that we have proper NPTL/TLS markings and GOT. 10 11 .*: file format elf32-cris 12 13 Program Header: 14 #... 15 TLS off .* 16 filesz 0x00000084 memsz 0x00000084 flags r-- 17 #... 18 FLAGS 0x00000010 19 #... 20 DYNAMIC RELOCATION RECORDS 21 OFFSET TYPE VALUE 22 0000231c R_CRIS_32_TPREL \*ABS\*\+0x0+4 23 00002320 R_CRIS_DTP \*ABS\*\+0x0+4 24 25 Contents of section \.hash: 26 #... 27 Contents of section \.text: 28 0200 6fae1000 00006fae 0c000000 5fae1000 .* 29 0210 5fae0c00 .* 30 #... 31 Contents of section \.got: 32 2310 98220+ 0+ 0+ 040+ .* 33 2320 0+ 0+ .* 34