From 368a8dec0ae2209be167daea8034646abcba220d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper <drepper@redhat.com> Date: Sat, 8 Mar 2008 17:52:13 +0000 Subject: * sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code for .o file. * elf/Makefile (routines): Add dl-sysdep. (elide-routines.os): Likewise. --- sysdeps/unix/sysv/linux/dl-sysdep.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv') 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 -- cgit v1.2.3-70-g09d2