summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-07-15 02:23:26 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-07-15 02:23:26 +0000
commit96a94295f264879774c5c1e175439bd1b09010be (patch)
treeef666e2bcf75061992863f285b1fb9e5a72956f4 /ld
parent1bfdf7771621505b339dd90642850586c6ead3d6 (diff)
downloadbinutils-gdb-96a94295f264879774c5c1e175439bd1b09010be.tar.gz
bfd/
2002-07-14 H.J. Lu <hjl@gnu.org> * 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 <hjl@gnu.org> * ld.texinfo: Document a .symver takes precedence over a version script.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ld.texinfo3
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1f6c5fb46af..a32fefe1e27 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-14 H.J. Lu <hjl@gnu.org>
+
+ * ld.texinfo: Document a .symver takes precedence over a
+ version script.
+
2002-07-12 Alan Modra <amodra@bigpond.net.au>
* emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 36a2877a165..dadc75b726d 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