]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add AT_PLATFORM to _dl_aux_init ()
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Fri, 9 Oct 2015 19:01:35 +0000 (16:01 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Tue, 27 Oct 2015 19:27:41 +0000 (17:27 -0200)
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
elf/dl-support.c

index 824d4f28178001468454ba168cce9cf84e18023d..a392a750303f458f94a241032d39cc336c41e0df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 9bbaa5b2bdab3db1cd0f0f879f40e1ab9aa3b3b1..9af0d8ab03d9d593ab2698319fe2a0e6ba3340e3 100644 (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;