summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-04-11 13:04:55 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2008-04-11 13:04:55 +0000
commit29888bcfdf080afd1ccbe11b7939b17a9eb5d9bf (patch)
tree57fc9fb2edf73ccc72eaaa2a1406185df8c72090 /ports
parent49358e4a582228b7287746ac682717d3f1fea37e (diff)
downloadeglibc2-29888bcfdf080afd1ccbe11b7939b17a9eb5d9bf.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/trunk@5885 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'ports')
-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 ff82c4273..cbd89226d 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 d488aefdf..189a9a3c6 100644
--- a/ports/sysdeps/arm/eabi/machine-gmon.h
+++ b/ports/sysdeps/arm/eabi/machine-gmon.h
@@ -75,6 +75,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;" \