Age | Commit message (Collapse) | Author |
|
This matches a similar change made to glibc.
No functional changes here.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *)
sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *)
should be a nop
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
text data bss dec hex filename
- 546 0 4 550 226 libc/stdlib/setenv.o
+ 538 0 4 542 21e libc/stdlib/setenv.o
|
|
text data bss dec hex filename
- 672 0 4 676 2a4 libc/stdlib/setenv.o
+ 546 0 4 550 226 libc/stdlib/setenv.o
|
|
add a few missing ENOMEMs, some code shrinking
text data bss dec hex filename
- 727 0 4 731 2db libc/stdlib/setenv.o
+ 672 0 4 676 2a4 libc/stdlib/setenv.o
|
|
Appears to build fine (several .configs tried)
|
|
in string.h and strings.h. This caught unguarded string ops in
libc/inet/ethers.c __ether_line_w() function.
I will wait for fallout reports for a week or so,
then continue converting more libc_hidden_proto's.
|
|
things, and avoid potential deadlocks caused when a thread holding a uClibc
internal lock get canceled and terminates without releasing the lock. This
change also provides a single place, bits/uClibc_mutex.h, for thread libraries
to modify to change all instances of internal locking.
|
|
most of global data relocations are back
|
|
|
|
is a useless attempt
|
|
gone from libc. The remaining are left as exercise for others ;-)
|
|
|
|
missing headers, other jump relocs removed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
were including libc-lock.h which had a bunch of weak pragmas. Also,
uClibc supplied a number of no-op weak thread functions even though
many weren't needed. This combined result was that sometimes the
functional versions of thread functions in pthread would not override
the weaks in libc.
While fixing this, I also prepended double-underscore to all necessary
weak thread funcs in uClibc, and removed all unused weaks.
I did a test build, but haven't tested this since these changes are
a backport from my working tree. I did test the changes there and
no longer need to explicitly add -lpthread in the perl build for
perl to pass its thread self tests.
|
|
|
|
At least people can play with it. Also, fix a buglet in setenv.c.
|
|
not correct for uClibc. Fix setenv locking to behave itself.
-Erik
|
|
|
|
up for readability. Merge in putenv. Add clearenv as a side effect.
-Erik
|
|
|
|
This required we use _LIBC instead of __LIBC__ to be consistent with glibc.
This had some sideffects in sys/syscalls.h. While fixing things, I made
everything use __set_errno() for (eventual) thread support.
-Erik
|
|
-Erik
|
|
|
|
|
|
|
|
-Erik
|
|
|