summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-31 01:32:33 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-31 01:32:33 +0000
commit1bb5e5dea2d0328f15801525247f4c4930a001a2 (patch)
tree4537118480a60d185d0a549c8b15d8f82d31455d /ldso
parentfa30ad140d5f298befc3c59524a4640c8022c705 (diff)
John Bowler says: use (!thumb) instead of (arm) since thumb defines arm
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/arm/dl-startup.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/arm/dl-startup.h b/ldso/ldso/arm/dl-startup.h
index fa7c9651e..f40d47f48 100644
--- a/ldso/ldso/arm/dl-startup.h
+++ b/ldso/ldso/arm/dl-startup.h
@@ -4,8 +4,8 @@
* Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
*/
-#if defined(__arm__)
-asm(
+#if !defined(__thumb__)
+__asm__(
" .text\n"
" .globl _start\n"
" .type _start,%function\n"
@@ -57,7 +57,7 @@ asm(
".previous\n"
);
#else
-asm(
+__asm__(
" .text\n"
" .arm\n"
" .globl _start\n"