diff options
Diffstat (limited to 'meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/elf.patch')
| -rw-r--r-- | meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/elf.patch | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/elf.patch b/meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/elf.patch new file mode 100644 index 0000000000..0eef4b4f54 --- /dev/null +++ b/meta-oe/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/elf.patch | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | Index: kexec-tools-2.0.2/kexec/kexec-elf-rel.c | ||
| 2 | =================================================================== | ||
| 3 | --- kexec-tools-2.0.2.orig/kexec/kexec-elf-rel.c 2009-09-24 14:15:34.025828340 +0100 | ||
| 4 | +++ kexec-tools-2.0.2/kexec/kexec-elf-rel.c 2009-09-24 14:15:47.030825302 +0100 | ||
| 5 | @@ -4,7 +4,7 @@ | ||
| 6 | #include <stdio.h> | ||
| 7 | #include <errno.h> | ||
| 8 | #include <stdlib.h> | ||
| 9 | -#include "elf.h" | ||
| 10 | +#include "../include/elf.h" | ||
| 11 | #include <boot/elf_boot.h> | ||
| 12 | #include "kexec.h" | ||
| 13 | #include "kexec-elf.h" | ||
| 14 | Index: kexec-tools-2.0.2/kexec/crashdump.c | ||
| 15 | =================================================================== | ||
| 16 | --- kexec-tools-2.0.2.orig/kexec/crashdump.c 2008-10-31 03:00:38.000000000 +0100 | ||
| 17 | +++ kexec-tools-2.0.2/kexec/crashdump.c 2009-09-26 11:16:27.000000000 +0200 | ||
| 18 | @@ -26,7 +26,7 @@ | ||
| 19 | #include <sys/types.h> | ||
| 20 | #include <sys/stat.h> | ||
| 21 | #include <unistd.h> | ||
| 22 | -#include <elf.h> | ||
| 23 | +#include "../../../include/elf.h" | ||
| 24 | #include "kexec.h" | ||
| 25 | #include "crashdump.h" | ||
| 26 | #include "kexec-syscall.h" | ||
| 27 | |||
| 28 | Index: kexec-tools-2.0.2/kexec/crashdump-xen.c | ||
| 29 | =================================================================== | ||
| 30 | --- kexec-tools-2.0.2.orig/kexec/crashdump-xen.c 2008-07-15 02:46:43.000000000 +0200 | ||
| 31 | +++ kexec-tools-2.0.2/kexec/crashdump-xen.c 2009-09-26 11:16:41.000000000 +0200 | ||
| 32 | @@ -3,7 +3,7 @@ | ||
| 33 | #include <stdarg.h> | ||
| 34 | #include <string.h> | ||
| 35 | #include <stdlib.h> | ||
| 36 | -#include <elf.h> | ||
| 37 | +#include "../../../include/elf.h" | ||
| 38 | #include <errno.h> | ||
| 39 | #include <limits.h> | ||
| 40 | #include <sys/types.h> | ||
| 41 | |||
| 42 | Index: kexec-tools-2.0.2/kexec/arch/arm/kexec-elf-rel-arm.c | ||
| 43 | =================================================================== | ||
| 44 | --- kexec-tools-2.0.2.orig/kexec/arch/arm/kexec-elf-rel-arm.c 2009-04-24 14:15:46.934825202 +0100 | ||
| 45 | +++ kexec-tools-2.0.2/kexec/arch/arm/kexec-elf-rel-arm.c 2009-09-24 14:15:47.014827381 +0100 | ||
| 46 | @@ -1,5 +1,5 @@ | ||
| 47 | #include <stdio.h> | ||
| 48 | -#include <elf.h> | ||
| 49 | +#include "../../../include/elf.h" | ||
| 50 | #include "../../kexec.h" | ||
| 51 | #include "../../kexec-elf.h" | ||
| 52 | |||
| 53 | Index: kexec-tools-2.0.2/kexec/kexec-elf-boot.c | ||
| 54 | =================================================================== | ||
| 55 | --- kexec-tools-2.0.2.orig/kexec/kexec-elf-boot.c 2009-05-16 13:28:19.000000000 +0200 | ||
| 56 | +++ kexec-tools-2.0.2/kexec/kexec-elf-boot.c 2009-09-16 11:13:28.000000000 +0200 | ||
| 57 | @@ -22,7 +22,7 @@ | ||
| 58 | #include <string.h> | ||
| 59 | #include <stdlib.h> | ||
| 60 | #include <errno.h> | ||
| 61 | -#include <elf.h> | ||
| 62 | +#include "../include/elf.h" | ||
| 63 | #include <boot/elf_boot.h> | ||
| 64 | #include <ip_checksum.h> | ||
| 65 | #include <x86/x86-linux.h> | ||
| 66 | |||
| 67 | Index: kexec-tools-2.0.2/kdump/kdump.c | ||
| 68 | =================================================================== | ||
| 69 | --- kexec-tools-2.0.2.orig/kdump/kdump.c 2009-05-16 13:28:19.000000000 +0200 | ||
| 70 | +++ kexec-tools-2.0.2/kdump/kdump.c 2009-09-16 11:13:08.000000000 +0200 | ||
| 71 | @@ -8,7 +8,7 @@ | ||
| 72 | #include <sys/stat.h> | ||
| 73 | #include <fcntl.h> | ||
| 74 | #include <endian.h> | ||
| 75 | -#include <elf.h> | ||
| 76 | +#include "../include/elf.h" | ||
| 77 | |||
| 78 | #if !defined(__BYTE_ORDER) || !defined(__LITTLE_ENDIAN) || !defined(__BIG_ENDIAN) | ||
| 79 | #error Endian defines missing | ||
| 80 | |||
| 81 | Index: kexec-tools-2.0.2/kexec/arch/arm/crashdump-arm.c | ||
| 82 | =================================================================== | ||
| 83 | --- kexec-tools-2.0.2.old/kexec/arch/arm/crashdump-arm.c 2010-08-01 15:07:47.000000000 +0200 | ||
| 84 | +++ kexec-tools-2.0.2/kexec/arch/arm/crashdump-arm.c 2010-07-29 06:19:59.000000000 +0200 | ||
| 85 | @@ -20,7 +20,7 @@ | ||
| 86 | * along with this program; if not, write to the Free Software | ||
| 87 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 88 | */ | ||
| 89 | -#include <elf.h> | ||
| 90 | +#include "../../../include/elf.h" | ||
| 91 | #include <errno.h> | ||
| 92 | #include <stdio.h> | ||
| 93 | #include <stdlib.h> | ||
| 94 | |||
