From e1b9c1b01be294cc2865acfe33544d5e5cc50eb4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 27 Jul 2012 00:14:57 -0400 Subject: 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. --- src/env/__init_security.c | 1 + src/internal/libc.c | 2 ++ src/internal/libc.h | 1 + 3 files changed, 4 insertions(+) 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__) -- cgit v1.2.1