Merge r18615 by kraj from trunk:
Remove preprocessor warning due to missing definition of USE_TLS
Merge r18616 by kraj from trunk:
Fix arm mmap when using mmap2 syscall. Fixes bug #1303
Merge r18627 by pkj from trunk:
Made it compile again.
Merge r18676 by sjhill from trunk:
Fix ARM EABI signal unwinding to accomodate signal frame layout between Linux kernel versions as reported by Joseph S. Myers on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017971.html> .
Merge r18677 by sjhill from trunk:
Fix MIPS syscall() and pipe functions to set errno correctly as reported by Daniel Jacobowitz on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017968.html> .
Merge r18678 by vapier from trunk:
use POSIX -eq rather than bash == #1360
Merge r18693 by vapier from trunk:
Jean-Christian de Rivaz writes:
I actually suspect this code into the file uClibc/libc/sysdeps/linux/common/poll.c:
	tval.tv_nsec = (timeout % 1000) *1000;  <==== make only usec!
From milisecond this really needs a * 1000000 to make nanosecond. Without this
a 1100 milisecond timeout is converted into a 1 seconde and 100 microsecond
timeout! This can explain the weird result of the test code.
Merge r18707 by vapier from trunk:
Atsushi Nemoto writes:
http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html
states it returns error code instead of setting errno.
Merge r18708 by vapier from trunk:
Atsushi Nemoto writes:
Current MIPS readahead(), posix_fadvise(), posix_fadvise64() do not
match with kernel on all ABIs.

On O32 ABI, a padding is needed before a long long argument.
On N32/N64, a long long argument should be passed via a single register.
Merge r18709 by vapier from trunk:
Bernd Schmidt writes: make sure custom stacks work properly for no-mmu
Merge r18722 by vapier from trunk:
change the auxvt code from being dependent on MMU to !LDSO as auxvt things are ELF-specific, not MMU-specific
Merge r18743 by jocke from trunk:
Correct return value. Pointed out by psm.
Merge r18817 by jocke from trunk:
Carmelo AMOROSO <carmelo.amoroso@st.com> writes:
Hi All,
this patch fixes a mismatch in ucontext struct between uClibc and kernel.
In this way a signal handler installed by sigaction can access
to the whole machine state correctly.
This can be applied both to trunk and nptl branch
Merge r18907 by aldot from trunk:
- make sure to define _LIBC in libc-symbols.h before including anything
  else.
- internal_function is only used inside libc, so do not define it in
  uClibc_arch_features.h on i386 if we are outside of libc.
Merge r18970 by vapier from trunk:
tweak msync prototype to match header
Merge r19068 by sjhill from trunk:
Fix broken syscall() function since the original patch did not work.
Merge r19087 by vda from trunk:
syslog.h: allow prioritynames[]/facilitynames[] to be defined const
(selectable by #defining SYSLOG_NAMES_CONST)
Merge r19151 by sjhill from trunk:
Apply patch as submitted by Blue Smurfy Swirly <blauwirbel@gmail.com> for Sparc32.
Merge r19152 by sjhill from trunk:
Enable all of the remaining baud rates. All of the other architectures have 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.
Merge r19161 by vda from trunk:
des.c: move 0.5k of static data on stack, they are used only temporarily
by des_init.