aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ld.texinfo7
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 80bcd25..24d2cfd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-20 Mike Frysinger <vapier@gentoo.org>
+
+ * ld.texinfo (VERSION): Remove "int" from example script and add ";".
+ Declare the default language as C.
+
2010-07-17 Alan Modra <amodra@gmail.com>
* ldlang.c (lang_check_section_addresses): Catch overlap for
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 808f295..8928350 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -4910,8 +4910,8 @@ VERS_2.0 @{
bar1; bar2;
extern "C++" @{
ns::*;
- "int f(int, double)";
- @}
+ "f(int, double)";
+ @};
@} VERS_1.2;
@end smallexample
@@ -5036,7 +5036,8 @@ VERSION extern "lang" @{ version-script-commands @}
The supported @samp{lang}s are @samp{C}, @samp{C++}, and @samp{Java}.
The linker will iterate over the list of symbols at the link time and
demangle them according to @samp{lang} before matching them to the
-patterns specified in @samp{version-script-commands}.
+patterns specified in @samp{version-script-commands}. The default
+@samp{lang} is @samp{C}.
Demangled names may contains spaces and other special characters. As
described above, you can use a glob pattern to match demangled names,