aboutsummaryrefslogtreecommitdiff
path: root/libgloss/arm
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-08-24 23:07:15 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-08-24 23:07:15 +0000
commitd82b4a993b5d446980a19cde21103648bc84e9c3 (patch)
tree8b1eefdbaf49d96e0896b6b9a4e6a1790ad3ed35 /libgloss/arm
parent1fa66a83d11a56874aa94125a724baef2bec66aa (diff)
downloadnewlib-d82b4a993b5d446980a19cde21103648bc84e9c3.zip
newlib-d82b4a993b5d446980a19cde21103648bc84e9c3.tar.gz
newlib-d82b4a993b5d446980a19cde21103648bc84e9c3.tar.bz2
2006-08-24 Paul Brook <paul@codesourcery.com>
* arm/linux-crt0.c: Disable Arm stub for Thumb-2.
Diffstat (limited to 'libgloss/arm')
-rw-r--r--libgloss/arm/linux-crt0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/arm/linux-crt0.c b/libgloss/arm/linux-crt0.c
index 29f317f..1fe2499 100644
--- a/libgloss/arm/linux-crt0.c
+++ b/libgloss/arm/linux-crt0.c
@@ -11,7 +11,7 @@
static int _main(int argc, char *argv[]) __attribute__((noreturn));
-#if __thumb__
+#if __thumb__ && !__thumb2__
asm("\n"
".code 32\n"
".global _start\n"