aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-07 21:34:51 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-07 21:34:51 +0000
commite39e69563a5046efc5ffb0385364fb0bc1095c43 (patch)
treec0235d22ea708184355fdde85afcddc2ee19e196
parent21e41c58872fec4ea9d7b21807bcc242337b1e2c (diff)
downloadglibc-e39e69563a5046efc5ffb0385364fb0bc1095c43.tar
glibc-e39e69563a5046efc5ffb0385364fb0bc1095c43.tar.gz
glibc-e39e69563a5046efc5ffb0385364fb0bc1095c43.tar.bz2
glibc-e39e69563a5046efc5ffb0385364fb0bc1095c43.zip
Update.
* elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines) too. * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable. (sysdep_routines): Remove dl-start. Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
-rw-r--r--ChangeLog6
-rw-r--r--elf/Makefile2
-rw-r--r--sysdeps/powerpc/Makefile5
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 356e51fb60..d1231a7dac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2000-09-07 Ulrich Drepper <drepper@redhat.com>
+ * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
+ too.
+ * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
+ (sysdep_routines): Remove dl-start.
+ Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
+
* assert/__assert.c: Undefine NDEBUG before include <assert.h>.
* sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
diff --git a/elf/Makefile b/elf/Makefile
index ab71adf3c2..2932183028 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -36,7 +36,7 @@ elide-routines.os = $(all-dl-routines) dl-support enbl-secure
# ld.so uses those routines, plus some special stuff for being the program
# interpreter and operating independent of libc.
rtld-routines := rtld $(dl-routines) dl-sysdep dl-environ dl-minimal
-all-rtld-routines = $(rtld-routines) $(sysdep-dl-routines)
+all-rtld-routines = $(rtld-routines) $(sysdep-rtld-routines)
distribute := $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
dl-cache.h dl-hash.h soinit.c sofini.c ldd.bash.in \
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile
index 67ea942c94..ef5d33eaf9 100644
--- a/sysdeps/powerpc/Makefile
+++ b/sysdeps/powerpc/Makefile
@@ -41,6 +41,9 @@ CFLAGS-memcmp.c += -Wno-uninitialized
endif
ifeq ($(subdir),elf)
+# extra shared linker files to link into dl-allobjs.so and libc
sysdep-dl-routines += dl-machine
-sysdep_routines += dl-machine dl-start
+sysdep_routines += dl-machine
+# extra shared linker files to link only into dl-allobjs.so
+sysdep-rtld-routines += dl-machine dl-start
endif