Miles Poupart 19dba8a52e
dwarves: bump to 1.25 (#11793)
* dwarves: bump to 1.25

* 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>

---------

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Co-authored-by: Mathew McBride <matt@traverse.com.au>
2024-01-16 22:48:52 +08:00
..
2022-08-02 10:03:45 +08:00
2022-12-19 12:45:05 +08:00
2022-10-23 12:40:42 +08:00
2024-01-16 22:48:52 +08:00
2022-12-08 00:02:17 +08:00
2017-09-06 19:19:45 +08:00
2024-01-16 22:48:52 +08:00
2018-09-07 13:43:55 +08:00
2023-01-25 15:30:35 +08:00
2022-10-23 12:19:36 +08:00
2023-01-17 21:15:23 +08:00
2022-10-01 10:03:52 +08:00
2023-01-25 15:30:35 +08:00
2021-06-15 17:58:07 +08:00
2022-10-01 10:03:52 +08:00
2022-02-26 05:48:55 +00:00
2022-10-01 10:03:52 +08:00
2024-01-11 20:45:33 +08:00
2023-01-25 15:30:35 +08:00
2024-01-14 21:47:34 +08:00
2024-01-11 20:45:33 +08:00