diff options
Diffstat (limited to 'ld/testsuite/ld-aarch64/undef-tls.d')
-rw-r--r-- | ld/testsuite/ld-aarch64/undef-tls.d | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/undef-tls.d b/ld/testsuite/ld-aarch64/undef-tls.d new file mode 100644 index 0000000..8b43ca4 --- /dev/null +++ b/ld/testsuite/ld-aarch64/undef-tls.d @@ -0,0 +1,17 @@ +#source: undef-tls.s +#ld: -e0 --emit-relocs +#objdump: -dr +#... +#error:.*: in function `get':.* +#error:.*: undefined reference to `tls'.* +#error:.*: TLS relocation R_AARCH64_TLSLE_ADD_TPREL_HI12 against undefined symbol `tls'.* +#error:.*: dangerous relocation: unsupported relocation.* +#error:.*: undefined reference to `tls'.* +#error:.*: TLS relocation R_AARCH64_TLSLE_ADD_TPREL_LO12_NC against undefined symbol `tls'.* +#error:.*: dangerous relocation: unsupported relocation.* +#error:.*: undefined reference to `dtl'.* +#error:.*: TLS relocation R_AARCH64_TLSLD_ADD_DTPREL_HI12 against undefined symbol `dtl'.* +#error:.*: dangerous relocation: unsupported relocation.* +#error:.*: undefined reference to `dtl'.* +#error:.*: TLS relocation R_AARCH64_TLSLD_ADD_DTPREL_LO12 against undefined symbol `dtl'.* +#error:.*: dangerous relocation: unsupported relocation.* |