summaryrefslogtreecommitdiffstats
path: root/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-internal_function-definition.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-14 01:18:44 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-14 01:18:44 +0000
commit54566e6f90dbe5ca89a7d8ddb5843ea406bc3cc4 (patch)
tree1cc2f47d0e0d4ed361525db43a3652022ce4e5bd /meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-internal_function-definition.patch
parentb0a6e92f31355dffd1515d9399d100289ebbce25 (diff)
downloadpoky-54566e6f90dbe5ca89a7d8ddb5843ea406bc3cc4.tar.gz
uclibc: Sync patches with OE, fix KERNEL variables to match sysroot changes, add patch to fix alignment problems on armv5e devices
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3795 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-internal_function-definition.patch')
-rw-r--r--meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-internal_function-definition.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-internal_function-definition.patch b/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-internal_function-definition.patch
new file mode 100644
index 0000000000..9b88d826f1
--- /dev/null
+++ b/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-internal_function-definition.patch
@@ -0,0 +1,51 @@
1Index: uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
2===================================================================
3--- uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h (revision 18898)
4+++ uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h (working copy)
5@@ -42,6 +42,8 @@
6 /* define if target supports IEEE signed zero floats */
7 #define __UCLIBC_HAVE_SIGNED_ZERO__
8
9+#if defined _LIBC
10 #define internal_function __attribute__ ((regparm (3), stdcall))
11+#endif
12
13 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */
14Index: uClibc/include/libc-symbols.h
15===================================================================
16--- uClibc/include/libc-symbols.h (revision 18898)
17+++ uClibc/include/libc-symbols.h (working copy)
18@@ -22,6 +22,16 @@
19 #ifndef _LIBC_SYMBOLS_H
20 #define _LIBC_SYMBOLS_H 1
21
22+/* This is defined for the compilation of all C library code. features.h
23+ tests this to avoid inclusion of stubs.h while compiling the library,
24+ before stubs.h has been generated. Some library code that is shared
25+ with other packages also tests this symbol to see if it is being
26+ compiled as part of the C library. We must define this before including
27+ config.h, because it makes some definitions conditional on whether libc
28+ itself is being compiled, or just some generator program. */
29+#define _LIBC 1
30+
31+
32 /* This file's macros are included implicitly in the compilation of every
33 file in the C library by -imacros.
34
35@@ -40,16 +50,6 @@
36
37 #include <bits/uClibc_arch_features.h>
38
39-
40-/* This is defined for the compilation of all C library code. features.h
41- tests this to avoid inclusion of stubs.h while compiling the library,
42- before stubs.h has been generated. Some library code that is shared
43- with other packages also tests this symbol to see if it is being
44- compiled as part of the C library. We must define this before including
45- config.h, because it makes some definitions conditional on whether libc
46- itself is being compiled, or just some generator program. */
47-#define _LIBC 1
48-
49 /* Enable declarations of GNU extensions, since we are compiling them. */
50 #define _GNU_SOURCE 1
51