diff options
author | maxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-06-26 11:00:47 +0000 |
---|---|---|
committer | maxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-06-26 11:00:47 +0000 |
commit | f9f7cb825fff4924ec283efd84ecb0a6977fb0af (patch) | |
tree | 462660f11c5c94f0681c331b099a3743a6ae88e3 /libc/extra-lib.mk | |
parent | 005f335b4d902ebdf18187d713d58260ddc124e0 (diff) |
Make --disable-versioning work.
* scripts/versions.awk (versioning): New parameter, don't output
version information if it is defined to 'no'.
* include/shlib-compat.h (IS_IN_libc, versioned_symbol),
(versioned_symbol_1): Define when !DO_VERSIONING.
(invisible_compat_symbol): Define, instead of compat_symbol when
appropriate.
* include/libc-symbols.h (default_symbol_version): Define when
!DO_VERSIONING.
(versioned_weak): Define.
* Makerules: Generate version maps when !DO_VERSIONING to properly
set symbol binding.
(abi_versions_file): Define, use instead of abi-versions.h.
(libc_gcclibs): Define, link against libgcc_eh when !DO_VERSIONING.
* extra-lib.mk, elf/Makefile: Update, handle --disable-versioning.
* elf/do-rel.h: Handle !DO_VERSIONING.
* sysdeps/powerpc/powerpc32/dl-machine.c: Don't error when
!DO_VERSIONING.
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Define stuff when
!DO_VERSIONING.
* nptl/pthread_kill_other_threads.c (compat_symbol): Surround with
ifdef DO_VERSIONING.
* sysdeps/wordsize-32/divdi3.c: Use invisible_compat_symbol.
* nptl/Makefile (tst-_res1): Disable test when !DO_VERSIONING.
* sysdeps/powerpc/longjmp.c (_longjmp, longjmp, siglongjmp): Update.
* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_weak_alias): Update.
* sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (__isinfl): Update.
* sysdeps/ieee754/ldbl-128ibm/s_finitel.c (finitel): Update.
* sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (__isnanl): Update.
* sysdeps/ieee754/ldbl-128ibm/strtold_l.c (wcstold_l, strtold_l):
Update.
git-svn-id: svn://svn.eglibc.org/trunk@8608 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/extra-lib.mk')
-rw-r--r-- | libc/extra-lib.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/extra-lib.mk b/libc/extra-lib.mk index b2a2fe60b..1bbeb47fe 100644 --- a/libc/extra-lib.mk +++ b/libc/extra-lib.mk @@ -87,13 +87,13 @@ $(objpfx)$(patsubst %,$(libtype.oS),$(lib:lib%=%)): \ $(build-extra-lib) endif -ifeq ($(versioning),yes) +# eglibc: ifeq ($(versioning),yes) # Add the version script to the dependencies of the shared library. $(objpfx)$(lib).so: $(firstword $($(lib)-map) \ $(addprefix $(common-objpfx), \ $(filter $(lib).map, \ $(version-maps)))) -endif +# eglibc: endif endif |