This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/22299] Problem with $PLATFORM on x86_64 platform
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 26 Oct 2017 15:10:28 +0000
- Subject: [Bug dynamic-link/22299] Problem with $PLATFORM on x86_64 platform
- Auto-submitted: auto-generated
- References: <bug-22299-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22299
--- Comment #6 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, release/2.26/master has been updated
via 4b692dffb95ac4812b161eb6a16113d7e824982e (commit)
from 77eea8950ce5495ff033bca3465ccfd2db072ae6 (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=4b692dffb95ac4812b161eb6a16113d7e824982e
commit 4b692dffb95ac4812b161eb6a16113d7e824982e
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Oct 19 08:28:09 2017 -0700
x86-64: Don't set GLRO(dl_platform) to NULL [BZ #22299]
Since ld.so expands $PLATFORM with GLRO(dl_platform), don't set
GLRO(dl_platform) to NULL.
[BZ #22299]
* sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
GLRO(dl_platform) to NULL.
* sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
(modules-names): Add tst-platformmod-1 and
x86_64/tst-platformmod-2.
(CFLAGS-tst-platform-1.c): New.
(CFLAGS-tst-platformmod-1.c): Likewise.
(CFLAGS-tst-platformmod-2.c): Likewise.
(LDFLAGS-tst-platformmod-2.so): Likewise.
($(objpfx)tst-platform-1): Likewise.
($(objpfx)tst-platform-1.out): Likewise.
(tst-platform-1-ENV): Likewise.
($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
* sysdeps/x86_64/tst-platform-1.c: New file.
* sysdeps/x86_64/tst-platformmod-1.c: Likewise.
* sysdeps/x86_64/tst-platformmod-2.c: Likewise.
(cherry picked from commit 4d916f0f12b230f49967797f98b2b613c734a047)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 21 +++++++++++++++++++++
NEWS | 1 +
sysdeps/x86/cpu-features.c | 12 ++++++++----
sysdeps/x86_64/Makefile | 20 ++++++++++++++++++++
sysdeps/x86_64/tst-platform-1.c | 29 +++++++++++++++++++++++++++++
sysdeps/x86_64/tst-platformmod-1.c | 23 +++++++++++++++++++++++
sysdeps/x86_64/tst-platformmod-2.c | 23 +++++++++++++++++++++++
7 files changed, 125 insertions(+), 4 deletions(-)
create mode 100644 sysdeps/x86_64/tst-platform-1.c
create mode 100644 sysdeps/x86_64/tst-platformmod-1.c
create mode 100644 sysdeps/x86_64/tst-platformmod-2.c
--
You are receiving this mail because:
You are on the CC list for the bug.