From: Jakub Bogusz Date: Sun, 3 Jun 2007 21:07:41 +0000 (+0000) Subject: - hidden visibility for _stdio_init causes non-NULL check to be optimized away on x86 X-Git-Tag: auto/th/uClibc-0_9_29-3~2 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=1daa8101b965b33dda57771b151188005e2b5609;p=packages%2FuClibc.git - hidden visibility for _stdio_init causes non-NULL check to be optimized away on x86 Changed files: uClibc-stdio-unhide.patch -> 1.1 --- diff --git a/uClibc-stdio-unhide.patch b/uClibc-stdio-unhide.patch new file mode 100644 index 0000000..21b56f6 --- /dev/null +++ b/uClibc-stdio-unhide.patch @@ -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__