diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2008-04-11 13:06:05 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2008-04-11 13:06:05 +0000 |
commit | b256ffe7d3bff3bc806d64e0ef09b7e8d948d9b9 (patch) | |
tree | 7c72783acd83d705e46df633611736cbdc338218 | |
parent | f4f18b70cd8863c9d76b856c509614fcc18f5870 (diff) |
2008-04-11 Paul Brook <paul@codesourcery.com>eglibc-2_6
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_6@5887 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r-- | ports/ChangeLog.eglibc | 6 | ||||
-rw-r--r-- | ports/sysdeps/arm/eabi/machine-gmon.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ports/ChangeLog.eglibc b/ports/ChangeLog.eglibc index 505b089d8..ba717c069 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;" \ |