|
|
bca718 |
commit 9b42a0b3a3cc037e6bdd62869d91cb19c80aa0e5
|
|
|
bca718 |
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
|
|
|
bca718 |
Date: Thu Nov 20 13:17:21 2014 +0530
|
|
|
bca718 |
|
|
|
bca718 |
Remove IS_IN_libdl
|
|
|
bca718 |
|
|
|
bca718 |
Replace with IS_IN (libdl). No changes to generated code on x86_64.
|
|
|
bca718 |
|
|
|
bca718 |
* dlfcn/dladdr.c: Use IS_IN.
|
|
|
bca718 |
* dlfcn/dladdr1.c: Likewise.
|
|
|
bca718 |
* dlfcn/dlclose.c: Likewise.
|
|
|
bca718 |
* dlfcn/dlerror.c: Likewise.
|
|
|
bca718 |
* dlfcn/dlinfo.c: Likewise.
|
|
|
bca718 |
* dlfcn/dlmopen.c: Likewise.
|
|
|
bca718 |
* dlfcn/dlopen.c: Likewise.
|
|
|
bca718 |
* dlfcn/dlsym.c: Likewise.
|
|
|
bca718 |
* dlfcn/dlvsym.c: Likewise.
|
|
|
bca718 |
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dladdr.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dladdr.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dladdr.c
|
|
|
bca718 |
@@ -19,7 +19,7 @@
|
|
|
bca718 |
|
|
|
bca718 |
#include <dlfcn.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
int
|
|
|
bca718 |
dladdr (const void *address, Dl_info *info)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dladdr1.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dladdr1.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dladdr1.c
|
|
|
bca718 |
@@ -18,7 +18,7 @@
|
|
|
bca718 |
|
|
|
bca718 |
#include <dlfcn.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
int
|
|
|
bca718 |
dladdr1 (const void *address, Dl_info *info, void **extra, int flags)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dlclose.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dlclose.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dlclose.c
|
|
|
bca718 |
@@ -20,7 +20,7 @@
|
|
|
bca718 |
#include <dlfcn.h>
|
|
|
bca718 |
#include <ldsodefs.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
int
|
|
|
bca718 |
dlclose (void *handle)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dlerror.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dlerror.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dlerror.c
|
|
|
bca718 |
@@ -25,7 +25,7 @@
|
|
|
bca718 |
#include <bits/libc-lock.h>
|
|
|
bca718 |
#include <ldsodefs.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
char *
|
|
|
bca718 |
dlerror (void)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dlinfo.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dlinfo.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dlinfo.c
|
|
|
bca718 |
@@ -21,7 +21,7 @@
|
|
|
bca718 |
#include <ldsodefs.h>
|
|
|
bca718 |
#include <libintl.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
int
|
|
|
bca718 |
dlinfo (void *handle, int request, void *arg)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dlmopen.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dlmopen.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dlmopen.c
|
|
|
bca718 |
@@ -23,7 +23,7 @@
|
|
|
bca718 |
#include <unistd.h>
|
|
|
bca718 |
#include <ldsodefs.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
void *
|
|
|
bca718 |
dlmopen (Lmid_t nsid, const char *file, int mode)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dlopen.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dlopen.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dlopen.c
|
|
|
bca718 |
@@ -22,7 +22,7 @@
|
|
|
bca718 |
#include <unistd.h>
|
|
|
bca718 |
#include <ldsodefs.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
void *
|
|
|
bca718 |
dlopen (const char *file, int mode)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dlsym.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dlsym.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dlsym.c
|
|
|
bca718 |
@@ -21,7 +21,7 @@
|
|
|
bca718 |
|
|
|
bca718 |
#include <ldsodefs.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
void *
|
|
|
bca718 |
dlsym (void *handle, const char *name)
|
|
|
bca718 |
Index: glibc-2.17-c758a686/dlfcn/dlvsym.c
|
|
|
bca718 |
===================================================================
|
|
|
bca718 |
--- glibc-2.17-c758a686.orig/dlfcn/dlvsym.c
|
|
|
bca718 |
+++ glibc-2.17-c758a686/dlfcn/dlvsym.c
|
|
|
bca718 |
@@ -21,7 +21,7 @@
|
|
|
bca718 |
|
|
|
bca718 |
#include <ldsodefs.h>
|
|
|
bca718 |
|
|
|
bca718 |
-#if !defined SHARED && defined IS_IN_libdl
|
|
|
bca718 |
+#if !defined SHARED && IS_IN (libdl)
|
|
|
bca718 |
|
|
|
bca718 |
void *
|
|
|
bca718 |
weak_function
|