summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
AgeCommit message (Collapse)Author
2008-12-01fix sigset_t size for mips (it's the only arch with 128 signals).Denis Vlasenko
fix _NSIG for it. better document what's going on in sigaction(). seems to not induce any actual code changes (sans mips).
2008-12-01optimize signal mask ops. comment out "impossible" errorsDenis Vlasenko
text data bss dec hex filename - 1179 13 2 1194 4aa libc/misc/syslog/syslog.o + 1165 13 2 1180 49c libc/misc/syslog/syslog.o - 435 4 0 439 1b7 libc/pwd_grp/lckpwdf.o + 393 4 0 397 18d libc/pwd_grp/lckpwdf.o - 38 0 0 38 26 libc/signal/sigandset.o + 32 0 0 32 20 libc/signal/sigandset.o - 63 0 0 63 3f libc/signal/sigblock.o + 56 0 0 56 38 libc/signal/sigblock.o - 22 0 0 22 16 libc/signal/sigempty.o + 20 0 0 20 14 libc/signal/sigempty.o - 25 0 0 25 19 libc/signal/sigfillset.o + 20 0 0 20 14 libc/signal/sigfillset.o - 34 0 0 34 22 libc/signal/sigisempty.o + 16 0 0 16 10 libc/signal/sigisempty.o - 38 0 0 38 26 libc/signal/sigorset.o + 32 0 0 32 20 libc/signal/sigorset.o - 119 0 0 119 77 libc/signal/sigpause.o + 113 0 0 113 71 libc/signal/sigpause.o - 215 0 0 215 d7 libc/signal/sigset.o + 211 0 0 211 d3 libc/signal/sigset.o - 63 0 0 63 3f libc/signal/sigsetmask.o + 56 0 0 56 38 libc/signal/sigsetmask.o - 194 0 1 195 c3 libc/stdlib/abort.o + 183 0 1 184 b8 libc/stdlib/abort.o - 323 0 0 323 143 libc/unistd/sleep.o + 309 0 0 309 135 libc/unistd/sleep.o
2008-11-29reduce sigset_t size for 128 bytes to 64 bits:Denis Vlasenko
text data bss dec hex filename - 38457 18352 8636 65445 ffa5 lib/libpthread-0.9.30-svn.so + 38015 18096 8636 64747 fceb lib/libpthread-0.9.30-svn.so - 8205 280 12 8497 2131 lib/libthread_db-0.9.30-svn.so + 8193 280 12 8485 2125 lib/libthread_db-0.9.30-svn.so - 275208 1823 19132 296163 484e3 lib/libuClibc-0.9.30-svn.so + 274787 1823 19012 295622 482c6 lib/libuClibc-0.9.30-svn.so
2008-11-26- revert 24148:24151Bernhard Reutner-Fischer
2008-11-25- hide locksBernhard Reutner-Fischer
2008-11-22signal ops: avoid calls through PLT for __sigXXX opsDenis Vlasenko
linuxthreads.old/manager: pointless style fixes, no code changes
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2008-10-06- tweak inclusion of asm/socket.h for linux-2.4 (Peter S. Mazinger)Bernhard Reutner-Fischer
2008-10-03- add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer
2008-10-03- use c89-style commentsBernhard Reutner-Fischer
Closes issue #5194
2008-09-26- move libm_hidden_proto to the corresponding headers. Remove from callsites.Bernhard Reutner-Fischer
Note that gamma_r is not provided by glibc, perhaps add a SUN specific knob later
2008-09-09Hush compiler for extern inline warnings by using Carmelo Amoroso
__extern_inline macro, this also makes gcc 4.3 happy. (Taken from NPTL branch) Signed-off-by: Khem Raj <raj.khem@gmail.com>
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-07-02Include errno.h from kernel headers instead of using internal errno_values.hCarmelo Amoroso
otherwie some errno will be missed (i.e. ENOKEY used in libusb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-29Fix typo in macro for tls access modelCarmelo Amoroso
2008-01-17A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt
a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
2008-01-08change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger
doing double negatives
2008-01-05add BOTHER define from termios2Mike Frysinger
2007-07-18Enable all of the remaining baud rates. All of the other architectures have ↵"Steven J. Hill"
them enabled, so let's go all the way. There was a quick discussion on IRC about making the max baud rate configurable. That requires a bunch of #ifdef salting throughout all of the 'termios.h' files for the pre-processor to chew on. I'm going to pass on that for now.
2007-03-08svn 17941/17943 broke the build. 18032 made the threaded case compile Rob Landley
again, this makes the non-threaded case compile again. I have no idea if this is the proper fix, I'm just tired if it not compiling for two weeks.
2007-02-28ifdef out RTLD defines we dont actually support nor are in POSIXMike Frysinger
2007-02-02Make sure struct stat is identical to struct stat64 ifPeter Kjellerstedt
__USE_FILE_OFFSET64 is defined. This was the case for all architectures except those that use packed structures by default (i.e., CRIS).
2007-01-29- s/if USE___THREAD/if defined USE___THREAD && USE___THREAD/gBernhard Reutner-Fischer
2007-01-28- commentary typo fixBernhard Reutner-Fischer
2007-01-20Disable declarations for NPTL."Steven J. Hill"
2007-01-10Fix SEGV for static builds in exit() path.Joakim Tjernlund
Leave the now obsolete libc/misc/pthread dir in for now.
2007-01-09Aurelien Jacobs writes:Joakim Tjernlund
After our last update a new compilation breakage appeared when compiling gcc: /home/aurel/geex/geexbox/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:346: error: expected initializer before 'attribute_hidden' Some investigations revealed that the following changeset is responsible for this breakage: http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h?rev=16801&r1=16793&r2=16801&diff_format=h Reverting just one hunk of this changeset fixed the problem us. I'm not sure this is the right fix, but please see attached patch. Look good to me.
2006-12-11fix building when pthread support is disabledMike Frysinger
2006-12-09silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen
2006-12-08seems this is the newfangled way to tell folks this stuffEric Andersen
is really really and we mean it this time, for uClibc only
2006-12-08this stuff is for uClibc internal use onlyEric Andersen
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-12-08Fill in a few more of the missing pieces...Eric Andersen
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
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.
2006-12-06stdio update from mjn3Eric Andersen
2006-12-02PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now ↵Mike Frysinger
it lives in bits/uClibc_local_lim.h
2006-12-02Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc ↵"Steven J. Hill"
code it is not defined.
2006-11-29remove redundant headers local to libpthread, causing headerEric Andersen
file content skew between the versions
2006-11-29- honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer
2006-11-17revert PTHREAD_THREADS_MAX back to former size since the large majority of ↵Mike Frysinger
people out there will not need more than 1k threads (and people who do can change this themselves)
2006-11-04based on a patch from Atsushi Nemoto:Eric Andersen
There is a mismatch of struct msghdr between the kernel and libc. In a 64-bit environment, the size of msg_namelen is 4 for all, but the size of msg_iovlen and msg_controllen is 8 bytes for the kernel and for glibc, but 4 bytes for uClibc. Fix size for the 64bit case.
2006-09-25Do not include tls.h unless __UCLIBC_HAS_THREADS__ is defined.Peter Kjellerstedt
2006-08-24sync with upstream via psmMike Frysinger
2006-08-24sync with upstream via psmMike Frysinger
2006-08-23sync with upstream via psmMike Frysinger
2006-08-23sync with psm: update errno handling to be the same on all archesMike Frysinger
2006-08-23sync with upstream via psmMike Frysinger
2006-08-21bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen
based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
2006-03-29sync with glibcMike Frysinger
2006-03-20Replace __THROW w/ __NTH pointed out by Amir Shalem, take 2Peter S. Mazinger