From 96a94295f264879774c5c1e175439bd1b09010be Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 15 Jul 2002 02:23:26 +0000 Subject: bfd/ 2002-07-14 H.J. Lu * elflink.h (elf_link_assign_sym_version): Hide the default definition if there is a hidden versioned definition. ld/ 2002-07-14 H.J. Lu * ld.texinfo: Document a .symver takes precedence over a version script. --- ld/ChangeLog | 5 +++++ ld/ld.texinfo | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 1f6c5fb..a32fefe 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-07-14 H.J. Lu + + * ld.texinfo: Document a .symver takes precedence over a + version script. + 2002-07-12 Alan Modra * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 36a2877..dadc75b 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -3762,7 +3762,8 @@ __asm__(".symver original_foo,foo@@VERS_1.1"); in the C source file. This renames the function @samp{original_foo} to be an alias for @samp{foo} bound to the version node @samp{VERS_1.1}. The @samp{local:} directive can be used to prevent the symbol -@samp{original_foo} from being exported. +@samp{original_foo} from being exported. A @samp{.symver} directive +takes precedence over a version script. The second GNU extension is to allow multiple versions of the same function to appear in a given shared library. In this way you can make -- cgit v1.1