summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2011-10-02 08:33:19 -0400
committerUlrich Drepper <[email protected]>2011-10-02 08:33:19 -0400
commitb4a16cf0c61746e9b2414570e82e0efcfdf1e721 (patch)
treec24e19dbb1ec8be4672647925b0905d58a23d69f /lib
parent0b72b650b173fdf5467b337ff26e97e69daed869 (diff)
Add demangling support to nm
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/system.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index cf776884..a6fec309 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-02 Ulrich Drepper <[email protected]>
+
+ * system.h: Declare __cxa_demangle.
+
2011-07-09 Roland McGrath <[email protected]>
* sha1.c (be64_copy): New function.
diff --git a/lib/system.h b/lib/system.h
index 26954264..8e32c3a1 100644
--- a/lib/system.h
+++ b/lib/system.h
@@ -102,4 +102,9 @@ extern int crc32_file (int fd, uint32_t *resp);
#define ARGP_PROGRAM_BUG_ADDRESS_DEF \
const char *const apba__ __asm ("argp_program_bug_address")
+
+/* The demangler from libstdc++. */
+extern char *__cxa_demangle (const char *mangled_name, char *output_buffer,
+ size_t *length, int *status);
+
#endif /* system.h */