ELF auxiliary vector tags

Marcel Moolenaar marcel at xcllnt.net
Mon Sep 11 19:32:04 UTC 2017


> On Sep 8, 2017, at 10:36 AM, John Baldwin <jhb at freebsd.org> wrote:


> I know Justin changed time_t to 64-bit on 32-bit powerpc which effectively broke 32-bit powerpc earlier, but this change would break both 32-bit and 64-bit powerpc and is probably more disruptive (in theory some binaries might have worked with a wrong time_t, but renumber AT_STACKPROT, etc. will probably break every binary).

That probably depends on the byte order. I would think widening
time_t on a big-endian machine is a lot more disruptive than
doing it on a little-endian machine.

That said and along the lines of what @imp said:
Maybe add a a MD macro (e.g. NO_MI_AUX_VECTORS) whose existence
suppresses the MI definitions of AT_* so that MD headers can
define their own?

-- 
Marcel Moolenaar
marcel at xcllnt.net




More information about the freebsd-arch mailing list