X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-cris%2Ftls-dso-dtpoffd4.d;fp=ld%2Ftestsuite%2Fld-cris%2Ftls-dso-dtpoffd4.d;h=0f54e6176b090f254e82b245f7719553b875a633;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-cris/tls-dso-dtpoffd4.d b/ld/testsuite/ld-cris/tls-dso-dtpoffd4.d new file mode 100644 index 0000000..0f54e61 --- /dev/null +++ b/ld/testsuite/ld-cris/tls-dso-dtpoffd4.d @@ -0,0 +1,37 @@ +#source: start1.s +#source: tls-dtpoffdx.s +#source: tls-gd-1.s +#source: tls128.s +#source: tls-commx.s +#as: --no-underscore --em=criself --pic -I$srcdir/$subdir +#ld: -m crislinux --shared +#objdump: -d -s -t -r -p + +# Linking a file with a DTPOFF from a .dtpoffd of a GD COMMON +# variable, PIC (globally defined here but overridable). Making sure +# it links and that the offset is correct, locally. + +.*: file format elf32-cris + +Program Header: +#... + TLS off .* + filesz 0x0+80 memsz 0x0+84 flags r-- +#... +SYMBOL TABLE: +#... +0+80 g .tbss 0+4 x +#... +Contents of section .rela.dyn: + 01a4 b4220000 17030000 00000000 .* +Contents of section .text: + 01b0 41b20000 5fae0c00 .* +#... +Contents of section .got: + 22a8 38220000 00000000 00000000 00000000 .* + 22b8 00000000 .* +Contents of section .debug_info: + 0000 80000000 .* +#... +Disassembly of section .text: +#pass