zig
zig copied to clipboard
add support for targeting glibc 2.36
Previous release issue: https://github.com/ziglang/zig/issues/12808
glibc 2.36 was released. Time to follow the update procedure.
Major new features that may be relevant:
* Support for DT_RELR relative relocation format has been added to
glibc. This is a new ELF dynamic tag that improves the size of
relative relocations in shared object files and position independent
executables (PIE). DT_RELR generation requires linker support for
-z pack-relative-relocs option, which is supported for some targets
in recent binutils versions. Lazy binding doesn't apply to DT_RELR.
* Support for LoongArch running on Linux has been added. This port requires
as least binutils 2.38, GCC 12, and Linux 5.19. Currently only hard-float
ABI is supported:
- loongarch64-linux-gnu
The LoongArch ABI is 64-bit little-endian.