[libc-commits] [libc] [libc] Enable ifunc support in static startup (PR #182841)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Tue Feb 24 02:04:02 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
----------------
kaladron wrote:

I've added the ARMv7 define but I haven't done anything else to add support for it.

I've moved the defines to the YAML file.

Thanks!  I'll close this, please reopen if more is needed.

https://github.com/llvm/llvm-project/pull/182841


More information about the libc-commits mailing list