mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
Update.
2003-07-21 Ulrich Drepper <drepper@redhat.com> * Makerules (build-module-helper): Add -z defs unless explicitly said not to do it. * dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs which has undefined symbols. * elf/Makefile: Likewise.
This commit is contained in:
parent
ca86a76366
commit
1a379ea0c7
@ -1,3 +1,11 @@
|
||||
2003-07-21 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* Makerules (build-module-helper): Add -z defs unless explicitly said
|
||||
not to do it.
|
||||
* dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs
|
||||
which has undefined symbols.
|
||||
* elf/Makefile: Likewise.
|
||||
|
||||
2003-07-21 HJ Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf/ldconfig.c (search_dir): Treat symlink as regular file
|
||||
|
@ -521,6 +521,7 @@ endef
|
||||
else
|
||||
define build-module-helper
|
||||
$(LINK.o) -shared $(static-libgcc) $(sysdep-LDFLAGS) $(config-LDFLAGS) \
|
||||
$(if $($(@F)-no-z-defs)$(no-z-defs),,-Wl,-z,defs) \
|
||||
-B$(csu-objpfx) $(load-map-file) \
|
||||
$(LDFLAGS.so) $(LDFLAGS-$(@F:%.so=%).so) \
|
||||
-L$(subst :, -L,$(rpath-link)) -Wl,-rpath-link=$(rpath-link)
|
||||
|
@ -47,6 +47,10 @@ modules-names = glreflib1 glreflib2 failtestmod defaultmod1 defaultmod2 \
|
||||
errmsg1mod modatexit modcxaatexit \
|
||||
bug-dlsym1-lib1 bug-dlsym1-lib2
|
||||
|
||||
failtestmod.so-no-z-defs = yes
|
||||
glreflib2.so-no-z-defs = yes
|
||||
errmsg1mod.so-no-z-defs = yes
|
||||
|
||||
ifeq (yesyesyes,$(build-static)$(build-shared)$(elf))
|
||||
tests += tststatic
|
||||
tests-static += tststatic
|
||||
|
37
elf/Makefile
37
elf/Makefile
@ -335,7 +335,8 @@ $(objpfx)sprof: $(libdl)
|
||||
|
||||
$(objpfx)ldconfig: $(ldconfig-modules:%=$(objpfx)%.o)
|
||||
SYSCONF-FLAGS := -D'SYSCONFDIR="$(sysconfdir)"'
|
||||
CFLAGS-ldconfig.c = $(SYSCONF-FLAGS) -D'LIBDIR="$(libdir)"' -D'SLIBDIR="$(slibdir)"'
|
||||
CFLAGS-ldconfig.c = $(SYSCONF-FLAGS) -D'LIBDIR="$(libdir)"' \
|
||||
-D'SLIBDIR="$(slibdir)"'
|
||||
CFLAGS-dl-cache.c = $(SYSCONF-FLAGS)
|
||||
CFLAGS-cache.c = $(SYSCONF-FLAGS)
|
||||
|
||||
@ -399,6 +400,40 @@ $(objpfx)reldep9mod3.so: $(objpfx)reldep9mod1.so $(objpfx)reldep9mod2.so
|
||||
LDFLAGS-tst-tlsmod5.so = -nostdlib
|
||||
LDFLAGS-tst-tlsmod6.so = -nostdlib
|
||||
|
||||
testobj1.so-no-z-defs = yes
|
||||
testobj3.so-no-z-defs = yes
|
||||
testobj4.so-no-z-defs = yes
|
||||
testobj5.so-no-z-defs = yes
|
||||
testobj6.so-no-z-defs = yes
|
||||
failobj.so-no-z-defs = yes
|
||||
constload2.so-no-z-defs = yes
|
||||
constload3.so-no-z-defs = yes
|
||||
nodelmod1.so-no-z-defs = yes
|
||||
nodelmod2.so-no-z-defs = yes
|
||||
nodelmod4.so-no-z-defs = yes
|
||||
nodel2mod2.so-no-z-defs = yes
|
||||
reldepmod2.so-no-z-defs = yes
|
||||
reldepmod3.so-no-z-defs = yes
|
||||
reldepmod4.so-no-z-defs = yes
|
||||
reldep4mod4.so-no-z-defs = yes
|
||||
reldep4mod2.so-no-z-defs = yes
|
||||
ltglobmod2.so-no-z-defs = yes
|
||||
dblloadmod3.so-no-z-defs = yes
|
||||
tst-tlsmod1.so-no-z-defs = yes
|
||||
tst-tlsmod2.so-no-z-defs = yes
|
||||
tst-tlsmod3.so-no-z-defs = yes
|
||||
tst-tlsmod4.so-no-z-defs = yes
|
||||
tst-tlsmod7.so-no-z-defs = yes
|
||||
tst-tlsmod8.so-no-z-defs = yes
|
||||
tst-tlsmod9.so-no-z-defs = yes
|
||||
tst-tlsmod10.so-no-z-defs = yes
|
||||
tst-tlsmod12.so-no-z-defs = yes
|
||||
circlemod2.so-no-z-defs = yes
|
||||
circlemod3.so-no-z-defs = yes
|
||||
circlemod3a.so-no-z-defs = yes
|
||||
reldep8mod2.so-no-z-defs = yes
|
||||
reldep9mod1.so-no-z-defs = yes
|
||||
|
||||
# filtmod1.so has a special rule
|
||||
$(filter-out $(objpfx)filtmod1.so, $(test-modules)): $(objpfx)%.so: $(objpfx)%.os
|
||||
$(build-module)
|
||||
|
@ -1,3 +1,8 @@
|
||||
2003-07-21 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* Makefile: Define various *-no-z-defs variables for test DSOs
|
||||
which has undefined symbols.
|
||||
|
||||
2003-07-21 Steven Munroe <sjmunroe@us.ibm.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
|
||||
|
@ -258,6 +258,9 @@ extra-objs += $(addsuffix .os,$(strip $(modules-names)))
|
||||
test-extras += $(modules-names)
|
||||
test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
|
||||
|
||||
tst-atfork2mod.so-no-z-defs = yes
|
||||
tst-tls3mod.so-no-z-defs = yes
|
||||
|
||||
$(test-modules): $(objpfx)%.so: $(objpfx)%.os $(common-objpfx)shlib.lds
|
||||
$(build-module)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user