[libc-commits] [libc] [libc] Enable ifunc support in static startup (PR #182841)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Mon Feb 23 08:56:09 PST 2026
================
@@ -100,29 +103,41 @@ static TLSDescriptor tls;
case AT_PAGESZ:
app.page_size = aux_entry.val;
break;
+ case AT_HWCAP:
+ hwcap = aux_entry.val;
+ break;
+ case AT_HWCAP2:
+ hwcap2 = aux_entry.val;
+ break;
default:
break; // TODO: Read other useful entries from the aux vector.
}
}
- ptrdiff_t base = 0;
+ intptr_t base = 0;
----------------
SchrodingerZhu wrote:
Since this has been changed, please comment a one-linear for the reason of preference.
https://github.com/llvm/llvm-project/pull/182841
More information about the libc-commits
mailing list