summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/stdio.h (funopen): Change prototype ofCorinna Vinschen2013-10-2313-37/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __readfn and __writefn parameter to match new definition of FILE's _read and _write methods. (_funopen_r): Ditto. (funopen): Ditto. (_funopen_r): Ditto. * libc/include/sys/config.h (_READ_WRITE_BUFSIZE_TYPE) Define as type int if not already defined. Add comment to explain. * libc/include/sys/reent.h: Include stddef.h. (struct __sFILE): Change type of last parameter in declaration of _read and _write methods to _READ_WRITE_BUFSIZE_TYPE. (struct __sFILE64): Ditto. * libc/stdio/local.h (__sread): Declare with last parameter set to _READ_WRITE_BUFSIZE_TYPE. (__seofread): Ditto. (__swrite): Ditto. (__swrite64): Ditto. * libc/stdio/fvwrite.c (__sfvwrite_r): Change type of local variables w and s to _READ_WRITE_RETURN_TYPE. * libc/stdio/fflush.c (__sflush_r): Change type of local variables n and t to _READ_WRITE_BUFSIZE_TYPE and _READ_WRITE_RETURN_TYPE. Add local variables flags to keep _flags value. * libc/stdio/fmemopen.c (fmemreader): Align to above change. (fmemwriter): Ditto. * libc/stdio/fopencookie.c (fcreader): Ditto. (fcwriter): Ditto. * libc/stdio/funopen.c (funread): Ditto. (funwrite): Ditto. (funreader): Ditto. (funwriter): Ditto. * libc/stdio/open_memstream.c (memwriter): Ditto. * libc/stdio/stdio.c (__sread): Ditto. (__seofread): Ditto. (__swrite): Ditto. * libc/stdio64/stdio64.c (__swrite64): Ditto.
* * fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to alignCorinna Vinschen2013-10-232-3/+5
| | | | /dev/full permissions to Linux.
* * fhandler.h (fhandler_base::cleanup): Mark as extern rather than inline.Christopher Faylor2013-10-224-1/+16
| | | | | | * fhandler_base.cc (fhandler_base::cleanup): Define. * fhandler_tty.cc (fhandler_pty_slave::cleanup): Call fhandler_base::cleanup. (fhandler_pty_master::cleanup): Ditto.
* .Christopher Faylor2013-10-191-0/+3
|
* * fhandler_termios.cc (tty_min::kill_pgrp): Don't send a signal to myself ifChristopher Faylor2013-10-182-1/+6
| | | | this process is exiting.
* * tty.cc (tty_list::allocate): Set sid to 0 rather than -1 since -1 is an errorChristopher Faylor2013-10-182-1/+6
| | | | condition.
* Fix formattingCorinna Vinschen2013-10-181-23/+23
|
* * configure.in (enable-newlib-global-atexit): New option.Corinna Vinschen2013-10-185-0/+56
| | | | | | | * configure: Regenerated. * newlib.hin (_REENT_GLOBAL_ATEXIT): Place-holder. * README (enable-newlib-global-atexit): Description for new option.
* * libc/include/sys/unistd.h (MAXPATHLEN): Delete.Corinna Vinschen2013-10-185-6/+11
| | | | | | * libc/include/sys/param.h (MAXPATHLEN): Define. * libc/sys/rtems/sys/param.h (MAXPATHLEN): Likewise. * libc/unix/getcwd.c: Include <sys/param.h> for MAXPATHLEN.
* 2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-10-163-3/+31
| | | | | | * ChangeLog: Sync from GCC. * mh-darwin: Ditto. * bootstrap-ubsan.mk: Ditto.
* 2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-10-163-0/+25
| | | | | * configure.ac: Update from GCC. * configure: Regenerate.
* * fhandler_process.cc (format_process_ctty): Fix random content ofCorinna Vinschen2013-10-163-1/+15
| | | | | /proc/$PID/ctty if the process has no controlling tty. Set to just "\n" instead.
* Fix ChangeLog entriesCorinna Vinschen2013-10-161-4/+2
|
* * src-release (do-proto-toplevel): Support subdir-path-prefixedHans-Peter Nilsson2013-10-152-1/+24
| | | | | | files in SUPPORT_FILES. (SIM_SUPPORT_DIRS): New variable. (sim.tar.bz2): New rule.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-152-23/+38
| | | | | * libc/libc/sys/rtems/sys/param.h: Update some parameters to the latest FreeBSD values.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-152-0/+7
| | | | * libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-154-5/+11
| | | | | | | * libc/sys/rtems/machine/_types.h (__dev_t): Define. (__dev_t_defined) Likewise. * libc/include/sys/_types.h (__dev_t): Delete RTEMS specific definition.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-151-0/+7
| | | | | | | * libc/sys/rtems/machine/_types.h (__dev_t): Define. (__dev_t_defined) Likewise. * libc/include/sys/_types.h (__dev_t): Delete RTEMS specific definition.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-152-26/+5
| | | | | * libc/sys/rtems/machine/_types.h (_ssize_t): Delete. (__ssize_t_defined) Likewise.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-152-92/+36
| | | | | | | | | | | | | | | | | | * libc/include/machine/_default_types.h (__int8_t): Define via <stdint.h> provided type. (__uint8_t): Likewise. (__int8_least_t): Likewise. (__uint8_least_t): Likewise. (__int16_t): Likewise. (__uint16_t): Likewise. (__int16_least_t): Likewise. (__uint16_least_t): Likewise. (__int32_t): Likewise. (__uint32_t): Likewise. (__int32_least_t): Likewise. (__uint32_least_t): Likewise. (__int64_t): Likewise. (__uint64_t): Likewise.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-152-0/+7
| | | | | * libc/include/paths.h (_PATH_DEVNULL): Define. (_PATH_DEVZERO): Likewise.
* Formatting.Joel Sherrill2013-10-151-2/+2
|
* *** empty log message ***Corinna Vinschen2013-10-151-0/+4
|
* * autoload.cc (CryptAcquireContextW): Remove.Corinna Vinschen2013-10-154-49/+62
| | | | | | | | | | | | | | | | | | | | (CryptGenRandom): Remove. (CryptReleaseContext): Remove. (SystemFunction036): Define. Add comment to explain that this is actually the RtlGenRandom function. * fhandler.h (class fhandler_dev_random): Drop crypt_prov member. (fhandler_dev_random::fhandler_dev_random): Define inline. (fhandler_dev_random::dup): Drop declaration. * fhandler_random.cc (fhandler_dev_random::fhandler_dev_random): Remove here. (fhandler_dev_random::crypt_gen_random): Use RtlGenRandom to drop dependency to old Crypto API. (fhandler_dev_random::read): Implement an enhanced version of reading random bytes from RtlGenRandom for the sake of a better /dev/random emulation. (fhandler_dev_random::close): Just return 0 since crypt_prov doesn't exisyt anymore. (fhandler_dev_random::dup): Drop entirely for the same reason.
* * mmap.cc (mmap64): Convert pagesize from DWORD to size_t to avoidCorinna Vinschen2013-10-152-1/+6
| | | | a rounding error for allocations beyond 4 Gigs.
* 2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2013-10-142-7/+89
| | | | | | | | | | | | | * mips.h (mips_operand_type): Add OP_IMM_INDEX and OP_REG_INDEX. (mips_reg_operand_type): Add OP_REG_MSA and OP_REG_MSA_CTRL. For MIPS, add comments for +d, +e, +h, +k, +l, +n, +o, +u, +v, +w, +T, +U, +V, +W, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|. For MIPS, update extension character sequences after +. (ASE_MSA): New define. (ASE_MSA64): New define. For microMIPS, add comments for +d, +e, +h, +k, +l, +n, +o, +u, +v, +w, +x, +T, +U, +V, +W, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|. For microMIPS, update extension character sequences after +.
* 2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2013-10-142-0/+16
| | | | | * mips.h (enum): Add Tag_GNU_MIPS_ABI_MSA. (enum): Add Val_GNU_MIPS_ABI_MSA_ANY and Val_GNU_MIPS_ABI_MSA_128.
* 2013-10-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>Richard Earnshaw2013-10-144-8/+33
| | | | | | * arm/cpu-init/rdimon-aem.S: Disable for M class cores. * arm/crt0.S: Don't call _rdimon_hw_init_hook for non-A class cores. * arm/cpu-init/Makefile.in (CPU_INIT_OBJS): Use CFLAGS.
* * Removed short_hand field from opcode table andSean Keys2013-10-112-36/+21
| | | | | refactored assembler/disassember accordingly. Testsuite checkout OK.
* 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>Jeff Johnston2013-10-092-1/+6
| | | | | * testsuite/newlib.wctype/twctype.c (main): Update iswprint(0xce2) test case.
* 2013-10-08 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-10-083-2/+7
| | | | | * configure.ac: Update from GCC. * configure: Regenerate.
* * ntdll.h: Guard against new header files.Christopher Faylor2013-10-052-0/+6
|
* 2013-10-03 Steve Ellcey <sellcey@mips.com>Steve Ellcey2013-10-035-150/+394
| | | | | | | * libc/machine/mips/memset.c: Remove. * libc/machine/mips/memset.S: New. * libc/machine/mips/Makefile.am: Change memset.c to memset.S * libc/machine/mips/Makefile.in: Regenerate.
* 2013-10-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2013-10-012-0/+30
| | | | * COPYING.NEWLIB: Update with new copyright.
* 2013-10-01 Petr Hosek <phosek@chromium.org>Jeff Johnston2013-10-016-6/+720
| | | | | | | | | * configure.host: Disable new posix_spawn function for all users of posix dir except Cygwin. * libc/posix/Makefile.am: Add support for new posix_spawn function. * libc/posix/Makefile.in: Regenerate. * libc/posix/posix_spawn.c: New file. * libc/include/spawn.h: Ditto.
* 2013-09-30 Steve Ellcey <sellcey@mips.com>Jeff Johnston2013-09-302-1/+6
| | | | * mips/Makefile.in (install): Add mkdir, fix install command.
* [ARM] Add SPECS file for ARM validation model.Marcus Shawcroft2013-09-273-1/+28
|
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 26.Christopher Faylor2013-09-252-1/+5
|
* * sigproc.h (hold_everything::ischild): Declare as reference.Christopher Faylor2013-09-253-2/+21
| | | | | (hold_everything::hold_everything): Store address of caller's notion of "ischild".
* * thread.cc (semaphore::_getvalue): Set *sval as appropriate. Set errno andChristopher Faylor2013-09-253-3/+19
| | | | return -1 on error.
* 2013-09-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-09-213-0/+57
| | | | | * configure.ac: Update from GCC. * configure: Regenerate.
* 2013-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>Richard Earnshaw2013-09-208-2/+712
| | | | | | | | | | | | | | | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Greta Yorsh <greta.yorsh@arm.com> * arm/Makefile.in: Add support for cpu-init directory and add elf-aprofile-ve.specs. * arm/configure.in: Likewise. * arm/configure: Regenerate. * arm/cpu-init: New directory. * arm/cpu-init/Makefile.in: New file. * arm/cpu-init/rdimon-aem.S: Likewise. * arm/crt0.S: Call _rdimon_init_hook * arm/elf-aprofile-ve.specs: New file.
* * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonicalAlan Modra2013-09-202-3/+14
| | | | | ppc host match. Support little-endian powerpc linux hosts. Regenerate binutils configure files.
* * msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.Nick Clifton2013-09-1810-40/+318
| | | | | | | | | | | | | | | | | | (LIB_CRT): New. (CRT_OBJS): New. (all): Add dependency upon LIB_CRT. (install): Likewise. * msp430/msp430-sim.ld: Include intr_vectors.ld. KEEP crt code, lowtext code and tm_clone_table. Separate the noinit section from the .bss section. Allow for extended .debug_line sections. * msp430/msp430.ld: Likewise. * msp430/msp430F5438A-l.ld: Likewise. * msp430/msp430F5438A-s.ld: Likewise. * msp430/msp430xl-sim.ld: Likewise . * msp430/crt_movedata.S: New. * msp430/crt_bss.S: New. * msp430/intr_vectors.ld: New.
* 2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>Steve Ellcey2013-09-172-0/+7
| | | | * mips.h (EF_MIPS_FP64): New e_flags bit.
* 2013-09-17 Joey Ye <joey.ye@arm.com>Jeff Johnston2013-09-173-1/+15
| | | | | * libnosys/Makefile.in: Install nosys.specs. * libnosys/nosys.specs: New specs.
* * dump_setup.cc (find_tar_ext): Generalize search for .tar extension, avoidingChristopher Faylor2013-09-162-9/+9
| | | | looking for specific compression types.
* 2013-09-13 Joey Ye <joey.ye@arm.com>Jeff Johnston2013-09-132-2/+7
| | | | | * libc/stdlib/nano-mallocr.c (nano_allopt): Typo fixed to ... (nano_mallopt): ... this.
* 2013-09-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2013-09-123-80/+205
| | | | | | * libc/include/sys/cdefs.h: Synchronize with latest FreeBSD version. * libc/include/stdatomic.h: Likewise.
* * libc/include/search.h (__compar_fn_t): Add typedef.Yaakov Selkowitz2013-09-083-5/+22
| | | | | | (tdelete, tfind, tsearch): Use it. * libc/include/stdlib.h (__compar_fn_t): Add typedef. (bsearch, qsort): Use it.