aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>2015-10-09 16:01:35 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2015-10-27 17:27:41 -0200
commit76c5ae00284d98f1994434c570bdcde9dbc6b49e (patch)
tree9981a78ff2fc6945b85c2f3e49576918aed32f7b /elf
parent8b126a4a2ca78a5d98cc7afa219d93c8a31ed944 (diff)
downloadglibc-76c5ae00284d98f1994434c570bdcde9dbc6b49e.tar
glibc-76c5ae00284d98f1994434c570bdcde9dbc6b49e.tar.gz
glibc-76c5ae00284d98f1994434c570bdcde9dbc6b49e.tar.bz2
glibc-76c5ae00284d98f1994434c570bdcde9dbc6b49e.zip
Add AT_PLATFORM to _dl_aux_init ()
Added AT_PLATFORM to _dl_aux_init () function to keep it in sync with _dl_sysdep_start (). * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case statement.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-support.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 9bbaa5b2bd..9af0d8ab03 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -244,6 +244,9 @@ _dl_aux_init (ElfW(auxv_t) *av)
case AT_PHNUM:
GL(dl_phnum) = av->a_un.a_val;
break;
+ case AT_PLATFORM:
+ GLRO(dl_platform) = (void *) av->a_un.a_val;
+ break;
case AT_HWCAP:
GLRO(dl_hwcap) = (unsigned long int) av->a_un.a_val;
break;