From 76c5ae00284d98f1994434c570bdcde9dbc6b49e Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Seo Date: Fri, 9 Oct 2015 16:01:35 -0300 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ elf/dl-support.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 824d4f2817..a392a75030 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-10-27 Carlos Eduardo Seo + + * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case + statement. + 2015-10-27 Joseph Myers * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove 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; -- 2.34.1