On Tue, Jan 13, 2015 at 11:20 AM, Niels Möller <[email protected]> wrote: > [email protected] (Niels Möller) writes: >> Clearly, this will be more useful after adding support for >> fat binaries, detecting presence of these instructions at runtime. > > I've now had a first go at fat-library support. Checked in on the branch > fat-library. See > https://git.lysator.liu.se/nettle/nettle/blob/fat-library/x86_64/fat/fat.c
Looks nice. About the __attribute__((constructor)), you are restricting it to GNUC only, while it seems to be available more widely. In gnutls I use it unconditionally except for sun. #ifdef __sun # pragma init(fat_constructor) # define _CONSTRUCTOR #else # define _CONSTRUCTOR __attribute__((constructor)) #endif It's early, but it would be nice if the arm neon code was part of fat as well. regards, Nikos _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
