diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-03-08 17:52:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-03-08 17:52:13 +0000 |
commit | 368a8dec0ae2209be167daea8034646abcba220d (patch) | |
tree | a3b5dd92e75aeb0caf10597c12ef915fb1d25e0f /sysdeps/unix | |
parent | 7c22c7ec9a8170f3d1006ddf21d74cd9d2316332 (diff) | |
download | glibc-368a8dec0ae2209be167daea8034646abcba220d.tar.gz glibc-368a8dec0ae2209be167daea8034646abcba220d.tar.xz glibc-368a8dec0ae2209be167daea8034646abcba220d.zip |
* 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')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-sysdep.c | 6 |
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 |