diff options
Diffstat (limited to 'ld/testsuite/ld-aarch64/pcrel_pic_defined.d')
-rw-r--r-- | ld/testsuite/ld-aarch64/pcrel_pic_defined.d | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/ld/testsuite/ld-aarch64/pcrel_pic_defined.d b/ld/testsuite/ld-aarch64/pcrel_pic_defined.d index 743e810..a611e31 100644 --- a/ld/testsuite/ld-aarch64/pcrel_pic_defined.d +++ b/ld/testsuite/ld-aarch64/pcrel_pic_defined.d @@ -1,10 +1,17 @@ #name: PC-Rel relocation against defined #source: pcrel.s #ld: -shared -e0 -defsym global_a=0x1000 -defsym global_b=0x2000 -#warning: .*: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `global_a.*bind externally.*fPIC.* -#warning: .*: relocation R_AARCH64_ADR_PREL_PG_HI21_NC against symbol `global_a.*bind externally.*fPIC.* -#warning: .*: relocation R_AARCH64_ADR_PREL_LO21 against symbol `global_a.*bind externally.*fPIC.* -#warning: .*: relocation R_AARCH64_LD_PREL_LO19 against symbol `global_a.*bind externally.*fPIC.* -#warning: .*: relocation R_AARCH64_PREL16 against symbol `global_a.*bind externally.*fPIC.* -#warning: .*: relocation R_AARCH64_PREL32 against symbol `global_a.*bind externally.*fPIC.* -#warning: .*: relocation R_AARCH64_PREL64 against symbol `global_a.*bind externally.*fPIC.* +#error: .*: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `global_a.*bind externally.*fPIC.* +#error: .*: dangerous relocation: unsupported relocation +#error: .*: relocation R_AARCH64_ADR_PREL_PG_HI21_NC against symbol `global_a.*bind externally.*fPIC.* +#error: .*: dangerous relocation: unsupported relocation +#error: .*: relocation R_AARCH64_ADR_PREL_LO21 against symbol `global_a.*bind externally.*fPIC.* +#error: .*: dangerous relocation: unsupported relocation +#error: .*: relocation R_AARCH64_LD_PREL_LO19 against symbol `global_a.*bind externally.*fPIC.* +#error: .*: dangerous relocation: unsupported relocation +#error: .*: relocation R_AARCH64_PREL16 against symbol `global_a.*bind externally.*fPIC.* +#error: .*: dangerous relocation: unsupported relocation +#error: .*: relocation R_AARCH64_PREL32 against symbol `global_a.*bind externally.*fPIC.* +#error: .*: dangerous relocation: unsupported relocation +#error: .*: relocation R_AARCH64_PREL64 against symbol `global_a.*bind externally.*fPIC.* +#error: .*: dangerous relocation: unsupported relocation |