summaryrefslogtreecommitdiffstats
path: root/libc/bionic/getauxval.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-09-30 18:43:46 -0700
committerElliott Hughes <enh@google.com>2013-09-30 18:43:46 -0700
commitc620059479c47a78d57086d73726c9adc2f337ad (patch)
treeef410fffb4d853aaf7dbfee41743c197c4985856 /libc/bionic/getauxval.cpp
parent6dee3b9aeec40bb518c1a29b4462300869a03d8e (diff)
downloadbionic-c620059479c47a78d57086d73726c9adc2f337ad.zip
bionic-c620059479c47a78d57086d73726c9adc2f337ad.tar.gz
bionic-c620059479c47a78d57086d73726c9adc2f337ad.tar.bz2
Remove 32-bit assumptions from the ELF code.
Change-Id: I2c1f3d34c33685799aade8866eec44479ff9f963
Diffstat (limited to 'libc/bionic/getauxval.cpp')
-rw-r--r--libc/bionic/getauxval.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/bionic/getauxval.cpp b/libc/bionic/getauxval.cpp
index fd225e0..3ee31d6 100644
--- a/libc/bionic/getauxval.cpp
+++ b/libc/bionic/getauxval.cpp
@@ -32,10 +32,10 @@
#include <private/bionic_auxv.h>
#include <elf.h>
-__LIBC_HIDDEN__ Elf32_auxv_t* __libc_auxv = NULL;
+__LIBC_HIDDEN__ Elf_auxv_t* __libc_auxv = NULL;
extern "C" unsigned long int getauxval(unsigned long int type) {
- for (Elf32_auxv_t* v = __libc_auxv; v->a_type != AT_NULL; ++v) {
+ for (Elf_auxv_t* v = __libc_auxv; v->a_type != AT_NULL; ++v) {
if (v->a_type == type) {
return v->a_un.a_val;
}