* 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>.
This commit is contained in:
Ulrich Drepper 2000-09-07 21:34:51 +00:00
parent 21e41c5887
commit e39e69563a
3 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,11 @@
2000-09-07 Ulrich Drepper <drepper@redhat.com> 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>. * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
* sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning. * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.

View File

@ -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 # ld.so uses those routines, plus some special stuff for being the program
# interpreter and operating independent of libc. # interpreter and operating independent of libc.
rtld-routines := rtld $(dl-routines) dl-sysdep dl-environ dl-minimal 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 \ 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 \ dl-cache.h dl-hash.h soinit.c sofini.c ldd.bash.in \

View File

@ -41,6 +41,9 @@ CFLAGS-memcmp.c += -Wno-uninitialized
endif endif
ifeq ($(subdir),elf) ifeq ($(subdir),elf)
# extra shared linker files to link into dl-allobjs.so and libc
sysdep-dl-routines += dl-machine 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 endif