* libc/sys/rtems/sys/syslimits.h (NGROUPS_MAX): Adjust value so
	that NGROUPS is even.
	* libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* is
	larger than an int.
	PR target/63901
	* configure.host (msp430): Add -mhwmult=none to newlib_cflags.
2014-11-23  Joel Sherrill <joel.sherrill@oarcorp.com>

	* libc/include/sys/resource.h: Add prototype for getrusage()
	to <sys/resource.h>
	* libc/include/sys/_default_fcntl.h: Move all Cygwin-specific open
	flags from Cygwin's fcntl.h here.  Remove check for WIN32.  Remove
	Windows-specific macros.
	* libc/machine/arm/strcmp-armv6m.S: New file.
	* libc/machine/arm/strcmp.S: Add new wrapper.
	* libc/machine/arm/Makefile.am: Add dependencies.
	* libc/machine/arm/Makefile.in: Regenerated.
2014-11-26  Matthew Fortune  <Matthew.Fortune@imgtec.com>

        * mips/crt0.S: Remove .set noreorder throughout.
        (zerobss): Open code the bltu macro instruction so that the
        zero-loop does not have a NOP in the branch delay slot.
	* libc/include/machine/setjmp.h [__mips__]: Remove __mips_fpr == 64
	from the 64-bit _JBTYPE definition.
	* libc/machine/mips/setjmp.S: Re-work the o32 FP64 support to match
	the now one-and-only supported o32 FP64 ABI extension.  Also
	support o32 FPXX.
	* mips/crt0.S: Configure processor based on .MIPS.abiflags.
	Remove FPU availability check, just use the pre-processor flags
	to indicicate what the user wanted.
	* mips/abiflags.S: New file.
	* mips/regs.S (SR_MSA): Define macro.
	* mips/mti32.ld: Place .MIPS.abiflags and wrap in marker symbols.
	* mips/mti64.ld: Likewise.
	* mips/mti64_64.ld: Likewise.
	* mips/mti64_n32.ld: Likewise.
2014-12-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/inttypes.h: Only enable the 8-bit scanning macros
        if _WANT_IO_C99_FORMATS is defined by configuration.  Add comment
        on why.
	* libc/include/sys/signal.h [__SPU__] (kill): Declare.
* libc/include/stdlib.h (__bsd_qsort_r): Declare.
(qsort_r): Declare.
* libc/search/Makefile.am (ELIX_2_SOURCES): Rename from ELIX_SOURCES.
(ELIX_4_SOURCES): Define.  Add bsd_qsort_r.c and qsort_r.c.
(libsearch_la_SOURCES): Adapt accordingly.
(lib_a_SOURCES): Adapt accordingly.
(CHEWOUT_FILES): Add qsort_r.def.
* libc/search/Makefile.in: Regenerate.
* libc/search/bsd_qsort_r.c: New file.
* libc/search/qsort.c: Update from FreeBSD HEAD. Adapt for both BSD
and GNU qsort_r flavors.
* libc/search/qsort_r.c: New file.
	* libc/time/gmtime_r.c (gmtime_r): Fixed bug in calculations for dates
	after year 2069 or before year 1901. Ideas for solution taken from
	musl's __secs_to_tm()
	* libc/machine/aarch64/strrchr.S: New file.
	* libc/machine/aarch64/strrchr-stub.c: New file.
	* libc/machine/aarch64/Makefile.am: Add them to build list.
	* libc/machine/aarch64/Makefile.in: Regenerated.
OpenRISC: Add no delay slot support

The OpenRISC architecture manual allows for implementations without
delay slot. The machine name is or1knd.
libgloss: OpenRISC support

The official OpenRISC port was previously under GPL. The parts where
the authors agreed has been changed to BSD and only very small parts
needed re-implementation.

The OpenRISC libgloss library for baremetal applications contains the
basic C runtime, reentrant syscalls (only write supported) and a rich
set of support functions that make it really easy to implement
baremetal applications for OpenRISC.

The port already contains multicore support (set define
__OR1K_MULTICORE__), where each core runs with different stacks but
with a shared heap.
newlib: OpenRISC Baremetal support

The official OpenRISC port was previously under GPL. The parts where
the authors agreed has been changed to BSD and only very small parts
needed re-implementation.

This adds the OpenRISC baremetal as a system (or1k-elf), that depends
on libgloss (mainly reentrancy) and thereby keeps other toolchains
like or1k-rtems intact.