summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-03-08 17:52:13 +0000
committerUlrich Drepper <drepper@redhat.com>2008-03-08 17:52:13 +0000
commit368a8dec0ae2209be167daea8034646abcba220d (patch)
treea3b5dd92e75aeb0caf10597c12ef915fb1d25e0f /sysdeps/unix/sysv
parent7c22c7ec9a8170f3d1006ddf21d74cd9d2316332 (diff)
* sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code for
.o file. * elf/Makefile (routines): Add dl-sysdep. (elide-routines.os): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/dl-sysdep.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-sysdep.c b/sysdeps/unix/sysv/linux/dl-sysdep.c
index d4be205cde..08ae9aa86d 100644
--- a/sysdeps/unix/sysv/linux/dl-sysdep.c
+++ b/sysdeps/unix/sysv/linux/dl-sysdep.c
@@ -27,7 +27,8 @@
#include <ldsodefs.h>
#include <kernel-features.h>
-#define DL_SYSDEP_INIT frob_brk ()
+#ifdef SHARED
+# define DL_SYSDEP_INIT frob_brk ()
static inline void
frob_brk (void)
@@ -56,7 +57,8 @@ frob_brk (void)
#endif
}
-#include <elf/dl-sysdep.c>
+# include <elf/dl-sysdep.c>
+#endif
int