]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Allow for building with older versions of elf.h system header
authorMichael Brown <mcb30@ipxe.org>
Sun, 24 Sep 2017 18:26:58 +0000 (19:26 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 24 Sep 2017 18:26:58 +0000 (19:26 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/elf2efi.c

index 84122032c63261b1ee5c0df1e6f0eb952da5576f..e8e6c523ed7c356ff133ceadc2fa63e10da0aedd 100644 (file)
@@ -93,6 +93,9 @@
 #ifndef R_ARM_THM_JUMP24
 #define R_ARM_THM_JUMP24 30
 #endif
+#ifndef R_ARM_V4BX
+#define R_ARM_V4BX 40
+#endif
 
 /* Seems to be missing from elf.h */
 #ifndef R_AARCH64_NULL