This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libgo patch committed: Update for libbacktrace change
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Tue, 19 Nov 2013 07:02:28 -0800
- Subject: libgo patch committed: Update for libbacktrace change
- Authentication-results: sourceware.org; auth=none
This patch to libgo updates the use of the libbacktrace library for the
recent addition of a size argument to the syminfo callback.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.
Ian
diff -r 923fd178d72b libgo/runtime/go-caller.c
--- a/libgo/runtime/go-caller.c Tue Nov 19 06:58:17 2013 -0800
+++ b/libgo/runtime/go-caller.c Tue Nov 19 07:00:09 2013 -0800
@@ -135,7 +135,7 @@
static void
syminfo_callback (void *data, uintptr_t pc __attribute__ ((unused)),
const char *symname __attribute__ ((unused)),
- uintptr_t address)
+ uintptr_t address, uintptr_t size __attribute__ ((unused)))
{
uintptr_t *pval = (uintptr_t *) data;