Force the AArch64 linker backend to refuse to link when it encounters unresoleable...
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / pcrel_pic_undefined.d
1 #name: PC-Rel relocation against undefined
2 #source: pcrel.s
3 #ld: -shared -e0 -defsym global_b=0x2000
4 #error: .*: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `global_a.*bind externally.*fPIC.*
5 #error: .*: dangerous relocation: unsupported relocation
6 #error: .*: relocation R_AARCH64_ADR_PREL_PG_HI21_NC against symbol `global_a.*bind externally.*fPIC.*
7 #error: .*: dangerous relocation: unsupported relocation
8 #error: .*: relocation R_AARCH64_ADR_PREL_LO21 against symbol `global_a.*bind externally.*fPIC.*
9 #error: .*: dangerous relocation: unsupported relocation
10 #error: .*: relocation R_AARCH64_LD_PREL_LO19 against symbol `global_a.*bind externally.*fPIC.*
11 #error: .*: dangerous relocation: unsupported relocation
12 #error: .*: relocation R_AARCH64_PREL16 against symbol `global_a.*bind externally.*fPIC.*
13 #error: .*: dangerous relocation: unsupported relocation
14 #error: .*: relocation R_AARCH64_PREL32 against symbol `global_a.*bind externally.*fPIC.*
15 #error: .*: dangerous relocation: unsupported relocation
16 #error: .*: relocation R_AARCH64_PREL64 against symbol `global_a.*bind externally.*fPIC.*
17 #error: .*: dangerous relocation: unsupported relocation
This page took 0.031496 seconds and 5 git commands to generate.