mirror of https://github.com/ipxe/ipxe.git
[efi] Add potentially missing relocation types
Add definitions for relocation types that may be missing on older versions of the host system's elf.h. This mirrors wimboot commit 47f6298 ("[efi] Add potentially missing relocation types"). Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/1106/head
parent
3fc1b407d2
commit
9e92c39894
|
@ -122,6 +122,9 @@
|
||||||
#ifndef R_AARCH64_LDST64_ABS_LO12_NC
|
#ifndef R_AARCH64_LDST64_ABS_LO12_NC
|
||||||
#define R_AARCH64_LDST64_ABS_LO12_NC 286
|
#define R_AARCH64_LDST64_ABS_LO12_NC 286
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef R_AARCH64_LDST128_ABS_LO12_NC
|
||||||
|
#define R_AARCH64_LDST128_ABS_LO12_NC 299
|
||||||
|
#endif
|
||||||
#ifndef R_ARM_CALL
|
#ifndef R_ARM_CALL
|
||||||
#define R_ARM_CALL 28
|
#define R_ARM_CALL 28
|
||||||
#endif
|
#endif
|
||||||
|
@ -152,6 +155,12 @@
|
||||||
#ifndef R_LARCH_GOT_PC_LO12
|
#ifndef R_LARCH_GOT_PC_LO12
|
||||||
#define R_LARCH_GOT_PC_LO12 76
|
#define R_LARCH_GOT_PC_LO12 76
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef R_X86_64_GOTPCRELX
|
||||||
|
#define R_X86_64_GOTPCRELX 41
|
||||||
|
#endif
|
||||||
|
#ifndef R_X86_64_REX_GOTPCRELX
|
||||||
|
#define R_X86_64_REX_GOTPCRELX 42
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Alignment of raw data of sections in the image file
|
* Alignment of raw data of sections in the image file
|
||||||
|
|
Loading…
Reference in New Issue