|
|
bca718 |
commit fb6784e3068a747ead34e6dee6a9a1978668a955
|
|
|
bca718 |
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
|
|
|
bca718 |
Date: Thu Nov 20 12:33:44 2014 +0530
|
|
|
bca718 |
|
|
|
bca718 |
Remove IS_IN_ldconfig
|
|
|
bca718 |
|
|
|
bca718 |
Replace with IS_IN (ldconfig). No change in generated code.
|
|
|
bca718 |
|
|
|
bca718 |
* elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
|
|
|
bca718 |
IS_IN_ldconfig.
|
|
|
bca718 |
* sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
|
|
|
bca718 |
* sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
|
|
|
bca718 |
|
|
|
bca718 |
Index: glibc-2.17-c758a686/elf/Makefile
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/elf/Makefile
|
|
|
bca718 |
+++ glibc-2.17-c758a686/elf/Makefile
|
|
|
bca718 |
@@ -437,7 +437,7 @@ $(objpfx)pldd: $(pldd-modules:%=$(objpfx
|
|
|
bca718 |
|
|
|
bca718 |
SYSCONF-FLAGS := -D'SYSCONFDIR="$(sysconfdir)"'
|
|
|
bca718 |
CFLAGS-ldconfig.c = $(SYSCONF-FLAGS) -D'LIBDIR="$(libdir)"' \
|
|
|
bca718 |
- -D'SLIBDIR="$(slibdir)"' -DIS_IN_ldconfig=1 -DNOT_IN_libc=1
|
|
|
bca718 |
+ -D'SLIBDIR="$(slibdir)"' -DNOT_IN_libc
|
|
|
bca718 |
libof-ldconfig = ldconfig
|
|
|
bca718 |
CFLAGS-dl-cache.c = $(SYSCONF-FLAGS)
|
|
|
bca718 |
CFLAGS-cache.c = $(SYSCONF-FLAGS)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c
|
|
|
bca718 |
@@ -1,4 +1,4 @@
|
|
|
bca718 |
-#ifdef IS_IN_ldconfig
|
|
|
bca718 |
+#if IS_IN (ldconfig)
|
|
|
bca718 |
# include <sysdeps/i386/dl-procinfo.c>
|
|
|
bca718 |
#else
|
|
|
bca718 |
# include <sysdeps/generic/dl-procinfo.c>
|
|
|
bca718 |
Index: glibc-2.17-c758a686/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h
|
|
|
bca718 |
+++ glibc-2.17-c758a686/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h
|
|
|
bca718 |
@@ -1,4 +1,4 @@
|
|
|
bca718 |
-#ifdef IS_IN_ldconfig
|
|
|
bca718 |
+#if IS_IN (ldconfig)
|
|
|
bca718 |
# include <sysdeps/unix/sysv/linux/i386/dl-procinfo.h>
|
|
|
bca718 |
#else
|
|
|
bca718 |
# include <sysdeps/generic/dl-procinfo.h>
|