aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-14 04:24:33 +0000
committerAlan Modra <amodra@gmail.com>2002-02-14 04:24:33 +0000
commit313e35ee7c86c3b28c3c189e463a3de14d7ac2e9 (patch)
tree6e59deb8ded9fb75de5f43951712e47d9fd4150c /ld/ld.texinfo
parent1e30956ea4c60a31e6612403c496d1be0d549756 (diff)
downloadfsf-binutils-gdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.zip
fsf-binutils-gdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.tar.gz
fsf-binutils-gdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.tar.bz2
* ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
* ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; the pattern in question is not a regexp. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo9
1 files changed, 6 insertions, 3 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index b7c289a..6665b3f 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1,7 +1,7 @@
\input texinfo
@setfilename ld.info
@c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-@c 2001 Free Software Foundation, Inc.
+@c 2001, 2002 Free Software Foundation, Inc.
@syncodeindex ky cp
@include configdoc.texi
@c (configdoc.texi is generated by the Makefile)
@@ -58,7 +58,7 @@ END-INFO-DIR-ENTRY
This file documents the @sc{gnu} linker LD version @value{VERSION}.
Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000,
-2001 Free Software Foundation, Inc.
+2001, 2002 Free Software Foundation, Inc.
@ignore
@@ -3672,7 +3672,10 @@ This example version script defines three version nodes. The first
version node defined is @samp{VERS_1.1}; it has no other dependencies.
The script binds the symbol @samp{foo1} to @samp{VERS_1.1}. It reduces
a number of symbols to local scope so that they are not visible outside
-of the shared library.
+of the shared library; this is done using wildcard patterns, so that any
+symbol whose name begins with @samp{old}, @samp{original}, or @samp{new}
+is matched. The wildcard patterns available are the same as those used
+in the shell when matching filenames (also known as ``globbing'').
Next, the version script defines node @samp{VERS_1.2}. This node
depends upon @samp{VERS_1.1}. The script binds the symbol @samp{foo2}