X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-cris%2Ftls-ok-36.d;fp=ld%2Ftestsuite%2Fld-cris%2Ftls-ok-36.d;h=fcfecb9a8c0d7b6650452f315bd1a030e4fb5609;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-cris/tls-ok-36.d b/ld/testsuite/ld-cris/tls-ok-36.d new file mode 100644 index 0000000..fcfecb9 --- /dev/null +++ b/ld/testsuite/ld-cris/tls-ok-36.d @@ -0,0 +1,16 @@ +#source: start1.s +#source: tls-tprelm.s --defsym r=32767 +#as: --no-underscore --em=criself +#ld: -m crislinux +#objdump: -s -j .got -j .text -j .tdata + +# Check that a R_CRIS_16_TPREL just below the theoretical limit works. + +.*: file format elf32-cris + +Contents of section \.text: + 80094 41b20000 5fae0080 .* +Contents of section \.tdata: + 8209c 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a .* +#... + 8a08c 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a .*