Daniel Bertalan
45d81dceed
Everywhere: Replace ElfW(type)
macro usage with Elf_type
...
This works around a `clang-format-17` bug which caused certain usages to
be misformatted and fail to compile.
Fixes #8315
2023-12-01 10:02:39 +02:00
Daniel Bertalan
2151e6c8b4
LibELF: Define ELFSIZE
macro
...
This makes the rest of the `ELFABI.h` header define the
bit-width-independent `Elf_type` macros.
2023-12-01 10:02:39 +02:00
kleines Filmröllchen
b4cabde4a4
LibELF: Add initial RISC-V support
...
This is an almost-minimal patchset to get RISC-V ELF files to pass
validation. Unlike other architectures, eflags are actually used here.
2023-11-04 22:13:52 +01:00
Daniel Bertalan
70fcbcf54b
LibELF+readelf: Add missing constants for dynamic relocations
...
These should cover all relocation types we can possibly see in an x86_64
or AArch64 final linked ELF image.
2023-08-18 16:20:13 +02:00
implicitfield
79adeb626b
LibC+LibELF: Move ELF definitions from LibC to LibELF
...
This is needed to avoid including LibC headers in Lagom builds.
Unfortunately, we cannot rely on the build machine to provide a
fully POSIX-compatible ELF header for Lagom builds, so we have to
use our own.
2023-06-27 12:40:38 +02:00