Commit | Line | Data |
---|---|---|
dcbd20eb JW |
1 | #name: PC-Rel relocation against undefined |
2 | #source: pcrel.s | |
3c3358ca | 3 | #target: [check_shared_lib_support] |
d68f1976 | 4 | #ld: -shared -e0 -defsym global_b=0x2000 |
1d75a8e2 NC |
5 | #error: .*: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `global_a.*bind externally.*fPIC.* |
6 | #error: .*: dangerous relocation: unsupported relocation | |
7 | #error: .*: relocation R_AARCH64_ADR_PREL_PG_HI21_NC against symbol `global_a.*bind externally.*fPIC.* | |
8 | #error: .*: dangerous relocation: unsupported relocation | |
9 | #error: .*: relocation R_AARCH64_ADR_PREL_LO21 against symbol `global_a.*bind externally.*fPIC.* | |
10 | #error: .*: dangerous relocation: unsupported relocation | |
11 | #error: .*: relocation R_AARCH64_LD_PREL_LO19 against symbol `global_a.*bind externally.*fPIC.* | |
12 | #error: .*: dangerous relocation: unsupported relocation | |
13 | #error: .*: relocation R_AARCH64_PREL16 against symbol `global_a.*bind externally.*fPIC.* | |
14 | #error: .*: dangerous relocation: unsupported relocation | |
15 | #error: .*: relocation R_AARCH64_PREL32 against symbol `global_a.*bind externally.*fPIC.* | |
16 | #error: .*: dangerous relocation: unsupported relocation | |
17 | #error: .*: relocation R_AARCH64_PREL64 against symbol `global_a.*bind externally.*fPIC.* | |
18 | #error: .*: dangerous relocation: unsupported relocation |