patches/uClibc/0.9.29/200-fix-internal_function-definition.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
child 748 61cd4eb6034d
     1.1 --- a/patches/uClibc/0.9.29/200-fix-internal_function-definition.patch	Mon Jul 28 21:08:01 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,51 +0,0 @@
     1.4 -Index: uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
     1.5 -===================================================================
     1.6 ---- uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h	(revision 18898)
     1.7 -+++ uClibc/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h	(working copy)
     1.8 -@@ -42,6 +42,8 @@
     1.9 - /* define if target supports IEEE signed zero floats */
    1.10 - #define __UCLIBC_HAVE_SIGNED_ZERO__
    1.11 - 
    1.12 -+#if defined _LIBC
    1.13 - #define internal_function __attribute__ ((regparm (3), stdcall))
    1.14 -+#endif
    1.15 - 
    1.16 - #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */
    1.17 -Index: uClibc/include/libc-symbols.h
    1.18 -===================================================================
    1.19 ---- uClibc/include/libc-symbols.h	(revision 18898)
    1.20 -+++ uClibc/include/libc-symbols.h	(working copy)
    1.21 -@@ -22,6 +22,16 @@
    1.22 - #ifndef _LIBC_SYMBOLS_H
    1.23 - #define _LIBC_SYMBOLS_H	1
    1.24 - 
    1.25 -+/* This is defined for the compilation of all C library code.  features.h
    1.26 -+   tests this to avoid inclusion of stubs.h while compiling the library,
    1.27 -+   before stubs.h has been generated.  Some library code that is shared
    1.28 -+   with other packages also tests this symbol to see if it is being
    1.29 -+   compiled as part of the C library.  We must define this before including
    1.30 -+   config.h, because it makes some definitions conditional on whether libc
    1.31 -+   itself is being compiled, or just some generator program.  */
    1.32 -+#define _LIBC	1
    1.33 -+
    1.34 -+
    1.35 - /* This file's macros are included implicitly in the compilation of every
    1.36 -    file in the C library by -imacros.
    1.37 - 
    1.38 -@@ -40,16 +50,6 @@
    1.39 - 
    1.40 - #include <bits/uClibc_arch_features.h>
    1.41 - 
    1.42 --
    1.43 --/* This is defined for the compilation of all C library code.  features.h
    1.44 --   tests this to avoid inclusion of stubs.h while compiling the library,
    1.45 --   before stubs.h has been generated.  Some library code that is shared
    1.46 --   with other packages also tests this symbol to see if it is being
    1.47 --   compiled as part of the C library.  We must define this before including
    1.48 --   config.h, because it makes some definitions conditional on whether libc
    1.49 --   itself is being compiled, or just some generator program.  */
    1.50 --#define _LIBC	1
    1.51 --
    1.52 - /* Enable declarations of GNU extensions, since we are compiling them.  */
    1.53 - #define _GNU_SOURCE	1
    1.54 -