diff options
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/patches/3.16.49/bsd-compatibility.patch (renamed from target/linux/patches/3.16.48/bsd-compatibility.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/cleankernel.patch (renamed from target/linux/patches/3.16.48/cleankernel.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/cris-header.patch (renamed from target/linux/patches/3.16.48/cris-header.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/cris-initramfs.patch (renamed from target/linux/patches/3.16.48/cris-initramfs.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/defaults.patch (renamed from target/linux/patches/3.16.48/defaults.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/export-symbol-for-exmap.patch (renamed from target/linux/patches/3.16.48/export-symbol-for-exmap.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/fblogo.patch (renamed from target/linux/patches/3.16.48/fblogo.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/gemalto.patch (renamed from target/linux/patches/3.16.48/gemalto.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/initramfs-nosizelimit.patch (renamed from target/linux/patches/3.16.48/initramfs-nosizelimit.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/lemote-rfkill.patch (renamed from target/linux/patches/3.16.48/lemote-rfkill.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/microblaze-ethernet.patch (renamed from target/linux/patches/3.16.48/microblaze-ethernet.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/mkpiggy.patch (renamed from target/linux/patches/3.16.48/mkpiggy.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/mtd-rootfs.patch (renamed from target/linux/patches/3.16.48/mtd-rootfs.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/nfsv3-tcp.patch (renamed from target/linux/patches/3.16.48/nfsv3-tcp.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/non-static.patch (renamed from target/linux/patches/3.16.48/non-static.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/ppc64-missing-zlib.patch (renamed from target/linux/patches/3.16.48/ppc64-missing-zlib.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/relocs.patch (renamed from target/linux/patches/3.16.48/relocs.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/sgidefs.patch (renamed from target/linux/patches/3.16.48/sgidefs.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/sortext.patch (renamed from target/linux/patches/3.16.48/sortext.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/startup.patch (renamed from target/linux/patches/3.16.48/startup.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/wlan-cf.patch (renamed from target/linux/patches/3.16.48/wlan-cf.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.16.49/xargs.patch (renamed from target/linux/patches/3.16.48/xargs.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.2.94/sparc-aout.patch (renamed from target/linux/patches/3.2.93/sparc-aout.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/bsd-compatibility.patch | 2512 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/defaults.patch | 22 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/gemalto.patch | 11 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/lemote-rfkill.patch | 21 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/linux-gcc-check.patch | 18 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/mips-error.patch | 254 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/mkpiggy.patch | 28 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/module-alloc-size-check.patch | 21 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/non-static.patch | 33 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/relocs.patch | 3131 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/sparc-aout.patch | 24 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/sparc-include.patch | 11 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/startup.patch | 34 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/usb-defaults-off.patch | 32 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/vga-cons-default-off.patch | 12 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/wlan-cf.patch | 11 | ||||
-rw-r--r-- | target/linux/patches/3.4.113/zlib-inflate.patch | 12 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/cleankernel.patch (renamed from target/linux/patches/4.1.43/cleankernel.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/cris-header.patch (renamed from target/linux/patches/4.1.43/cris-header.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/initramfs-nosizelimit.patch (renamed from target/linux/patches/4.1.43/initramfs-nosizelimit.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/j2-core.patch (renamed from target/linux/patches/4.1.43/j2-core.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/mtd-rootfs.patch (renamed from target/linux/patches/4.1.43/mtd-rootfs.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/patch-realtime (renamed from target/linux/patches/4.1.43/patch-realtime) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/regmap-default-on.patch (renamed from target/linux/patches/4.1.43/regmap-default-on.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/remove-warn.patch (renamed from target/linux/patches/4.1.43/remove-warn.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/startup.patch (renamed from target/linux/patches/4.1.43/startup.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/use-gawk.patch (renamed from target/linux/patches/4.1.43/use-gawk.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.1.45/use-libgcc-for-sh.patch (renamed from target/linux/patches/4.1.43/use-libgcc-for-sh.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.13.11/h8300.patch (renamed from target/linux/patches/4.13.2/h8300.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/crisv32_ethernet_driver.patch (renamed from target/linux/patches/4.9.50/crisv32_ethernet_driver.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/h8300.patch (renamed from target/linux/patches/4.9.50/h8300.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/initramfs-nosizelimit.patch (renamed from target/linux/patches/4.9.50/initramfs-nosizelimit.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/ld-or1k.patch (renamed from target/linux/patches/4.9.50/ld-or1k.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/macsonic.patch (renamed from target/linux/patches/4.9.50/macsonic.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/microblaze-sigaltstack.patch (renamed from target/linux/patches/4.9.50/microblaze-sigaltstack.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/or1k-more-ram.patch (renamed from target/linux/patches/4.9.50/or1k-more-ram.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/patch-realtime (renamed from target/linux/patches/4.9.50/patch-realtime) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/sh2.patch (renamed from target/linux/patches/4.9.50/sh2.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/startup.patch (renamed from target/linux/patches/4.9.50/startup.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/4.9.60/vdso2.patch (renamed from target/linux/patches/4.9.50/vdso2.patch) | 0 |
63 files changed, 0 insertions, 6187 deletions
diff --git a/target/linux/patches/3.16.48/bsd-compatibility.patch b/target/linux/patches/3.16.49/bsd-compatibility.patch index b954b658f..b954b658f 100644 --- a/target/linux/patches/3.16.48/bsd-compatibility.patch +++ b/target/linux/patches/3.16.49/bsd-compatibility.patch diff --git a/target/linux/patches/3.16.48/cleankernel.patch b/target/linux/patches/3.16.49/cleankernel.patch index d8c055dc3..d8c055dc3 100644 --- a/target/linux/patches/3.16.48/cleankernel.patch +++ b/target/linux/patches/3.16.49/cleankernel.patch diff --git a/target/linux/patches/3.16.48/cris-header.patch b/target/linux/patches/3.16.49/cris-header.patch index 3db07e530..3db07e530 100644 --- a/target/linux/patches/3.16.48/cris-header.patch +++ b/target/linux/patches/3.16.49/cris-header.patch diff --git a/target/linux/patches/3.16.48/cris-initramfs.patch b/target/linux/patches/3.16.49/cris-initramfs.patch index b709e705e..b709e705e 100644 --- a/target/linux/patches/3.16.48/cris-initramfs.patch +++ b/target/linux/patches/3.16.49/cris-initramfs.patch diff --git a/target/linux/patches/3.16.48/defaults.patch b/target/linux/patches/3.16.49/defaults.patch index 6cdca084e..6cdca084e 100644 --- a/target/linux/patches/3.16.48/defaults.patch +++ b/target/linux/patches/3.16.49/defaults.patch diff --git a/target/linux/patches/3.16.48/export-symbol-for-exmap.patch b/target/linux/patches/3.16.49/export-symbol-for-exmap.patch index 4f0fc8449..4f0fc8449 100644 --- a/target/linux/patches/3.16.48/export-symbol-for-exmap.patch +++ b/target/linux/patches/3.16.49/export-symbol-for-exmap.patch diff --git a/target/linux/patches/3.16.48/fblogo.patch b/target/linux/patches/3.16.49/fblogo.patch index 5b9070242..5b9070242 100644 --- a/target/linux/patches/3.16.48/fblogo.patch +++ b/target/linux/patches/3.16.49/fblogo.patch diff --git a/target/linux/patches/3.16.48/gemalto.patch b/target/linux/patches/3.16.49/gemalto.patch index 65f7af1d7..65f7af1d7 100644 --- a/target/linux/patches/3.16.48/gemalto.patch +++ b/target/linux/patches/3.16.49/gemalto.patch diff --git a/target/linux/patches/3.16.48/initramfs-nosizelimit.patch b/target/linux/patches/3.16.49/initramfs-nosizelimit.patch index 40d2f6bd8..40d2f6bd8 100644 --- a/target/linux/patches/3.16.48/initramfs-nosizelimit.patch +++ b/target/linux/patches/3.16.49/initramfs-nosizelimit.patch diff --git a/target/linux/patches/3.16.48/lemote-rfkill.patch b/target/linux/patches/3.16.49/lemote-rfkill.patch index a61488434..a61488434 100644 --- a/target/linux/patches/3.16.48/lemote-rfkill.patch +++ b/target/linux/patches/3.16.49/lemote-rfkill.patch diff --git a/target/linux/patches/3.16.48/microblaze-ethernet.patch b/target/linux/patches/3.16.49/microblaze-ethernet.patch index 742ab477e..742ab477e 100644 --- a/target/linux/patches/3.16.48/microblaze-ethernet.patch +++ b/target/linux/patches/3.16.49/microblaze-ethernet.patch diff --git a/target/linux/patches/3.16.48/mkpiggy.patch b/target/linux/patches/3.16.49/mkpiggy.patch index 751678b74..751678b74 100644 --- a/target/linux/patches/3.16.48/mkpiggy.patch +++ b/target/linux/patches/3.16.49/mkpiggy.patch diff --git a/target/linux/patches/3.16.48/mtd-rootfs.patch b/target/linux/patches/3.16.49/mtd-rootfs.patch index 775d5fc80..775d5fc80 100644 --- a/target/linux/patches/3.16.48/mtd-rootfs.patch +++ b/target/linux/patches/3.16.49/mtd-rootfs.patch diff --git a/target/linux/patches/3.16.48/nfsv3-tcp.patch b/target/linux/patches/3.16.49/nfsv3-tcp.patch index d5e07e1c2..d5e07e1c2 100644 --- a/target/linux/patches/3.16.48/nfsv3-tcp.patch +++ b/target/linux/patches/3.16.49/nfsv3-tcp.patch diff --git a/target/linux/patches/3.16.48/non-static.patch b/target/linux/patches/3.16.49/non-static.patch index a967703d0..a967703d0 100644 --- a/target/linux/patches/3.16.48/non-static.patch +++ b/target/linux/patches/3.16.49/non-static.patch diff --git a/target/linux/patches/3.16.48/ppc64-missing-zlib.patch b/target/linux/patches/3.16.49/ppc64-missing-zlib.patch index c6e0616be..c6e0616be 100644 --- a/target/linux/patches/3.16.48/ppc64-missing-zlib.patch +++ b/target/linux/patches/3.16.49/ppc64-missing-zlib.patch diff --git a/target/linux/patches/3.16.48/relocs.patch b/target/linux/patches/3.16.49/relocs.patch index 69a7c88a9..69a7c88a9 100644 --- a/target/linux/patches/3.16.48/relocs.patch +++ b/target/linux/patches/3.16.49/relocs.patch diff --git a/target/linux/patches/3.16.48/sgidefs.patch b/target/linux/patches/3.16.49/sgidefs.patch index f00a284d9..f00a284d9 100644 --- a/target/linux/patches/3.16.48/sgidefs.patch +++ b/target/linux/patches/3.16.49/sgidefs.patch diff --git a/target/linux/patches/3.16.48/sortext.patch b/target/linux/patches/3.16.49/sortext.patch index 8fd4e1d6b..8fd4e1d6b 100644 --- a/target/linux/patches/3.16.48/sortext.patch +++ b/target/linux/patches/3.16.49/sortext.patch diff --git a/target/linux/patches/3.16.48/startup.patch b/target/linux/patches/3.16.49/startup.patch index d396b75e4..d396b75e4 100644 --- a/target/linux/patches/3.16.48/startup.patch +++ b/target/linux/patches/3.16.49/startup.patch diff --git a/target/linux/patches/3.16.48/wlan-cf.patch b/target/linux/patches/3.16.49/wlan-cf.patch index fc20759e2..fc20759e2 100644 --- a/target/linux/patches/3.16.48/wlan-cf.patch +++ b/target/linux/patches/3.16.49/wlan-cf.patch diff --git a/target/linux/patches/3.16.48/xargs.patch b/target/linux/patches/3.16.49/xargs.patch index 2c7b3df59..2c7b3df59 100644 --- a/target/linux/patches/3.16.48/xargs.patch +++ b/target/linux/patches/3.16.49/xargs.patch diff --git a/target/linux/patches/3.2.93/sparc-aout.patch b/target/linux/patches/3.2.94/sparc-aout.patch index 6ad252479..6ad252479 100644 --- a/target/linux/patches/3.2.93/sparc-aout.patch +++ b/target/linux/patches/3.2.94/sparc-aout.patch diff --git a/target/linux/patches/3.4.113/bsd-compatibility.patch b/target/linux/patches/3.4.113/bsd-compatibility.patch deleted file mode 100644 index 9e91a62de..000000000 --- a/target/linux/patches/3.4.113/bsd-compatibility.patch +++ /dev/null @@ -1,2512 +0,0 @@ -diff -Nur linux-2.6.36.orig/scripts/Makefile.lib linux-2.6.36/scripts/Makefile.lib ---- linux-2.6.36.orig/scripts/Makefile.lib 2010-10-20 22:30:22.000000000 +0200 -+++ linux-2.6.36/scripts/Makefile.lib 2010-11-28 18:34:22.000000000 +0100 -@@ -216,7 +216,12 @@ - size_append = printf $(shell \ - dec_size=0; \ - for F in $1; do \ -- fsize=$$(stat -c "%s" $$F); \ -+ if stat -qs .>/dev/null 2>&1; then \ -+ statcmd='stat -f %z'; \ -+ else \ -+ statcmd='stat -c %s'; \ -+ fi; \ -+ fsize=$$($$statcmd $$F); \ - dec_size=$$(expr $$dec_size + $$fsize); \ - done; \ - printf "%08x\n" $$dec_size | \ -diff -Nur linux-2.6.36.orig/scripts/mod/mk_elfconfig.c linux-2.6.36/scripts/mod/mk_elfconfig.c ---- linux-2.6.36.orig/scripts/mod/mk_elfconfig.c 2010-10-20 22:30:22.000000000 +0200 -+++ linux-2.6.36/scripts/mod/mk_elfconfig.c 2010-11-28 18:33:24.000000000 +0100 -@@ -1,7 +1,18 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> --#include <elf.h> -+ -+#define EI_NIDENT (16) -+#define ELFMAG "\177ELF" -+ -+#define SELFMAG 4 -+#define EI_CLASS 4 -+#define ELFCLASS32 1 /* 32-bit objects */ -+#define ELFCLASS64 2 /* 64-bit objects */ -+ -+#define EI_DATA 5 /* Data encoding byte index */ -+#define ELFDATA2LSB 1 /* 2's complement, little endian */ -+#define ELFDATA2MSB 2 /* 2's complement, big endian */ - - int - main(int argc, char **argv) -diff -Nur linux-2.6.36.orig/scripts/mod/modpost.h linux-2.6.36/scripts/mod/modpost.h ---- linux-2.6.36.orig/scripts/mod/modpost.h 2010-10-20 22:30:22.000000000 +0200 -+++ linux-2.6.36/scripts/mod/modpost.h 2010-11-28 18:33:24.000000000 +0100 -@@ -7,7 +7,2453 @@ - #include <sys/mman.h> - #include <fcntl.h> - #include <unistd.h> --#include <elf.h> -+ -+ -+/* This file defines standard ELF types, structures, and macros. -+ Copyright (C) 1995-1999,2000,2001,2002,2003 Free Software Foundation, Inc. -+ This file is part of the GNU C Library. -+ -+ The GNU C Library is free software; you can redistribute it and/or -+ modify it under the terms of the GNU Lesser General Public -+ License as published by the Free Software Foundation; either -+ version 2.1 of the License, or (at your option) any later version. -+ -+ The GNU C Library is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Lesser General Public License for more details. -+ -+ You should have received a copy of the GNU Lesser General Public -+ License along with the GNU C Library; if not, write to the Free -+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -+ 02111-1307 USA. */ -+ -+#ifndef _ELF_H -+#define _ELF_H 1 -+ -+__BEGIN_DECLS -+ -+/* Standard ELF types. */ -+ -+#include <stdint.h> -+ -+/* Type for a 16-bit quantity. */ -+typedef uint16_t Elf32_Half; -+typedef uint16_t Elf64_Half; -+ -+/* Types for signed and unsigned 32-bit quantities. */ -+typedef uint32_t Elf32_Word; -+typedef int32_t Elf32_Sword; -+typedef uint32_t Elf64_Word; -+typedef int32_t Elf64_Sword; -+ -+/* Types for signed and unsigned 64-bit quantities. */ -+typedef uint64_t Elf32_Xword; -+typedef int64_t Elf32_Sxword; -+typedef uint64_t Elf64_Xword; -+typedef int64_t Elf64_Sxword; -+ -+/* Type of addresses. */ -+typedef uint32_t Elf32_Addr; -+typedef uint64_t Elf64_Addr; -+ -+/* Type of file offsets. */ -+typedef uint32_t Elf32_Off; -+typedef uint64_t Elf64_Off; -+ -+/* Type for section indices, which are 16-bit quantities. */ -+typedef uint16_t Elf32_Section; -+typedef uint16_t Elf64_Section; -+ -+/* Type for version symbol information. */ -+typedef Elf32_Half Elf32_Versym; -+typedef Elf64_Half Elf64_Versym; -+ -+ -+/* The ELF file header. This appears at the start of every ELF file. */ -+ -+#define EI_NIDENT (16) -+ -+typedef struct -+{ -+ unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ -+ Elf32_Half e_type; /* Object file type */ -+ Elf32_Half e_machine; /* Architecture */ -+ Elf32_Word e_version; /* Object file version */ -+ Elf32_Addr e_entry; /* Entry point virtual address */ -+ Elf32_Off e_phoff; /* Program header table file offset */ -+ Elf32_Off e_shoff; /* Section header table file offset */ -+ Elf32_Word e_flags; /* Processor-specific flags */ -+ Elf32_Half e_ehsize; /* ELF header size in bytes */ -+ Elf32_Half e_phentsize; /* Program header table entry size */ -+ Elf32_Half e_phnum; /* Program header table entry count */ -+ Elf32_Half e_shentsize; /* Section header table entry size */ -+ Elf32_Half e_shnum; /* Section header table entry count */ -+ Elf32_Half e_shstrndx; /* Section header string table index */ -+} Elf32_Ehdr; -+ -+typedef struct -+{ -+ unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ -+ Elf64_Half e_type; /* Object file type */ -+ Elf64_Half e_machine; /* Architecture */ -+ Elf64_Word e_version; /* Object file version */ -+ Elf64_Addr e_entry; /* Entry point virtual address */ -+ Elf64_Off e_phoff; /* Program header table file offset */ -+ Elf64_Off e_shoff; /* Section header table file offset */ -+ Elf64_Word e_flags; /* Processor-specific flags */ -+ Elf64_Half e_ehsize; /* ELF header size in bytes */ -+ Elf64_Half e_phentsize; /* Program header table entry size */ -+ Elf64_Half e_phnum; /* Program header table entry count */ -+ Elf64_Half e_shentsize; /* Section header table entry size */ -+ Elf64_Half e_shnum; /* Section header table entry count */ -+ Elf64_Half e_shstrndx; /* Section header string table index */ -+} Elf64_Ehdr; -+ -+/* Fields in the e_ident array. The EI_* macros are indices into the -+ array. The macros under each EI_* macro are the values the byte -+ may have. */ -+ -+#define EI_MAG0 0 /* File identification byte 0 index */ -+#define ELFMAG0 0x7f /* Magic number byte 0 */ -+ -+#define EI_MAG1 1 /* File identification byte 1 index */ -+#define ELFMAG1 'E' /* Magic number byte 1 */ -+ -+#define EI_MAG2 2 /* File identification byte 2 index */ -+#define ELFMAG2 'L' /* Magic number byte 2 */ -+ -+#define EI_MAG3 3 /* File identification byte 3 index */ -+#define ELFMAG3 'F' /* Magic number byte 3 */ -+ -+/* Conglomeration of the identification bytes, for easy testing as a word. */ -+#define ELFMAG "\177ELF" -+#define SELFMAG 4 -+ -+#define EI_CLASS 4 /* File class byte index */ -+#define ELFCLASSNONE 0 /* Invalid class */ -+#define ELFCLASS32 1 /* 32-bit objects */ -+#define ELFCLASS64 2 /* 64-bit objects */ -+#define ELFCLASSNUM 3 -+ -+#define EI_DATA 5 /* Data encoding byte index */ -+#define ELFDATANONE 0 /* Invalid data encoding */ -+#define ELFDATA2LSB 1 /* 2's complement, little endian */ -+#define ELFDATA2MSB 2 /* 2's complement, big endian */ -+#define ELFDATANUM 3 -+ -+#define EI_VERSION 6 /* File version byte index */ -+ /* Value must be EV_CURRENT */ -+ -+#define EI_OSABI 7 /* OS ABI identification */ -+#define ELFOSABI_NONE 0 /* UNIX System V ABI */ -+#define ELFOSABI_SYSV 0 /* Alias. */ -+#define ELFOSABI_HPUX 1 /* HP-UX */ -+#define ELFOSABI_NETBSD 2 /* NetBSD. */ -+#define ELFOSABI_LINUX 3 /* Linux. */ -+#define ELFOSABI_SOLARIS 6 /* Sun Solaris. */ -+#define ELFOSABI_AIX 7 /* IBM AIX. */ -+#define ELFOSABI_IRIX 8 /* SGI Irix. */ -+#define ELFOSABI_FREEBSD 9 /* FreeBSD. */ -+#define ELFOSABI_TRU64 10 /* Compaq TRU64 UNIX. */ -+#define ELFOSABI_MODESTO 11 /* Novell Modesto. */ -+#define ELFOSABI_OPENBSD 12 /* OpenBSD. */ -+#define ELFOSABI_ARM 9 |