diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-07-15 02:23:26 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-07-15 02:23:26 +0000 |
commit | 96a94295f264879774c5c1e175439bd1b09010be (patch) | |
tree | ef666e2bcf75061992863f285b1fb9e5a72956f4 /ld/ld.texinfo | |
parent | 1bfdf7771621505b339dd90642850586c6ead3d6 (diff) | |
download | gdb-96a94295f264879774c5c1e175439bd1b09010be.zip gdb-96a94295f264879774c5c1e175439bd1b09010be.tar.gz gdb-96a94295f264879774c5c1e175439bd1b09010be.tar.bz2 |
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/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 3 |
1 files changed, 2 insertions, 1 deletions
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 |