[libc-commits] [libc] [libc] Enable ifunc support in static startup (PR #182841)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Mon Feb 23 13:54:30 PST 2026
================
@@ -32,4 +32,10 @@
#define ELF64_R_TYPE(i) ((i) & 0xffffffffL)
#define ELF64_R_INFO(s, t) (((s) << 32) + ((t) & 0xffffffffL))
+// Architecture-specific IRELATIVE relocation types
+
+#define R_X86_64_IRELATIVE 37
+#define R_AARCH64_IRELATIVE 1032
----------------
petrhosek wrote:
These macros should be defined in https://github.com/llvm/llvm-project/blob/main/libc/include/elf.yaml.
https://github.com/llvm/llvm-project/pull/182841
More information about the libc-commits
mailing list