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
..
2022-07-31 15:29:39 +02:00
2023-03-13 22:53:41 +01:00
2022-12-17 20:26:51 +01:00
2022-10-22 22:50:37 +02:00
2023-03-05 17:48:31 +01:00
2023-02-09 02:53:36 +01:00
2023-02-05 21:55:20 +01:00
2022-10-22 22:53:24 +02:00
2023-03-12 13:53:49 +01:00
2022-10-31 21:27:48 +01:00
2019-07-08 16:42:26 +02:00
2023-03-19 18:20:18 +01:00
2023-01-16 23:51:10 +00:00
2022-12-18 16:34:47 +01:00
2023-03-13 22:53:41 +01:00
2023-01-13 22:07:13 +01:00
2023-01-16 23:51:10 +00:00
2023-01-16 23:51:10 +00:00
2022-10-02 16:05:32 +02:00
2023-01-13 14:49:52 +00:00
2022-03-01 00:08:08 +01:00
2023-01-07 17:17:59 +01:00
2022-11-05 14:07:46 +00:00
2023-01-24 23:13:25 +01:00
2020-09-02 16:29:22 +02:00
2023-01-13 22:08:17 +01:00
2023-02-05 22:39:17 +01:00
2022-02-25 14:12:39 +01:00
2021-09-20 15:21:17 +02:00
2023-01-13 22:09:12 +01:00
2022-10-22 22:53:24 +02:00
2023-02-18 17:38:01 +01:00