Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 1 | From 720e24029fca7dcd8e1cd0b556f37aa1dc2b8fe8 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | From: Andrea Adami <andrea.adami@gmail.com> |
| 3 | Date: Tue, 17 Apr 2018 10:57:23 +0200 |
| 4 | Subject: [PATCH] kexec-elf-exec.c: replace with our elf.h |
| 5 | |
| 6 | Fix |
| 7 | |
| 8 | kexec-elf-exec.c: In function 'elf_exec_load': |
| 9 | error: 'EM_AARCH64' undeclared |
| 10 | |
| 11 | Upstream-Status: Inappropriate [klibc specific] |
| 12 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> |
| 13 | |
| 14 | --- |
| 15 | kexec/kexec-elf-exec.c | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/kexec/kexec-elf-exec.c b/kexec/kexec-elf-exec.c |
| 19 | index a9329ac..0dd0700 100644 |
| 20 | --- a/kexec/kexec-elf-exec.c |
| 21 | +++ b/kexec/kexec-elf-exec.c |
| 22 | @@ -4,7 +4,7 @@ |
| 23 | #include <stdio.h> |
| 24 | #include <errno.h> |
| 25 | #include <stdlib.h> |
| 26 | -#include "elf.h" |
| 27 | +#include "../include/elf.h" |
| 28 | #include <boot/elf_boot.h> |
| 29 | #include "kexec.h" |
| 30 | #include "kexec-elf.h" |