From d9266ea02f482e39904260d5add5d68c4508de38 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 11 Jan 2006 22:18:24 +0000 Subject: * Makerules: Define build-module-asneeded. * iconvdata/extra-module.mk: Use build-module-asneeded. needed. 2006-01-09 Richard Henderson * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so. * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE. * sysdeps/alpha/setjmp.S: Likewise. Avoid __sigjmp_save for rtld; tailcall in libc.so. * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define. (PTR_MANGLE2): Define. 2006-01-11 Ulrich Drepper --- Makerules | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makerules') diff --git a/Makerules b/Makerules index 36e2441be0..027beef31b 100644 --- a/Makerules +++ b/Makerules @@ -572,6 +572,11 @@ define build-module $(build-module-helper) -o $@ -T $(common-objpfx)shlib.lds \ $(csu-objpfx)abi-note.o $(build-module-objlist) endef +define build-module-asneeded +$(build-module-helper) -o $@ -T $(common-objpfx)shlib.lds \ + $(csu-objpfx)abi-note.o \ + -Wl,--as-needed $(build-module-objlist) -Wl,--no-as-needed +endef else ifneq (,$(findstring aix,$(config-os))) define build-module -- cgit v1.2.3