- allocate value for new AT_HWCAP2 auxiliary vector on all platforms.
- expand 'struct sysentvec' by new 'u_long *sv_hwcap2', in exactly same way as for AT_HWCAP.
MFC after: 1 month
Differential D12699
Add AT_HWCAP2 ELF auxiliary vector. mmel on Oct 17 2017, 1:31 PM. Authored by Tags None Referenced Files
Details
MFC after: 1 month
Diff Detail
Event Timeline
Comment Actions My exp-run for selected ports just ended and It found unexpected problem. I don't want to emulated full Linux behavior here, so it's time for plan B This approach result to slightly bigger patches for ports (that getauxval), but it's still acceptable I think. Comment Actions auxv.h is fine. Exporting elf_aux_info as weak symbol is also fine. Make sure that the interposable symbol is not used by libc or libthr. |