summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMichael Brown2017-09-24 20:26:58 +0200
committerMichael Brown2017-09-24 20:26:58 +0200
commit1b67a0564657b6fcef18b1588ea6491ca1b1996d (patch)
tree82b20641f94b4f642c403e78ef17af9aa3d9a346 /src/util
parent[efi] Accept (and ignore) R_ARM_V4BX relocations (diff)
downloadipxe-1b67a0564657b6fcef18b1588ea6491ca1b1996d.tar.gz
ipxe-1b67a0564657b6fcef18b1588ea6491ca1b1996d.tar.xz
ipxe-1b67a0564657b6fcef18b1588ea6491ca1b1996d.zip
[efi] Allow for building with older versions of elf.h system header
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/elf2efi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/elf2efi.c b/src/util/elf2efi.c
index 84122032..e8e6c523 100644
--- a/src/util/elf2efi.c
+++ b/src/util/elf2efi.c
@@ -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