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