1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00
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
bash
bc
bison
cbootimage
cbootimage-configs
ccache Remove ccache wrappers 2023-03-05 17:48:31 +01:00
cmake
coreutils
cpio
dosfstools
dwarves
e2fsprogs
elftosb
elfutils tools/elfutils: update to 1.89 2023-03-12 13:53:49 +01:00
expat
fakeroot
findutils
firmware-utils firmware-utils: update to latest HEAD 2023-03-15 01:23:40 +01:00
flex
flock
genext2fs
gengetopt
gmp
include tools: update elf.h 2023-03-19 18:20:18 +01:00
isl
kernel2minor
libdeflate
liblzo
libressl
libtool tools/libtool: bump to 2.4.7 2023-03-13 22:53:41 +01:00
llvm-bpf
lz4
lzma
lzma-old
lzop
m4
make-ext4fs
meson
missing-macros
mkimage
mklibs
mpc
mpfr
mtd-utils
mtools
ninja
padjffs2
patch
patch-image
patchelf
pkgconf
quilt
sdimage
sed
sparse
squashfs3-lzma
squashfs4
sstrip
tar
xz
zip
zlib
zstd
Makefile