diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-04-08 16:06:54 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-04-08 16:06:54 -0700 |
commit | 85997fc3ebe20b96f24b590e998d3ff7b2b8148a (patch) | |
tree | 5bac76252174c38e15671e6d5c9e1aa45030d3dd /elf/dl-support.c | |
parent | 39be1d1f7b55b4d63a218cd0ec99393acaf1f083 (diff) | |
parent | 7bfa311ff51999f9e92620268e493959a2f7bfb4 (diff) | |
download | glibc-85997fc3ebe20b96f24b590e998d3ff7b2b8148a.tar glibc-85997fc3ebe20b96f24b590e998d3ff7b2b8148a.tar.gz glibc-85997fc3ebe20b96f24b590e998d3ff7b2b8148a.tar.bz2 glibc-85997fc3ebe20b96f24b590e998d3ff7b2b8148a.zip |
Merge remote branch 'origin/roland/hwcap_mask'
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r-- | elf/dl-support.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c index bcf0e2a560..65b25750de 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -1,5 +1,5 @@ /* Support for dynamic linking code in static libc. - Copyright (C) 1996-2008, 2009 Free Software Foundation, Inc. + Copyright (C) 1996-2008,2009,2010 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -126,6 +126,14 @@ ElfW(Phdr) *_dl_phdr; size_t _dl_phnum; uint64_t _dl_hwcap __attribute__ ((nocommon)); +/* This is not initialized to HWCAP_IMPORTANT, matching the definition + of _dl_important_hwcaps, below, where no hwcap strings are ever + used. This mask is still used to mediate the lookups in the cache + file. Since there is no way to set this nonzero (we don't grok the + LD_HWCAP_MASK environment variable here), there is no real point in + setting _dl_hwcap nonzero below, but we do anyway. */ +uint64_t _dl_hwcap_mask __attribute__ ((nocommon)); + /* Prevailing state of the stack, PF_X indicating it's executable. */ ElfW(Word) _dl_stack_flags = PF_R|PF_W|PF_X; |