From: Rich Felker Date: Fri, 27 Jul 2012 04:14:57 +0000 (-0400) Subject: save AT_HWCAP from auxv for subsequent use in machine-specific code X-Git-Tag: v0.9.3~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e1b9c1b01be294cc2865acfe33544d5e5cc50eb4;p=oweals%2Fmusl.git save AT_HWCAP from auxv for subsequent use in machine-specific code it's expected that this will be needed/useful only in asm, so I've given it its own symbol that can be addressed in pc-relative ways from asm rather than adding a field in the __libc structure which would require hard-coding the offset wherever it's used. --- diff --git a/src/env/__init_security.c b/src/env/__init_security.c index 59d546fa..f9de9c62 100644 --- a/src/env/__init_security.c +++ b/src/env/__init_security.c @@ -23,6 +23,7 @@ void __init_security(size_t *auxv) #endif for (; auxv[0]; auxv+=2) if (auxv[0]= 303 || defined(__PCC__) || defined(__TINYC__)