diff options
author | Frans Meulenbroeks <fransmeulenbroeks@yahoo.com> | 2006-08-13 17:46:38 +0000 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@yahoo.com> | 2006-08-13 17:46:38 +0000 |
commit | 0706ccdb1ad9bf399f08927096900d210aa60037 (patch) | |
tree | a93c6db475073b0f4a39390fada6bd83d5c0009b /packages/uclibc/uclibc-0.9.28/dl-startup.h.patch | |
parent | 49b9fe3822a50c63c908081249a620a6ae061c78 (diff) |
uclibc: added patch to compile uclibc for thumb; patch is from
http://busybox.net/lists/uclibc-cvs/2006-January/008903.html
Diffstat (limited to 'packages/uclibc/uclibc-0.9.28/dl-startup.h.patch')
-rw-r--r-- | packages/uclibc/uclibc-0.9.28/dl-startup.h.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-0.9.28/dl-startup.h.patch b/packages/uclibc/uclibc-0.9.28/dl-startup.h.patch new file mode 100644 index 0000000000..c4b699f263 --- /dev/null +++ b/packages/uclibc/uclibc-0.9.28/dl-startup.h.patch @@ -0,0 +1,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" |