summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/libelftc
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-05-14 19:48:15 +0000
committeremaste <emaste@FreeBSD.org>2015-05-14 19:48:15 +0000
commita4c24f2588a858878b30f781ab7780f8a7565dec (patch)
tree68f789ad3decb5c1b82f63186eaf665cb84861ee /contrib/elftoolchain/libelftc
parent01699072e4f2583fa587d2aea44d8062f228b9cd (diff)
downloadFreeBSD-src-a4c24f2588a858878b30f781ab7780f8a7565dec.zip
FreeBSD-src-a4c24f2588a858878b30f781ab7780f8a7565dec.tar.gz
Update to ELF Tool Chain r3197
Highlights: - Fix man page markup, whitespace, and typos - Fix sh_info of SHT_GROUP section to point to the correct string - Improve validation in readelf and elfcopy/strip - Handle DWARF 4's DW_AT_high_pc in addr2line Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/elftoolchain/libelftc')
-rw-r--r--contrib/elftoolchain/libelftc/elftc_demangle.34
-rw-r--r--contrib/elftoolchain/libelftc/elftc_symbol_table_create.34
-rw-r--r--contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/contrib/elftoolchain/libelftc/elftc_demangle.3 b/contrib/elftoolchain/libelftc/elftc_demangle.3
index bbe67e5..44cf007 100644
--- a/contrib/elftoolchain/libelftc/elftc_demangle.3
+++ b/contrib/elftoolchain/libelftc/elftc_demangle.3
@@ -21,7 +21,7 @@
.\" out of the use of this software, even if advised of the possibility of
.\" such damage.
.\"
-.\" $Id: elftc_demangle.3 2065 2011-10-26 15:24:47Z jkoshy $
+.\" $Id: elftc_demangle.3 3182 2015-04-10 16:08:10Z emaste $
.\"
.Dd August 24, 2011
.Os
@@ -88,7 +88,7 @@ To decode a name that uses an unknown encoding style use:
.Bd -literal -offset indent
char buffer[1024];
const char *funcname;
-
+
funcname = ...; /* points to string to be demangled */
if (elftc_demangle(funcname, buffer, sizeof(buffer), 0) == 0)
printf("Demangled name: %\\n", buffer);
diff --git a/contrib/elftoolchain/libelftc/elftc_symbol_table_create.3 b/contrib/elftoolchain/libelftc/elftc_symbol_table_create.3
index 3ff2c35..76f90e9 100644
--- a/contrib/elftoolchain/libelftc/elftc_symbol_table_create.3
+++ b/contrib/elftoolchain/libelftc/elftc_symbol_table_create.3
@@ -21,7 +21,7 @@
.\" out of the use of this software, even if advised of the possibility of
.\" such damage.
.\"
-.\" $Id: elftc_symbol_table_create.3 2825 2012-12-29 14:25:33Z jkoshy $
+.\" $Id: elftc_symbol_table_create.3 3182 2015-04-10 16:08:10Z emaste $
.\"
.Dd December 29, 2012
.Os
@@ -224,7 +224,7 @@ should point to a location that will be updated with one of
the following values:
.Bl -tag -width indent -compact -offset indent
.It Dv ELFTC_INSERT_ERROR
-An error occured during insertion of the symbol.
+An error occurred during insertion of the symbol.
.It Dv ELFTC_INSERT_EXISTING
The name in argument
.Ar symbolname
diff --git a/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c b/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c
index 05a6302..1cdb0e7 100644
--- a/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c
+++ b/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c
@@ -36,7 +36,7 @@
#include "_libelftc.h"
-ELFTC_VCSID("$Id: libelftc_dem_gnu3.c 3123 2014-12-21 05:46:19Z kaiwang27 $");
+ELFTC_VCSID("$Id: libelftc_dem_gnu3.c 3194 2015-05-05 17:55:16Z emaste $");
/**
* @file cpp_demangle.c
@@ -316,7 +316,7 @@ cpp_demangle_push_fp(struct cpp_demangle_data *ddata,
rtn = 0;
if ((len = strlen(f)) > 0)
- rtn = cpp_demangle_push_str(ddata, f, len);
+ rtn = cpp_demangle_push_str(ddata, f, len);
free(f);
OpenPOWER on IntegriCloud