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

@ -1,3 +1,8 @@
2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
* elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
statement.
2015-10-27 Joseph Myers <joseph@codesourcery.com>
* conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove

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;