From 34c5604814cb97264aa2393800967b0b0e4585cd Mon Sep 17 00:00:00 2001 From: Chung-Lin Tang Date: Thu, 5 Feb 2015 06:19:36 -0800 Subject: Function name typo error in non-PIC case, fixed in this patch. --- ChangeLog | 5 +++++ sysdeps/nios2/machine-gmon.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 50e81535e3..d2051e2832 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-05 Chung-Lin Tang + + * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of + called function in non-PIC case. + 2015-01-31 David S. Miller * sysdeps/sparc/sparc32/bits/atomic.h diff --git a/sysdeps/nios2/machine-gmon.h b/sysdeps/nios2/machine-gmon.h index 1f0ea8ff70..039d25367e 100644 --- a/sysdeps/nios2/machine-gmon.h +++ b/sysdeps/nios2/machine-gmon.h @@ -35,7 +35,7 @@ static void __attribute_used__ __mcount_internal (u_long frompc, u_long selfpc) "callr r2\n\t" #else #define NIOS2_MCOUNT_CALL \ - "call\tmcount_internal\n\t" + "call\t__mcount_internal\n\t" #endif #define MCOUNT \ -- cgit 1.4.1