summaryrefslogtreecommitdiff
path: root/elf
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 /elf
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 'elf')
-rw-r--r--elf/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 4230b55df6..2dd2424b28 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 1995-2007, 2008 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -23,7 +23,7 @@ subdir := elf
headers = elf.h bits/elfclass.h link.h bits/link.h
routines = $(dl-routines) dl-support dl-iteratephdr \
dl-addr enbl-secure dl-profstub \
- dl-origin dl-libc dl-sym dl-tsd
+ dl-origin dl-libc dl-sym dl-tsd dl-sysdep
# The core dynamic linking functions are in libc for the static and
# profiled libraries.
@@ -33,7 +33,8 @@ dl-routines = $(addprefix dl-,load cache lookup object reloc deps \
execstack caller open close trampoline)
all-dl-routines = $(dl-routines) $(sysdep-dl-routines)
# But they are absent from the shared libc, because that code is in ld.so.
-elide-routines.os = $(all-dl-routines) dl-support enbl-secure dl-origin
+elide-routines.os = $(all-dl-routines) dl-support enbl-secure dl-origin \
+ dl-sysdep
shared-only-routines += dl-caller
# ld.so uses those routines, plus some special stuff for being the program