summary refs log tree commit diff
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2015-02-05 06:19:36 -0800
committerChung-Lin Tang <cltang@codesourcery.com>2015-02-05 06:19:36 -0800
commit34c5604814cb97264aa2393800967b0b0e4585cd (patch)
tree4b6457f9707559ec9f503993030cbc2540e1c9d4
parentedac0a60c7514b8c9b59488cffdac6b22267e757 (diff)
downloadglibc-34c5604814cb97264aa2393800967b0b0e4585cd.tar.gz
glibc-34c5604814cb97264aa2393800967b0b0e4585cd.tar.xz
glibc-34c5604814cb97264aa2393800967b0b0e4585cd.zip
Function name typo error in non-PIC case, fixed in this patch.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/nios2/machine-gmon.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 50e81535e3..d2051e2832 100644
--- 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
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						\