aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-20 09:42:04 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-20 09:42:04 +0000
commit5d003fb2ea209009d1054cc924986f0ba46f1e8e (patch)
treed5ce0de17ee3a1a6cf11018a3fd440fa069897e5 /elf
parent0ed91d50eeb5abdccf46d40d42c3a35c6694bc49 (diff)
downloadglibc-5d003fb2ea209009d1054cc924986f0ba46f1e8e.tar
glibc-5d003fb2ea209009d1054cc924986f0ba46f1e8e.tar.gz
glibc-5d003fb2ea209009d1054cc924986f0ba46f1e8e.tar.bz2
glibc-5d003fb2ea209009d1054cc924986f0ba46f1e8e.zip
Update.
1999-01-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.d): Fix generation of dependency list to make it work with newer versions of gcc. 1999-01-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * Makerules (build-module): New macro, moved from... * elf/Makefile (build-module): ... here. * iconvdata/Makefile (build-module): ... and here.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/elf/Makefile b/elf/Makefile
index c46c22933b..f79a312dcf 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -202,18 +202,6 @@ else
$(objpfx)sprof: $(objpfx)libdl.a
endif
-# This macro is similar to build-shlib but it does not define a soname
-# and it does not depend on the destination name to start with `lib'.
-define build-module
-$(LINK.o) -shared -o $@ $(sysdep-LDFLAGS) $(config-LDFLAGS) \
- -B$(csu-objpfx) $(load-map-file) \
- $(LDFLAGS.so) $(LDFLAGS-$(@F:%.so=%).so) \
- -L$(subst :, -L,$(rpath-link)) -Wl,-rpath-link=$(rpath-link) \
- -Wl,--whole-archive -Wl,-soname,$(@F) \
- $(filter-out $(map-file) $(+preinit) $(+postinit),$^) \
- $(no-whole-archive) $(LDLIBS-$(@F:%.so=%).so)
-endef
-
modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
testobj1_1
test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))