]> git.pld-linux.org Git - packages/uClibc.git/commitdiff
- hidden visibility for _stdio_init causes non-NULL check to be optimized away on x86
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Jun 2007 21:07:41 +0000 (21:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    uClibc-stdio-unhide.patch -> 1.1

uClibc-stdio-unhide.patch [new file with mode: 0644]

diff --git a/uClibc-stdio-unhide.patch b/uClibc-stdio-unhide.patch
new file mode 100644 (file)
index 0000000..21b56f6
--- /dev/null
@@ -0,0 +1,11 @@
+--- uClibc-0.9.29/libc/misc/internals/__uClibc_main.c.orig     2007-06-03 22:49:56.106515000 +0200
++++ uClibc-0.9.29/libc/misc/internals/__uClibc_main.c  2007-06-03 23:04:27.296161963 +0200
+@@ -78,7 +78,7 @@
+ /*
+  * Prototypes.
+  */
+-extern void weak_function _stdio_init(void) attribute_hidden;
++extern void weak_function _stdio_init(void);
+ extern int *weak_const_function __errno_location(void);
+ extern int *weak_const_function __h_errno_location(void);
+ #ifdef __UCLIBC_HAS_LOCALE__
This page took 0.195161 seconds and 4 git commands to generate.