Function name typo error in non-PIC case, fixed in this patch.
authorChung-Lin Tang <cltang@codesourcery.com>
Thu, 5 Feb 2015 14:19:36 +0000 (06:19 -0800)
committerChung-Lin Tang <cltang@codesourcery.com>
Thu, 5 Feb 2015 14:19:36 +0000 (06:19 -0800)
ChangeLog
sysdeps/nios2/machine-gmon.h

index 50e8153..d2051e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
+       called function in non-PIC case.
+
 2015-01-31  David S. Miller  <davem@davemloft.net>
 
        * sysdeps/sparc/sparc32/bits/atomic.h
index 1f0ea8f..039d253 100644 (file)
@@ -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                                         \