|
|
adb72d |
diff -Naurp a/backends/Makefile.am b/backends/Makefile.am
|
|
|
adb72d |
--- a/backends/Makefile.am 2019-06-13 12:19:49.078487313 +0000
|
|
|
adb72d |
+++ b/backends/Makefile.am 2019-06-13 12:21:44.137496575 +0000
|
|
|
adb72d |
@@ -99,7 +99,7 @@ csky_SRCS = csky_attrs.c csky_init.c csk
|
|
|
adb72d |
csky_regs.c csky_initreg.c csky_corenote.c
|
|
|
adb72d |
|
|
|
adb72d |
libebl_backends_a_CFLAGS = -fPIC $(AM_CFLAGS)
|
|
|
adb72d |
-libebl_backends_a_SOURCES = $(i386_SRCS) $(x86_64_SRCS) \
|
|
|
adb72d |
+libebl_backends_a_SOURCES = $(i386_SRCS) $(x86_64_SRCS) $(arm_SRCS) \
|
|
|
adb72d |
$(ia64_SRCS) $(aarch64_SRCS) $(ppc_SRCS) \
|
|
|
adb72d |
$(ppc64_SRCS) $(s390_SRCS) \
|
|
|
adb72d |
$(bpf_SRCS)
|
|
|
adb72d |
diff -Naurp a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c
|
|
|
adb72d |
--- a/libebl/eblopenbackend.c 2019-06-13 12:19:49.083487139 +0000
|
|
|
adb72d |
+++ b/libebl/eblopenbackend.c 2019-06-13 12:24:04.382632274 +0000
|
|
|
adb72d |
@@ -48,6 +48,7 @@ Ebl *aarch64_init (Elf *, GElf_Half, Ebl
|
|
|
adb72d |
Ebl *ppc_init (Elf *, GElf_Half, Ebl *);
|
|
|
adb72d |
Ebl *ppc64_init (Elf *, GElf_Half, Ebl *);
|
|
|
adb72d |
Ebl *s390_init (Elf *, GElf_Half, Ebl *);
|
|
|
adb72d |
+Ebl *arm_init (Elf *, GElf_Half, Ebl *);
|
|
|
adb72d |
Ebl *bpf_init (Elf *, GElf_Half, Ebl *);
|
|
|
adb72d |
|
|
|
adb72d |
/* This table should contain the complete list of architectures as far
|
|
|
1e7b59 |
@@ -73,7 +74,7 @@ static const struct
|
|
|
1e7b59 |
{ ppc64_init, "elf_ppc64", "ppc64", 5, EM_PPC64, ELFCLASS64, ELFDATA2MSB },
|
|
|
adb72d |
// XXX class and machine fields need to be filled in for all archs.
|
|
|
adb72d |
{ NULL, "elf_sh", "sh", 2, EM_SH, 0, 0 },
|
|
|
adb72d |
- { NULL, "ebl_arm", "arm", 3, EM_ARM, 0, 0 },
|
|
|
adb72d |
+ { arm_init, "ebl_arm", "arm", 3, EM_ARM, 0, 0 },
|
|
|
adb72d |
{ NULL, "elf_sparcv9", "sparc", 5, EM_SPARCV9, 0, 0 },
|
|
|
adb72d |
{ NULL, "elf_sparc", "sparc", 5, EM_SPARC, 0, 0 },
|
|
|
adb72d |
{ NULL, "elf_sparcv8plus", "sparc", 5, EM_SPARC32PLUS, 0, 0 },
|