diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-07-27 00:14:57 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-07-27 00:14:57 -0400 |
commit | e1b9c1b01be294cc2865acfe33544d5e5cc50eb4 (patch) | |
tree | b3efaa1aa0c3ec7ce04dd43bc5c02bd1f26f6c1c /src/internal/libc.h | |
parent | retry on cas failures in sem_trywait (diff) | |
download | grovel-e1b9c1b01be294cc2865acfe33544d5e5cc50eb4.tar.gz grovel-e1b9c1b01be294cc2865acfe33544d5e5cc50eb4.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | src/internal/libc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/libc.h b/src/internal/libc.h index 53e4e826..ea863d67 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -18,6 +18,7 @@ struct __libc { int ofl_lock[2]; }; +extern size_t __hwcap; #if !defined(__PIC__) || 100*__GNUC__+__GNUC_MINOR__ >= 303 || defined(__PCC__) || defined(__TINYC__) |