summaryrefslogtreecommitdiff
path: root/recipes/uclibc/uclibc-0.9.28/dl-startup.h.patch
blob: c4b699f26344dba060c93b71bb5de5be380190ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- uClibc-0.9.28/ldso/ldso/arm/dl-startup.h-	2006-08-13 18:56:40.000000000 +0200
+++ uClibc-0.9.28/ldso/ldso/arm/dl-startup.h	2006-08-13 18:56:58.000000000 +0200
@@ -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 @@
 	".previous\n"
 );
 #else
-asm(
+__asm__(
     "	.text\n"
     "	.arm\n"
     "	.globl	_start\n"