X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-cris%2Ftls-local-63.d;fp=ld%2Ftestsuite%2Fld-cris%2Ftls-local-63.d;h=f6f0bdb933622225e1f0215664d2fa0e4c94e685;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-cris/tls-local-63.d b/ld/testsuite/ld-cris/tls-local-63.d new file mode 100644 index 0000000..f6f0bdb --- /dev/null +++ b/ld/testsuite/ld-cris/tls-local-63.d @@ -0,0 +1,31 @@ +#source: tls-ie-8.s --pic +#source: tls-hx.s +#as: --no-underscore --em=criself +#ld: -m crislinux --shared +#readelf: -a -x 6 -x 8 -x 5 + +# A R_CRIS_16_GOT_TPREL in a DSO against a hidden symbol. Make sure +# the relocation, GOT, .text and .tdata have the right contents. + +#... +Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: + Offset Info Type Sym.Value Sym. Name \+ Addend +00002210 0000001c R_CRIS_32_TPREL[ ]+00+ + +There are no unwind sections in this file. + +Symbol table '.dynsym' contains 7 entries: + Num: Value Size Type Bind Vis Ndx Name +#... +Symbol table '.symtab' contains 16 entries: +#... + .: 00000000 4 TLS LOCAL HIDDEN 6 x +#... +Hex dump of section '.text': + 0x00000184 5fae0c00 .* +#... +Hex dump of section '.tdata': + 0x00002188 280+ .* +#... +Hex dump of section '.got': + 0x0+2204 8c210000 0+ 0+ 0+ .*