about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-11 22:18:24 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-11 22:18:24 +0000
commitd9266ea02f482e39904260d5add5d68c4508de38 (patch)
treef6f6320fd9758d0eebb5c7730edd4a9ab246d41f /Makerules
parent3baf2e9b75d110f47394e41127f8a4983c9d35c3 (diff)
downloadglibc-d9266ea02f482e39904260d5add5d68c4508de38.tar.gz
glibc-d9266ea02f482e39904260d5add5d68c4508de38.tar.xz
glibc-d9266ea02f482e39904260d5add5d68c4508de38.zip
* Makerules: Define build-module-asneeded.
	* iconvdata/extra-module.mk: Use build-module-asneeded.
	needed.

2006-01-09  Richard Henderson  <rth@redhat.com>

	* 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  <drepper@redhat.com>
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules5
1 files changed, 5 insertions, 0 deletions
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