X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-cris%2Ftls-ok-32.d;fp=ld%2Ftestsuite%2Fld-cris%2Ftls-ok-32.d;h=8042e2887e326e576ca673ab91aa1aef425a0cff;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-cris/tls-ok-32.d b/ld/testsuite/ld-cris/tls-ok-32.d new file mode 100644 index 0000000..8042e28 --- /dev/null +++ b/ld/testsuite/ld-cris/tls-ok-32.d @@ -0,0 +1,23 @@ +#source: tls-dtprelm.s --defsym r=32767 +#as: --no-underscore --em=criself --pic +#ld: --shared -m crislinux +#objdump: -s -j .got -j .text -j .tdata -R + +# Check that a R_CRIS_16_DTPREL just below the theoretical limit +# works, in a DSO. + +.*: file format elf32-cris + +DYNAMIC RELOCATION RECORDS +OFFSET TYPE VALUE +0000a220 R_CRIS_DTPMOD \*ABS\* + +Contents of section \.text: + 01a0 5faeff7f .* +Contents of section \.tdata: + 21a4 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a .* +#... + a194 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a .* +Contents of section \.got: + a214 a4a10000 00000000 00000000 00000000 .* + a224 00000000 .*