X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-cris%2Ftls-ok-30.d;fp=ld%2Ftestsuite%2Fld-cris%2Ftls-ok-30.d;h=94ed19441aad330ea2982225accc579bb05112a3;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-cris/tls-ok-30.d b/ld/testsuite/ld-cris/tls-ok-30.d new file mode 100644 index 0000000..94ed194 --- /dev/null +++ b/ld/testsuite/ld-cris/tls-ok-30.d @@ -0,0 +1,29 @@ +#source: tls-gdgotrelm.s --defsym r=8191 +#as: --no-underscore --em=criself --pic +#ld: --shared -m crislinux +#objdump: -s -j .got -R + +# Verify that the first and last R_CRIS_16_GOT_GD entries are ok just +# below the limit, in a DSO. Beware, the order here is quite random, +# supposedly depending on symbol hashes. + +.*: file format elf32-cris + +DYNAMIC RELOCATION RECORDS +OFFSET TYPE VALUE +000b3910 R_CRIS_DTP x2814 +#... +000b8350 R_CRIS_DTP x8190 +#... +000c1308 R_CRIS_DTP x0 +#... +000c3900 R_CRIS_DTP x1345 + +Contents of section .got: + b3904 94380b00 00000000 00000000 00000000 .* + b3914 00000000 00000000 00000000 00000000 .* +#... + c38e4 00000000 00000000 00000000 00000000 .* + c38f4 00000000 00000000 00000000 00000000 .* + c3904 00000000 .* +#PASS