This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21109] Tunables broken on big-endian


https://sourceware.org/bugzilla/show_bug.cgi?id=21109

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, gentoo/2.25 has been updated
       via  0232af1ad6cbd8378025e804f535ce9449ad49de (commit)
      from  09385d5912306ccf444d4532520d339774fea48a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0232af1ad6cbd8378025e804f535ce9449ad49de

commit 0232af1ad6cbd8378025e804f535ce9449ad49de
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date:   Thu Feb 9 17:28:54 2017 +0100

    Fix getting tunable values on big-endian (BZ #21109)

    The code to set value passed a tunable_val_t, which when cast to
    int32_t on big-endian gives the wrong value.  Instead, use
    tunable_val_t.numval instead, which can then be safely cast into
    int32_t.

    (cherry picked from commit 8cbc826c37c0221ada65a7a622fe079b4e89a4b0)
    (cherry picked from commit 58520986c38e34db60e07260c64c563e3efcf353)

-----------------------------------------------------------------------

Summary of changes:
 elf/dl-tunable-types.h |    4 ++--
 elf/dl-tunables.c      |    2 ++
 malloc/arena.c         |    8 ++++----
 3 files changed, 8 insertions(+), 6 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]