summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-04-11 13:06:30 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-04-11 13:06:30 +0000
commitbb90e172dc49c6058fd54e5f236d7b51b5ffe2d1 (patch)
tree2bc0d67ac05cc8747a4ba16bf3a85c8afe58b16b
parentedb33c7abd4ec30b9cc1c47fff28c6276d193ea6 (diff)
downloadeglibc2-bb90e172dc49c6058fd54e5f236d7b51b5ffe2d1.tar.gz
2008-04-11 Paul Brook <paul@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com> * sysdeps/arm/eabi/machine-gmon.h (_mcount): Make the thumb2 version compile without error. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_5@5888 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r--ports/ChangeLog.eglibc6
-rw-r--r--ports/sysdeps/arm/eabi/machine-gmon.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/ports/ChangeLog.eglibc b/ports/ChangeLog.eglibc
index 4c561d5ac..699e193c2 100644
--- a/ports/ChangeLog.eglibc
+++ b/ports/ChangeLog.eglibc
@@ -1,4 +1,10 @@
2008-04-11 Paul Brook <paul@codesourcery.com>
+ Sandra Loosemore <sandra@codesourcery.com>
+
+ * sysdeps/arm/eabi/machine-gmon.h (_mcount): Make the thumb2
+ version compile without error.
+
+2008-04-11 Paul Brook <paul@codesourcery.com>
* sysdeps/arm/eabi/Versions: Add __gnu_mcount_nc.
diff --git a/ports/sysdeps/arm/eabi/machine-gmon.h b/ports/sysdeps/arm/eabi/machine-gmon.h
index 9a819b853..ac700ca43 100644
--- a/ports/sysdeps/arm/eabi/machine-gmon.h
+++ b/ports/sysdeps/arm/eabi/machine-gmon.h
@@ -70,6 +70,7 @@ void __attribute__((__naked__)) _mcount (void) \
{ \
__asm__("push {r0, r1, r2, r3, fp, lr};" \
"movs r0, fp;" \
+ "ittt ne;" \
"ldrne r0, [r0, #-4];" \
"movsne r1, lr;" \
"blne mcount_internal;" \