diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-19 08:28:09 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-19 08:28:26 -0700 |
commit | 4d916f0f12b230f49967797f98b2b613c734a047 (patch) | |
tree | 2a4bd22db6b3e69c70f18e551f28e243c5e5faf8 /Makerules | |
parent | 4b0fa403ab14d046e1b13de397016cef1c06acae (diff) | |
download | glibc-4d916f0f12b230f49967797f98b2b613c734a047.tar glibc-4d916f0f12b230f49967797f98b2b613c734a047.tar.gz glibc-4d916f0f12b230f49967797f98b2b613c734a047.tar.bz2 glibc-4d916f0f12b230f49967797f98b2b613c734a047.zip |
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.
Diffstat (limited to 'Makerules')
0 files changed, 0 insertions, 0 deletions