From d1d5471579eb0426671bf94f2d71e61dfb204c30 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sat, 22 Jun 2013 00:39:42 +0100 Subject: Remove dead DL_DST_REQ_STATIC code. --- elf/dl-dst.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'elf') diff --git a/elf/dl-dst.h b/elf/dl-dst.h index 20b68d9..3ed95d0 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 -- cgit v1.1