aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-21 22:40:24 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-21 22:40:24 +0000
commit1a379ea0c7adae02b4cd08410a5204e8b725064d (patch)
treeb5698d6ee668aa1a6397a944d7d2f929d0c66fc2 /Makerules
parentca86a763669147f4312d877b322737feb6ff7a3a (diff)
downloadglibc-1a379ea0c7adae02b4cd08410a5204e8b725064d.tar
glibc-1a379ea0c7adae02b4cd08410a5204e8b725064d.tar.gz
glibc-1a379ea0c7adae02b4cd08410a5204e8b725064d.tar.bz2
glibc-1a379ea0c7adae02b4cd08410a5204e8b725064d.zip
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.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 18f276ece5..56fcf29d3c 100644
--- a/Makerules
+++ b/Makerules
@@ -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)