mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
[ELF][PowerPC] Support R_PPC_COPY and R_PPC64_COPY
Reviewed By: Bdragon28, jhenderson, grimar, sfertile Differential Revision: https://reviews.llvm.org/D73255
This commit is contained in:
parent
cf7505a711
commit
d0e4729521
@ -26,6 +26,7 @@
|
||||
#undef R_PPC64_GOT16_LO
|
||||
#undef R_PPC64_GOT16_HI
|
||||
#undef R_PPC64_GOT16_HA
|
||||
#undef R_PPC64_COPY
|
||||
#undef R_PPC64_GLOB_DAT
|
||||
#undef R_PPC64_JMP_SLOT
|
||||
#undef R_PPC64_RELATIVE
|
||||
@ -119,6 +120,7 @@ ELF_RELOC(R_PPC64_GOT16, 14)
|
||||
ELF_RELOC(R_PPC64_GOT16_LO, 15)
|
||||
ELF_RELOC(R_PPC64_GOT16_HI, 16)
|
||||
ELF_RELOC(R_PPC64_GOT16_HA, 17)
|
||||
ELF_RELOC(R_PPC64_COPY, 19)
|
||||
ELF_RELOC(R_PPC64_GLOB_DAT, 20)
|
||||
ELF_RELOC(R_PPC64_JMP_SLOT, 21)
|
||||
ELF_RELOC(R_PPC64_RELATIVE, 22)
|
||||
|
@ -22,6 +22,7 @@
|
||||
# CHECK: Type: R_PPC64_GOT16_LO (15)
|
||||
# CHECK: Type: R_PPC64_GOT16_HI (16)
|
||||
# CHECK: Type: R_PPC64_GOT16_HA (17)
|
||||
# CHECK: Type: R_PPC64_COPY (19)
|
||||
# CHECK: Type: R_PPC64_GLOB_DAT (20)
|
||||
# CHECK: Type: R_PPC64_JMP_SLOT (21)
|
||||
# CHECK: Type: R_PPC64_RELATIVE (22)
|
||||
@ -143,6 +144,8 @@ Sections:
|
||||
Type: R_PPC64_GOT16_HI
|
||||
- Offset: 0x0000000000000000
|
||||
Type: R_PPC64_GOT16_HA
|
||||
- Offset: 0x0000000000000000
|
||||
Type: R_PPC64_COPY
|
||||
- Offset: 0x0000000000000000
|
||||
Type: R_PPC64_GLOB_DAT
|
||||
- Offset: 0x0000000000000000
|
||||
|
Loading…
x
Reference in New Issue
Block a user