Browse Source

[efi] Allow for building with older versions of elf.h system header

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 years ago
parent
commit
1b67a05646
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/util/elf2efi.c

+ 3
- 0
src/util/elf2efi.c View File

93
 #ifndef R_ARM_THM_JUMP24
93
 #ifndef R_ARM_THM_JUMP24
94
 #define R_ARM_THM_JUMP24 30
94
 #define R_ARM_THM_JUMP24 30
95
 #endif
95
 #endif
96
+#ifndef R_ARM_V4BX
97
+#define R_ARM_V4BX 40
98
+#endif
96
 
99
 
97
 /* Seems to be missing from elf.h */
100
 /* Seems to be missing from elf.h */
98
 #ifndef R_AARCH64_NULL
101
 #ifndef R_AARCH64_NULL

Loading…
Cancel
Save