about summary refs log tree commit diff
path: root/elf/dl-dst.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-dst.h')
-rw-r--r--elf/dl-dst.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/elf/dl-dst.h b/elf/dl-dst.h
index 20b68d90b6..3ed95d02d5 100644
--- a/elf/dl-dst.h
+++ b/elf/dl-dst.h
@@ -55,7 +55,6 @@
 	   First get the origin string if it is not available yet.	      \
 	   This can only happen for the map of the executable or, when	      \
 	   auditing, in ld.so.  */					      \
-	DL_DST_REQ_STATIC (l)						      \
 	if ((l)->l_origin == NULL)					      \
 	  {								      \
 	    assert ((l)->l_name[0] == '\0' || IS_RTLD (l));		      \
@@ -73,15 +72,3 @@
       }									      \
 									      \
     __len; })
-
-#ifdef SHARED
-# define DL_DST_REQ_STATIC(l) /* nothing */
-#else
-# define DL_DST_REQ_STATIC(l) \
-  if ((l) == NULL)							      \
-    {									      \
-      const char *origin = _dl_get_origin ();				      \
-      dst_len = (origin && origin != (char *) -1 ? strlen (origin) : 0);      \
-    }									      \
-  else
-#endif