openwrt/tools
Mathew McBride c98e09f01b tools: update elf.h
OpenWrt contains a 2012 copy of glibc's elf.h, which predates the
introduction of some newer architectures like Arm64 and RISC-V.

Linux 5.13 introduced the "gen-hyprel" tool into the kernel compile
(when virtualization/KVM is enabled) which requires EM_AARCH64 to be
defined.

arch/arm64/kvm/hyp/nvhe/gen-hyprel.c: In function 'init_elf':
arch/arm64/kvm/hyp/nvhe/gen-hyprel.c:289:43: error: 'EM_AARCH64'
  undeclared (first use in this function); did you mean 'EM_IA_64'?
  289 |  assert_eq(elf16toh(elf.ehdr->e_machine), EM_AARCH64, "%u");
      |                                           ^~~~~~~~~~

Update the copy of elf.h from the latest glibc to fix this.

Compile-tested: ath79, armvirt, mpc85xx, x86
Run-tested: armvirt

Signed-off-by: Mathew McBride <matt@traverse.com.au>
2023-03-19 18:20:18 +01:00
..
7z
autoconf tools/autoconf: ensure relocatability 2023-03-16 00:32:59 +01:00
autoconf-archive tools/autoconf-archive: bump to 2022.09.03 2023-03-13 22:53:41 +01:00
automake tools/automake: bump to 1.16.5 2023-03-13 22:53:41 +01:00
b43-tools tools/b43-tools: update to latest git HEAD 2023-01-14 09:36:02 +08:00
bash tools/bash: update to 5.2.15 2022-12-17 20:26:51 +01:00
bc tools/bc: update to 1.07.1 2022-10-22 22:50:37 +02:00
bison tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
cbootimage
cbootimage-configs
ccache Remove ccache wrappers 2023-03-05 17:48:31 +01:00
cmake tools/cmake: remove rpath ldflag 2023-02-09 02:53:36 +01:00
coreutils tools/coreutils: update to 9.1 2023-02-05 21:55:20 +01:00
cpio tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
dosfstools dosfstools: switch to AC_CHECK_LIB 2023-01-16 18:29:04 +01:00
dwarves tools/dwarves: update to 1.24 2022-10-22 22:53:24 +02:00
e2fsprogs tools/e2fsprogs: update to 1.47.0 2023-02-12 16:45:29 +01:00
elftosb
elfutils tools/elfutils: update to 1.89 2023-03-12 13:53:49 +01:00
expat expat: update to 2.5.0 2022-10-31 21:27:48 +01:00
fakeroot Revert "tools/fakeroot: update to 1.30.1" 2023-02-12 01:02:22 +01:00
findutils tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
firmware-utils firmware-utils: update to latest HEAD 2023-03-15 01:23:40 +01:00
flex tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
flock tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
genext2fs tools/genext2fs: update to 1.5.0 2022-10-22 22:53:24 +02:00
gengetopt
gmp tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
include tools: update elf.h 2023-03-19 18:20:18 +01:00
isl tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
kernel2minor
libdeflate libdeflate: Avoid circular dependencies 2023-01-17 21:01:54 +01:00
liblzo tools/liblzo: add liblzo library 2023-01-16 23:51:10 +00:00
libressl tools/libressl: update to 3.7.0 2022-12-18 16:34:47 +01:00
libtool tools/libtool: bump to 2.4.7 2023-03-13 22:53:41 +01:00
llvm-bpf tools/llvm: update to 15.0.7 2023-01-13 22:07:13 +01:00
lz4 tools/lz4: add lz4 binaries 2023-01-16 23:51:10 +00:00
lzma tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
lzma-old
lzop tools/lzop: add lzop binaries 2023-01-16 23:51:10 +00:00
m4 tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
make-ext4fs
meson
missing-macros
mkimage tools/mkimage: update to 2023.01 2023-01-13 14:49:52 +00:00
mklibs
mpc tools/mpc: use STAGING_DIR_HOST instead of hardcoding default 2023-01-09 21:33:19 +01:00
mpfr tools/mpfr: update to 4.2.0 2023-01-07 17:17:59 +01:00
mtd-utils tools/mtd-utils: update to 2.1.5 2022-11-05 14:07:46 +00:00
mtools tools/mtools: update to 4.0.42 2022-11-05 14:07:46 +00:00
ninja tools/ninja: update to 1.11.1 2023-01-24 23:13:25 +01:00
padjffs2
patch tools/patch: apply patch for EACCES on xattr copy 2022-11-20 18:44:43 +01:00
patch-image
patchelf tools/patchelf: update to 0.17.2 2023-01-13 22:08:17 +01:00
pkgconf tools/pkgconf: add PKG_CPE_ID 2023-02-05 22:39:17 +01:00
quilt
sdimage
sed tools/sed: Fix handling of symlinks of 128 chars 2022-12-18 21:40:58 +01:00
sparse tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
squashfs3-lzma tools/squashfs: rename to squashfs3-lzma 2023-02-18 21:11:36 +01:00
squashfs4 tools/squashfs4: fix PKG_MIRROR_HASH 2023-02-25 19:01:53 +00:00
sstrip
tar tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
xz tools/xz: update to 5.4.1 2023-01-13 22:09:12 +01:00
zip tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
zlib tools/zlib: update to 1.2.13 2022-10-22 22:53:24 +02:00
zstd tools/zstd: update to 1.5.4 2023-02-18 17:38:01 +01:00
Makefile tools/squashfs4: add new tool for squashfs4 images 2023-02-20 07:34:03 +01:00