diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-11-04 20:38:17 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-11-04 20:38:17 +0100 |
commit | 7ad9bd33ece63ea288e3b36ca85f2cbd31abba3b (patch) | |
tree | 215d46c0ea2ad71ed68e402591f399484b094f34 /target | |
parent | 0821102d2a2385c7fd8066b9bb690802e2eb3d58 (diff) |
linux: bump kernel versions
Diffstat (limited to 'target')
-rw-r--r-- | target/config/Config.in.kernelversion | 36 | ||||
-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 |
64 files changed, 6 insertions, 6217 deletions
diff --git a/target/config/Config.in.kernelversion b/target/config/Config.in.kernelversion index 49d5606a4..4a48fb606 100644 --- a/target/config/Config.in.kernelversion +++ b/target/config/Config.in.kernelversion @@ -31,7 +31,7 @@ config ADK_TARGET_KERNEL_VERSION_GIT select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK config ADK_TARGET_KERNEL_VERSION_4_13 - bool "4.13.2" + bool "4.13.11" depends on !ADK_TARGET_ARCH_AVR32 depends on !ADK_TARGET_ARCH_CRIS depends on !ADK_TARGET_ARCH_CSKY @@ -42,7 +42,7 @@ config ADK_TARGET_KERNEL_VERSION_4_13 depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU config ADK_TARGET_KERNEL_VERSION_4_9 - bool "4.9.50" + bool "4.9.60" depends on !ADK_TARGET_ARCH_CRIS depends on !ADK_TARGET_ARCH_CSKY depends on !ADK_TARGET_ARCH_METAG @@ -53,7 +53,7 @@ config ADK_TARGET_KERNEL_VERSION_4_9 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0 config ADK_TARGET_KERNEL_VERSION_4_4 - bool "4.4.88" + bool "4.4.96" depends on !ADK_TARGET_ARCH_CSKY depends on !ADK_TARGET_ARCH_NDS32 depends on !ADK_TARGET_ARCH_NIOS2 @@ -66,7 +66,7 @@ config ADK_TARGET_KERNEL_VERSION_4_4 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0 config ADK_TARGET_KERNEL_VERSION_4_1 - bool "4.1.43" + bool "4.1.45" depends on !ADK_TARGET_ARCH_ARC depends on !ADK_TARGET_ARCH_BFIN depends on !ADK_TARGET_ARCH_CSKY @@ -85,7 +85,7 @@ config ADK_TARGET_KERNEL_VERSION_4_1 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0 config ADK_TARGET_KERNEL_VERSION_3_16 - bool "3.16.48" + bool "3.16.49" depends on !ADK_TARGET_ARCH_ARC depends on !ADK_TARGET_ARCH_BFIN depends on !ADK_TARGET_ARCH_CSKY @@ -133,37 +133,13 @@ config ADK_TARGET_KERNEL_VERSION_3_10 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6 depends on !ADK_TARGET_SYSTEM_ORANGE_PI0 -config ADK_TARGET_KERNEL_VERSION_3_4 - bool "3.4.113" - depends on !ADK_TARGET_ARCH_ARC - depends on !ADK_TARGET_ARCH_BFIN - depends on !ADK_TARGET_ARCH_CSKY - depends on !ADK_TARGET_ARCH_H8300 - depends on !ADK_TARGET_ARCH_NDS32 - depends on !ADK_TARGET_ARCH_NIOS2 - depends on !ADK_TARGET_ARCH_OR1K - depends on !ADK_TARGET_ARCH_RISCV32 - depends on !ADK_TARGET_ARCH_RISCV64 - depends on !ADK_TARGET_ARCH_SPARC - depends on !ADK_TARGET_BOARD_ATH79 - depends on !ADK_TARGET_BOARD_BCM28XX - depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK - depends on !ADK_TARGET_SYSTEM_KINETIS_K70 - depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 - depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 - depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU - depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2 - depends on !ADK_TARGET_CPU_MIPS_MIPS32R6 - depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6 - depends on !ADK_TARGET_SYSTEM_ORANGE_PI0 - config ADK_TARGET_KERNEL_VERSION_3_10_NDS32 bool "3.10-nds32" depends on ADK_TARGET_ARCH_NDS32 select ADK_TARGET_KERNEL_NO_MIRROR config ADK_TARGET_KERNEL_VERSION_3_2 - bool "3.2.93" + bool "3.2.94" depends on !ADK_TARGET_ARCH_ARC depends on !ADK_TARGET_ARCH_BFIN depends on !ADK_TARGET_ARCH_CSKY 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 */ |