SOURCES: uClibc-stdio-unhide.patch (NEW) - hidden visibility for _...

qboosh qboosh at pld-linux.org
Sun Jun 3 23:07:46 CEST 2007


Author: qboosh                       Date: Sun Jun  3 21:07:46 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- hidden visibility for _stdio_init causes non-NULL check to be optimized away on x86

---- Files affected:
SOURCES:
   uClibc-stdio-unhide.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/uClibc-stdio-unhide.patch
diff -u /dev/null SOURCES/uClibc-stdio-unhide.patch:1.1
--- /dev/null	Sun Jun  3 23:07:46 2007
+++ SOURCES/uClibc-stdio-unhide.patch	Sun Jun  3 23:07:41 2007
@@ -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__
================================================================


More information about the pld-cvs-commit mailing list