1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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.
This commit is contained in:
Carlos Eduardo Seo
2015-10-09 16:01:35 -03:00
committed by Tulio Magno Quites Machado Filho
parent 8b126a4a2c
commit 76c5ae0028
2 changed files with 8 additions and 0 deletions

View File

@ -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;