]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
10 years ago * devices.in (dev_storage): Map /dev/random and /dev/urandom to
Corinna Vinschen [Fri, 25 Oct 2013 12:21:59 +0000 (12:21 +0000)]
* devices.in (dev_storage): Map /dev/random and /dev/urandom to
\Device\Null.
* devices.cc: Regenerate.
* fhandler.h (fhandler_dev_random::open): Drop declaration.
(fhandler_dev_random::close): Ditto.
(fhandler_dev_random::crypt_gen_random): Convert to static method.
* fhandler_random.cc (fhandler_dev_random::open): Remove so that default
fhandler_base::open is used to open \Device\Null.
(fhandler_dev_random::close): Ditto.
* fhandler_socket.cc (entropy_source): Delete.
(fhandler_socket::af_local_set_secret): Remove entropy_source code and
call fhandler_dev_random::crypt_gen_random directly instead.

10 years ago * fhandler.h (fhandler_dev_zero::lseek): Convert to inline method.
Corinna Vinschen [Thu, 24 Oct 2013 17:51:41 +0000 (17:51 +0000)]
* fhandler.h (fhandler_dev_zero::lseek): Convert to inline method.
(class fhandler_dev_random): Drop dummy_offset.
(fhandler_dev_random::lseek): Convert to inline method.
(fhandler_dev_dsp::lseek): Ditto.
* fhandler_dsp.cc (fhandler_dev_dsp::lseek): Drop here.
* fhandler_random.cc (fhandler_dev_random::open): Drop setting
dummy_offset.
(fhandler_dev_random::lseek): Drop here.
* fhandler_tape.cc (fhandler_dev_tape::lseek): Make no-op, but keep
old code for reference.
* fhandler_zero.cc (fhandler_dev_zero::lseek): Drop here.

10 years ago* external.cc (fillout_pinfo): If start_time is 0, wait a while before
Christopher Faylor [Thu, 24 Oct 2013 15:26:21 +0000 (15:26 +0000)]
* external.cc (fillout_pinfo): If start_time is 0, wait a while before
returning the pinfo structure.
* fhandler.cc (fhandler_base::open_setup): Convert from inline.
* fhandler.h (fhandler_base::open_setup): Declare.
* fhandler_console.cc (fhandler_console::open_setup): Always call
fhandler_base::open_setup.
* fhandler_tty.cc (fhandler_pty_slave::open_setup): Ditto.
(fhandler_pty_master::open_setup): Ditto.

10 years agoFix typo.
Corinna Vinschen [Thu, 24 Oct 2013 11:27:21 +0000 (11:27 +0000)]
Fix typo.

10 years ago * devices.in (dev_storage): Map /dev/zero and /dev/full to \Device\Null.
Corinna Vinschen [Thu, 24 Oct 2013 09:41:17 +0000 (09:41 +0000)]
* devices.in (dev_storage): Map /dev/zero and /dev/full to \Device\Null.
* devices.cc: Regenerate.
* dtable.h (struct dtable): Make fhandler_base friend, rather
than fhandler_disk_file.
* fhandler.cc (fhandler_base::open_with_arch): Create unique id.
(fhandler_base::cleanup): Call del_my_locks.
(fhandler_base::fcntl): Handle F_GETLK, F_SETLK and F_SETLKW.
* fhandler.h (fhandler_base::get_dev): Return real device number.
(fhandler_base::set_unique_id): New inline method.
(fhandler_disk_file::lock): Drop declaration.
(fhandler_disk_file::get_dev): New method, return pc.fs_serial_number.
(fhandler_dev_zero::open): Drop declaration.
* fhandler_disk_file.cc (fhandler_disk_file::close): Move
del_my_locks call to fhandler_base::open_with_arch.
(fhandler_disk_file::fcntl): Move handling of locking commands to
fhandler_base::fcntl.
(fhandler_base::open_fs): Drop call to NtAllocateLocallyUniqueId.
* fhandler_zero.cc (fhandler_dev_zero::open): Remove so that default
fhandler_base::open is used to open \Device\Null.
* flock.cc (fixup_lockf_after_exec): Finding a single fhandler is
enough here.
(fhandler_base::lock): Replace fhandler_disk_file::lock.  Refuse to lock
nohandle devices.  Handle read/write test using POSIX flags.  Explain
why.  Never fail on SEEK_CUR or SEEK_END, rather assume position 0,
just as Linux.
* net.cc (fdsock): Create unique id.

10 years ago * libc/include/stdio.h [!__LARGE64_FILES] (funopen): Fix typo
Hans-Peter Nilsson [Thu, 24 Oct 2013 01:21:33 +0000 (01:21 +0000)]
* libc/include/stdio.h [!__LARGE64_FILES] (funopen): Fix typo
in last change.

10 years agomerge from gcc
DJ Delorie [Wed, 23 Oct 2013 22:37:24 +0000 (22:37 +0000)]
merge from gcc

10 years ago * include /cygwin/config.h (_READ_WRITE_BUFSIZE_TYPE): Define.
Corinna Vinschen [Wed, 23 Oct 2013 10:06:17 +0000 (10:06 +0000)]
* include /cygwin/config.h (_READ_WRITE_BUFSIZE_TYPE): Define.

10 years ago * libc/include/stdio.h (funopen): Change prototype of
Corinna Vinschen [Wed, 23 Oct 2013 10:04:43 +0000 (10:04 +0000)]
* libc/include/stdio.h (funopen): Change prototype of
__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.

10 years ago * fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align
Corinna Vinschen [Wed, 23 Oct 2013 09:58:12 +0000 (09:58 +0000)]
* fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align
/dev/full permissions to Linux.

10 years ago* fhandler.h (fhandler_base::cleanup): Mark as extern rather than inline.
Christopher Faylor [Tue, 22 Oct 2013 20:41:09 +0000 (20:41 +0000)]
* fhandler.h (fhandler_base::cleanup): Mark as extern rather than inline.
* fhandler_base.cc (fhandler_base::cleanup): Define.
* fhandler_tty.cc (fhandler_pty_slave::cleanup): Call fhandler_base::cleanup.
(fhandler_pty_master::cleanup): Ditto.

10 years ago.
Christopher Faylor [Sat, 19 Oct 2013 14:37:29 +0000 (14:37 +0000)]
.

10 years ago* fhandler_termios.cc (tty_min::kill_pgrp): Don't send a signal to myself if
Christopher Faylor [Fri, 18 Oct 2013 20:56:19 +0000 (20:56 +0000)]
* fhandler_termios.cc (tty_min::kill_pgrp): Don't send a signal to myself if
this process is exiting.

10 years ago* tty.cc (tty_list::allocate): Set sid to 0 rather than -1 since -1 is an error
Christopher Faylor [Fri, 18 Oct 2013 20:07:35 +0000 (20:07 +0000)]
* tty.cc (tty_list::allocate): Set sid to 0 rather than -1 since -1 is an error
condition.

10 years agoFix formatting
Corinna Vinschen [Fri, 18 Oct 2013 08:44:12 +0000 (08:44 +0000)]
Fix formatting

10 years ago * configure.in (enable-newlib-global-atexit): New option.
Corinna Vinschen [Fri, 18 Oct 2013 08:43:05 +0000 (08:43 +0000)]
* configure.in (enable-newlib-global-atexit): New option.
* configure: Regenerated.
* newlib.hin (_REENT_GLOBAL_ATEXIT): Place-holder.
* README (enable-newlib-global-atexit): Description for
new option.

10 years ago * libc/include/sys/unistd.h (MAXPATHLEN): Delete.
Corinna Vinschen [Fri, 18 Oct 2013 08:30:29 +0000 (08:30 +0000)]
* libc/include/sys/unistd.h (MAXPATHLEN): Delete.
* 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.

10 years ago2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Wed, 16 Oct 2013 20:45:20 +0000 (20:45 +0000)]
2013-10-16  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* ChangeLog: Sync from GCC.
* mh-darwin: Ditto.
* bootstrap-ubsan.mk: Ditto.

10 years ago2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Wed, 16 Oct 2013 20:36:39 +0000 (20:36 +0000)]
2013-10-16  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Update from GCC.
* configure: Regenerate.

10 years ago * fhandler_process.cc (format_process_ctty): Fix random content of
Corinna Vinschen [Wed, 16 Oct 2013 15:14:22 +0000 (15:14 +0000)]
* fhandler_process.cc (format_process_ctty): Fix random content of
/proc/$PID/ctty if the process has no controlling tty.  Set to just
"\n" instead.

10 years agoFix ChangeLog entries
Corinna Vinschen [Wed, 16 Oct 2013 10:41:06 +0000 (10:41 +0000)]
Fix ChangeLog entries

10 years ago * src-release (do-proto-toplevel): Support subdir-path-prefixed
Hans-Peter Nilsson [Tue, 15 Oct 2013 20:45:52 +0000 (20:45 +0000)]
* src-release (do-proto-toplevel): Support subdir-path-prefixed
files in SUPPORT_FILES.
(SIM_SUPPORT_DIRS): New variable.
(sim.tar.bz2): New rule.

10 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:40:02 +0000 (17:40 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/libc/sys/rtems/sys/param.h: Update some parameters to
the latest FreeBSD values.

10 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:39:19 +0000 (17:39 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.

10 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:38:32 +0000 (17:38 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/sys/rtems/machine/_types.h (__dev_t): Define.
(__dev_t_defined) Likewise.
* libc/include/sys/_types.h (__dev_t): Delete RTEMS specific
definition.

10 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:37:37 +0000 (17:37 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/sys/rtems/machine/_types.h (__dev_t): Define.
(__dev_t_defined) Likewise.
* libc/include/sys/_types.h (__dev_t): Delete RTEMS specific
definition.

10 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:36:16 +0000 (17:36 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/sys/rtems/machine/_types.h (_ssize_t): Delete.
(__ssize_t_defined) Likewise.

10 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:35:38 +0000 (17:35 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* 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.

10 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:34:23 +0000 (17:34 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/include/paths.h (_PATH_DEVNULL): Define.
(_PATH_DEVZERO): Likewise.

10 years agoFormatting.
Joel Sherrill [Tue, 15 Oct 2013 17:33:47 +0000 (17:33 +0000)]
Formatting.

10 years ago*** empty log message ***
Corinna Vinschen [Tue, 15 Oct 2013 16:53:46 +0000 (16:53 +0000)]
*** empty log message ***

10 years ago * autoload.cc (CryptAcquireContextW): Remove.
Corinna Vinschen [Tue, 15 Oct 2013 14:00:37 +0000 (14:00 +0000)]
* autoload.cc (CryptAcquireContextW): Remove.
(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.

10 years ago * mmap.cc (mmap64): Convert pagesize from DWORD to size_t to avoid
Corinna Vinschen [Tue, 15 Oct 2013 08:13:42 +0000 (08:13 +0000)]
* mmap.cc (mmap64): Convert pagesize from DWORD to size_t to avoid
a rounding error for allocations beyond 4 Gigs.

10 years ago2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
Chao-ying Fu [Mon, 14 Oct 2013 18:41:17 +0000 (18:41 +0000)]
2013-10-14  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>

* 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 +.

10 years ago2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
Chao-ying Fu [Mon, 14 Oct 2013 18:37:05 +0000 (18:37 +0000)]
2013-10-14  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>

* mips.h (enum): Add Tag_GNU_MIPS_ABI_MSA.
(enum): Add Val_GNU_MIPS_ABI_MSA_ANY and Val_GNU_MIPS_ABI_MSA_128.

10 years ago2013-10-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Richard Earnshaw [Mon, 14 Oct 2013 15:15:12 +0000 (15:15 +0000)]
2013-10-14  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* 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.

10 years ago * Removed short_hand field from opcode table and
Sean Keys [Fri, 11 Oct 2013 04:55:42 +0000 (04:55 +0000)]
 * Removed short_hand field from opcode table and
     refactored assembler/disassember accordingly.
     Testsuite checkout OK.

10 years ago2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
Jeff Johnston [Wed, 9 Oct 2013 18:56:52 +0000 (18:56 +0000)]
2013-10-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * testsuite/newlib.wctype/twctype.c (main): Update
        iswprint(0xce2) test case.

10 years ago2013-10-08 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Tue, 8 Oct 2013 14:14:12 +0000 (14:14 +0000)]
2013-10-08  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Update from GCC.
* configure: Regenerate.

10 years ago* ntdll.h: Guard against new header files.
Christopher Faylor [Sat, 5 Oct 2013 14:34:41 +0000 (14:34 +0000)]
* ntdll.h: Guard against new header files.

10 years ago2013-10-03 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Thu, 3 Oct 2013 21:51:52 +0000 (21:51 +0000)]
2013-10-03  Steve Ellcey  <sellcey@mips.com>

* 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.

10 years ago2013-10-01 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 1 Oct 2013 18:14:04 +0000 (18:14 +0000)]
2013-10-01  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update with new copyright.

10 years ago2013-10-01 Petr Hosek <phosek@chromium.org>
Jeff Johnston [Tue, 1 Oct 2013 18:08:46 +0000 (18:08 +0000)]
2013-10-01  Petr Hosek  <phosek@chromium.org>

        * 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.

10 years ago2013-09-30 Steve Ellcey <sellcey@mips.com>
Jeff Johnston [Mon, 30 Sep 2013 18:44:25 +0000 (18:44 +0000)]
2013-09-30  Steve Ellcey  <sellcey@mips.com>

* mips/Makefile.in (install): Add mkdir, fix install command.

10 years ago[ARM] Add SPECS file for ARM validation model.
Marcus Shawcroft [Fri, 27 Sep 2013 15:40:39 +0000 (15:40 +0000)]
[ARM] Add SPECS file for ARM validation model.

10 years ago* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 26.
Christopher Faylor [Wed, 25 Sep 2013 16:17:59 +0000 (16:17 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 26.

10 years ago* sigproc.h (hold_everything::ischild): Declare as reference.
Christopher Faylor [Wed, 25 Sep 2013 15:58:45 +0000 (15:58 +0000)]
* sigproc.h (hold_everything::ischild): Declare as reference.
(hold_everything::hold_everything): Store address of caller's notion of
"ischild".

10 years ago* thread.cc (semaphore::_getvalue): Set *sval as appropriate. Set errno and
Christopher Faylor [Wed, 25 Sep 2013 14:44:45 +0000 (14:44 +0000)]
* thread.cc (semaphore::_getvalue): Set *sval as appropriate.  Set errno and
return -1 on error.

10 years ago2013-09-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Sat, 21 Sep 2013 00:05:18 +0000 (00:05 +0000)]
2013-09-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Update from GCC.
* configure: Regenerate.

10 years ago2013-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Richard Earnshaw [Fri, 20 Sep 2013 14:23:41 +0000 (14:23 +0000)]
2013-09-20  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
    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.

10 years ago * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
Alan Modra [Fri, 20 Sep 2013 09:51:24 +0000 (09:51 +0000)]
* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
ppc host match.  Support little-endian powerpc linux hosts.
Regenerate binutils configure files.

10 years ago * msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.
Nick Clifton [Wed, 18 Sep 2013 07:38:13 +0000 (07:38 +0000)]
* msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.
(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.

10 years ago2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
Steve Ellcey [Tue, 17 Sep 2013 21:05:49 +0000 (21:05 +0000)]
2013-09-17  Doug Gilmore  <Doug.Gilmore@imgtec.com>

* mips.h (EF_MIPS_FP64): New e_flags bit.

10 years ago2013-09-17 Joey Ye <joey.ye@arm.com>
Jeff Johnston [Tue, 17 Sep 2013 20:36:08 +0000 (20:36 +0000)]
2013-09-17  Joey Ye  <joey.ye@arm.com>

        * libnosys/Makefile.in: Install nosys.specs.
        * libnosys/nosys.specs: New specs.

10 years ago* dump_setup.cc (find_tar_ext): Generalize search for .tar extension, avoiding
Christopher Faylor [Mon, 16 Sep 2013 17:01:58 +0000 (17:01 +0000)]
* dump_setup.cc (find_tar_ext): Generalize search for .tar extension, avoiding
looking for specific compression types.

10 years ago2013-09-13 Joey Ye <joey.ye@arm.com>
Jeff Johnston [Fri, 13 Sep 2013 16:51:48 +0000 (16:51 +0000)]
2013-09-13  Joey Ye  <joey.ye@arm.com>

* libc/stdlib/nano-mallocr.c (nano_allopt): Typo fixed to ...
(nano_mallopt): ... this.

10 years ago2013-09-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Thu, 12 Sep 2013 22:05:43 +0000 (22:05 +0000)]
2013-09-12  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libc/include/sys/cdefs.h: Synchronize with latest FreeBSD
        version.
        * libc/include/stdatomic.h: Likewise.

10 years ago* libc/include/search.h (__compar_fn_t): Add typedef.
Yaakov Selkowitz [Sun, 8 Sep 2013 07:11:33 +0000 (07:11 +0000)]
* libc/include/search.h (__compar_fn_t): Add typedef.
(tdelete, tfind, tsearch): Use it.
* libc/include/stdlib.h (__compar_fn_t): Add typedef.
(bsearch, qsort): Use it.

10 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Belatedly bump
Corinna Vinschen [Sat, 31 Aug 2013 18:05:31 +0000 (18:05 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Belatedly bump
to 25.

10 years ago * heap.cc (RAISEHEAP_SIZE): New definition.
Corinna Vinschen [Sat, 31 Aug 2013 10:21:48 +0000 (10:21 +0000)]
* heap.cc (RAISEHEAP_SIZE): New definition.
(user_heap_info::sbrk): Make failed commit an error condition again.
Only reserve RAISEHEAP_SIZE sized chunk for further heap reservations
by default.

10 years ago*** empty log message ***
Corinna Vinschen [Fri, 30 Aug 2013 21:42:40 +0000 (21:42 +0000)]
*** empty log message ***

10 years ago.
Christopher Faylor [Fri, 30 Aug 2013 21:33:43 +0000 (21:33 +0000)]
.

10 years ago* cygheap.h (user_heap_info::sbrk): Declare new function.
Christopher Faylor [Fri, 30 Aug 2013 21:02:02 +0000 (21:02 +0000)]
* cygheap.h (user_heap_info::sbrk): Declare new function.
(user_heap_info::init): Ditto.
* heap.cc (user_heap_info::init): Rename from heap_init().  Avoid explictly
using cygheap->user_heap.
(sbrk): Use user_heap_info method via cygheap->user_heap.
(user_heap_info::sbrk): Renamed from sbrk().  Eliminate explicit use of
cygheap->user_heap.  Change some pointer arithmetic to use (char *) for
consistency.
* shared.cc (shared_info::initialize): Change heap_init call to
cygheap->user_heap.init.

10 years ago*** empty log message ***
Corinna Vinschen [Fri, 30 Aug 2013 20:01:22 +0000 (20:01 +0000)]
*** empty log message ***

10 years ago * heap.cc (sbrk): Add a FIXME comment to VirtualFree call. Fix memory
Corinna Vinschen [Fri, 30 Aug 2013 20:01:10 +0000 (20:01 +0000)]
* heap.cc (sbrk): Add a FIXME comment to VirtualFree call.  Fix memory
reservation and commit strategy when more memory is requested than
available on the heap.  Release newly reserved memory if commiting
it fails.  Add more comments to explain what we do.

10 years ago * fhandler_tape.cc (mtinfo_drive::open): Handle bus reset gracefully
Corinna Vinschen [Fri, 30 Aug 2013 17:39:11 +0000 (17:39 +0000)]
* fhandler_tape.cc (mtinfo_drive::open): Handle bus reset gracefully
after opening the device.

10 years ago* sigproc.cc (pending_signals::add): Properly maintain linked list.
Christopher Faylor [Fri, 30 Aug 2013 15:44:57 +0000 (15:44 +0000)]
* sigproc.cc (pending_signals::add): Properly maintain linked list.
(wait_sig): Use already calculated 'next' element when signal is blocked.

11 years ago * mtinfo.h (class mtinfo_part): Change type of block numbers to int64_t.
Corinna Vinschen [Mon, 26 Aug 2013 16:14:40 +0000 (16:14 +0000)]
* mtinfo.h (class mtinfo_part): Change type of block numbers to int64_t.
(mtinfo_part::initialize): Ditto for nblock parameter in declaration.
(class mtinfo_drive): Change type of block number to int64_t.  Change
all parameters indicating a block number to int64_t in method
declarations.
* fhandler_tape.cc (mtinfo_part::initialize): Ditto in definition.
(mtinfo_drive::get_pos): Ditto.  Replace low and high with a
ULARGE_INTEGER and use it's components in call to GetTapePosition.
Store full value in block.
(mtinfo_drive::_set_pos): Change type of count parameter to int64_t.
Change call to SetTapePosition accordingly.
(mtinfo_drive::set_pos): Change type of count parameter to int64_t.
Change local variables holding block numbers accordingly.
(mtinfo_drive::get_status): Don't bail out early if fetching media
parameters fails.
(mtinfo_drive::ioctl): Add explicit cast matching receiving type in
MTTELL and MTIOCPOS calls.

11 years ago * flock.cc (lockf_t::from_obj_name): Fix test for valid pid.
Corinna Vinschen [Fri, 23 Aug 2013 20:40:27 +0000 (20:40 +0000)]
* flock.cc (lockf_t::from_obj_name): Fix test for valid pid.

11 years ago* cygcheck.cc (package_grep): Accommodate arch-specific package layout.
Christopher Faylor [Fri, 23 Aug 2013 19:56:26 +0000 (19:56 +0000)]
* cygcheck.cc (package_grep): Accommodate arch-specific package layout.

11 years agocygwin changes:
Christopher Faylor [Fri, 23 Aug 2013 18:19:46 +0000 (18:19 +0000)]
cygwin changes:
* spawn.cc (child_info_spawn): Revert previous change.  Always set
lpReserved2.
* release/1.7.25: Change wording.
doc changes:
* new-features.xml (ov-new1.7.25): Change wording.

11 years ago* child_info.h (PROC_MAGIC_GENERIC): Define differently for x86 vs. x86_64.
Christopher Faylor [Fri, 23 Aug 2013 14:32:28 +0000 (14:32 +0000)]
* child_info.h (PROC_MAGIC_GENERIC): Define differently for x86 vs.  x86_64.

11 years ago * new-features.xml (ov-new1.7.25): Add new section.
Corinna Vinschen [Fri, 23 Aug 2013 09:46:41 +0000 (09:46 +0000)]
* new-features.xml (ov-new1.7.25): Add new section.

11 years ago*** empty log message ***
Corinna Vinschen [Fri, 23 Aug 2013 09:43:58 +0000 (09:43 +0000)]
*** empty log message ***

11 years ago * path.h (enum path_types): Drop definition of PATH_64BITEXEC.
Corinna Vinschen [Fri, 23 Aug 2013 09:29:25 +0000 (09:29 +0000)]
* path.h (enum path_types): Drop definition of PATH_64BITEXEC.
(path_conv::iscygexec32): Drop unused inline function.
(path_conv::iscygexec64): Ditto.
(path_conv::set_cygexec): Remove unnecessary setting of PATH_64BITEXEC.
* spawn.cc (child_info_spawn::worker): Disable setting of
STARTUPINFOW::lpReserved2 and STARTUPINFOW::cbReserved2 for non-Cygwin
child processes.  Explain why.

11 years ago PR binutils/15834
Nick Clifton [Fri, 23 Aug 2013 07:54:19 +0000 (07:54 +0000)]
PR binutils/15834
Fix typos:
---
 bfd/bfdio.c                                  |  2 +-
 bfd/elf32-spu.c                              |  2 +-
 bfd/elfnn-aarch64.c                          |  2 +-
 binutils/od-xcoff.c                          |  2 +-
 config/tcl.m4                                |  2 +-
 gas/config/tc-ia64.c                         |  2 +-
 gas/config/tc-sparc.c                        |  2 +-
 gas/config/tc-z80.c                          | 12 ++++++------
 gas/doc/c-i386.texi                          |  6 +++---
 gas/doc/c-m32r.texi                          |  2 +-
 gas/testsuite/gas/d10v/instruction_packing.d |  2 +-
 gas/testsuite/gas/z80/atend.d                |  2 +-
 gold/object.h                                |  2 +-
 include/gdb/remote-sim.h                     |  2 +-
 include/opcode/ChangeLog                     |  2 +-
 include/opcode/i960.h                        |  2 +-
 ld/testsuite/ld-mips-elf/mips16-pic-1.inc    |  2 +-
 opcodes/aarch64-asm.c                        |  2 +-
 opcodes/aarch64-dis.c                        |  2 +-
 opcodes/msp430-dis.c                         |  2 +-

11 years ago * fhandler_tape.cc (mtinfo_drive::create_partitions): Allow partitioning
Corinna Vinschen [Wed, 21 Aug 2013 20:28:12 +0000 (20:28 +0000)]
* fhandler_tape.cc (mtinfo_drive::create_partitions): Allow partitioning
of drives supporting select partitions.
(mtinfo_drive::get_status): Fill in current partition and number of
partitions on tape into mt_resid.
* include/cygwin/mtio.h (struct mtget): Align mt_resid comment to
aforementioned change.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

11 years ago * fhandler_tape.cc (mtinfo_drive::create_partitions): Fix long-standing
Corinna Vinschen [Tue, 20 Aug 2013 20:17:14 +0000 (20:17 +0000)]
* fhandler_tape.cc (mtinfo_drive::create_partitions): Fix long-standing
bug disabling creation of two partitions on drives supporting initiator
partitions.
(mtinfo_drive::set_blocksize): Update media information after setting
blocksize succeeded.
(mtinfo_drive::get_status): Fetch fresh media information.

11 years agomerge from gcc
DJ Delorie [Tue, 20 Aug 2013 06:02:49 +0000 (06:02 +0000)]
merge from gcc

11 years agoinclude/opcode/
Richard Sandiford [Mon, 19 Aug 2013 19:56:44 +0000 (19:56 +0000)]
include/opcode/
* mips.h: Remove references to "+I" and imm2_expr.

gas/
* config/tc-mips.c (imm2_expr): Delete.
(md_assemble, match_insn, imm2_expr.X_op, mips_ip): Update accordingly.

11 years agoinclude/opcode/
Richard Sandiford [Mon, 19 Aug 2013 19:54:40 +0000 (19:54 +0000)]
include/opcode/
* mips.h (M_DEXT, M_DINS): Delete.

opcodes/
* micromips-opc.c (micromips_opcodes): Replace "dext" and "dins"
macro entries with "dextm", "dextu", "dinsm" and "dinsu" aliases.
Use +H rather than +C for the real "dext".
* mips-opc.c (mips_builtin_opcodes): Likewise.

gas/
* config/tc-mips.c (report_bad_range, report_bad_field): Delete.
(macro): Remove M_DEXT and M_DINS handling.

gas/testsuite/
* gas/mips/ext-ill.l, gas/mips/mips64r2-ill.l: Expect DEXT and DINS
error messages to have the same form as the EXT and INS ones.
* gas/mips/micromips-insn32.d, gas/mips/micromips-noinsn32.d,
gas/mips/micromips-trap.d, gas/mips/micromips.d,
gas/mips/micromips@mips64r2.d, gas/mips/mips64r2.d: Expect
"dext" and "dins" instead of "dextm", "dextu", "dinsm" and "dinsu".

11 years agoinclude/opcode/
Richard Sandiford [Mon, 19 Aug 2013 18:56:59 +0000 (18:56 +0000)]
include/opcode/
* mips.h (OP_OPTIONAL_REG): New mips_operand_type.
(mips_optional_operand_p): New function.

opcodes/
* mips-formats.h (OPTIONAL_REG, OPTIONAL_MAPPED_REG): New macros.
* micromips-opc.c (decode_micromips_operand): Use OPTIONAL_REG
and OPTIONAL_MAPPED_REG.
* mips-opc.c (decode_mips_operand): Likewise.
* mips16-opc.c (decode_mips16_operand): Likewise.
* mips-dis.c (print_insn_arg): Handle OP_OPTIONAL_REG.

gas/
* config/tc-mips.c (operand_reg_mask, match_operand): Handle
OP_OPTIONAL_REG.
(mips_ip, mips16_ip): Use mips_optional_operand_p to check
for optional operands.

11 years ago * lc_msg.h: Regenerate.
Corinna Vinschen [Mon, 19 Aug 2013 16:21:29 +0000 (16:21 +0000)]
* lc_msg.h: Regenerate.
* nlsfuncs.cc (__get_lcid_from_locale): Update list of Script-only
locales to Windows 8.
(__set_charset_from_locale): Take locales added with Windows 8 and 8.1
into account.

11 years ago * fhandler_tape.cc (mtinfo_drive::set_pos): Remove unneeded linebreak.
Corinna Vinschen [Mon, 19 Aug 2013 10:24:37 +0000 (10:24 +0000)]
* fhandler_tape.cc (mtinfo_drive::set_pos): Remove unneeded linebreak.
(mtinfo_drive::get_status): Drop using get_ll when it's not required.

11 years ago * libc/stdlib/__atexit.c (__register_exitproc): NULL-ify
Corinna Vinschen [Mon, 19 Aug 2013 09:03:42 +0000 (09:03 +0000)]
* libc/stdlib/__atexit.c (__register_exitproc): NULL-ify
_on_exit_args_ptr when creating a new _atexit structure while
_REENT_SMALL is defined.

11 years agosrc-release: Strip "-cvs" from GDB source dir and tarball.
Joel Brobecker [Sat, 17 Aug 2013 01:07:52 +0000 (01:07 +0000)]
src-release: Strip "-cvs" from GDB source dir and tarball.

The nightly snapshots we have been creating in the past did not
include the "-cvs" suffix at the end of the version number. Snapshot
packaging started breaking ever since GDB switched to using BFD's
version number. Things got partially fixed with the previous change
to this file, but the change missed the fact that the "-cvs" suffix
in the tarball name (Eg: gdb-7.6.50-20130816-cvs.tar) is undesirable.
This patch removes it.

ChangeLog:

        * src-release (VER): When using $(TOOL)/common/create-version.sh,
        strip the "-cvs" suffix from the version number if present.

11 years agoDrop redundant entry
Corinna Vinschen [Thu, 15 Aug 2013 09:49:51 +0000 (09:49 +0000)]
Drop redundant entry

11 years ago * new-features.xml (ov-new1.7.24): Add new section. Mention
Corinna Vinschen [Wed, 14 Aug 2013 11:44:46 +0000 (11:44 +0000)]
* new-features.xml (ov-new1.7.24): Add new section.  Mention
posix_memalign override.

11 years ago * include/sys/cygwin.h (struct per_process): Add posix_memalign. Reduce
Corinna Vinschen [Wed, 14 Aug 2013 11:44:23 +0000 (11:44 +0000)]
* include/sys/cygwin.h (struct per_process): Add posix_memalign.  Reduce
size of unused2 accordingly.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Initialize
u->posix_memalign with address of posix_memalign.
* malloc_wrapper.cc (posix_memalign): Call user-provided posix_memalign
rather than just returning ENOSYS.
* globals.cc (__cygwin_user_data): Initialize posix_memalign member.

11 years ago2013-08-12 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Mon, 12 Aug 2013 11:36:35 +0000 (11:36 +0000)]
2013-08-12  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Sync with GCC repo.
* Makefile.def: Ditto.
* configure: Regenerate.
* Makefile.in: Ditto.

11 years ago * libc/configure.in (--enable-newlib-wchar-orient): Remove.
Corinna Vinschen [Mon, 12 Aug 2013 11:31:53 +0000 (11:31 +0000)]
* libc/configure.in (--enable-newlib-wchar-orient): Remove.
* libc/configure: Regenerated.
* libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Remove.
* libc/stdio/Makefile.in: Regenerated.

11 years agoFix space
Corinna Vinschen [Mon, 12 Aug 2013 11:29:07 +0000 (11:29 +0000)]
Fix space

11 years ago * libc/sys/arm/crt0.S: Remove 'start'.
Corinna Vinschen [Mon, 12 Aug 2013 11:28:28 +0000 (11:28 +0000)]
* libc/sys/arm/crt0.S: Remove 'start'.

11 years ago * aarch64/crt0.S: Remove 'start'.
Corinna Vinschen [Mon, 12 Aug 2013 11:27:37 +0000 (11:27 +0000)]
* aarch64/crt0.S: Remove 'start'.
* arm/crt0.S: Ditto.
* arm/redboot-crt0.S: Ditto.

11 years ago * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10
Nick Clifton [Fri, 9 Aug 2013 10:40:04 +0000 (10:40 +0000)]
* elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10
flag bits do not match.
(rl78_elf_print_private_bfd_data): Describe G10 flag.

* readelf.c (get_machine_flags): Handle RL78 G10 flag.

* config/tc-rl78.c (elf_flags): New variable.
(enum options): Add OPTION_G10.
(md_longopts): Add mg10.
(md_parse_option): Parse -mg10.
(rl78_elf_final_processing): New function.
* config/tc-rl78.c (tc_final_processing): Define.
* doc/c-rl78.texi: Document -mg10 option.

* rl78.c (E_FLAG_RL78_G10): Define.

* lib/ld-lib.exp (check_shared_lib_support): Note that the RL78
does not support shared library generation.

11 years ago* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 24.
Corinna Vinschen [Fri, 9 Aug 2013 09:12:55 +0000 (09:12 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 24.

11 years ago2013-08-08 Freddie Chopin <freddie_chopin@op.pl>
Joel Sherrill [Thu, 8 Aug 2013 15:17:09 +0000 (15:17 +0000)]
2013-08-08  Freddie Chopin  <freddie_chopin@op.pl>

* libc/string/strncat.c: Fix typo in documentation.

11 years agomerge from gcc
DJ Delorie [Wed, 7 Aug 2013 15:04:28 +0000 (15:04 +0000)]
merge from gcc

11 years ago * fhandler_disk_file.cc (fhandler_base::open_fs): Fix indentation.
Corinna Vinschen [Wed, 7 Aug 2013 09:04:39 +0000 (09:04 +0000)]
* fhandler_disk_file.cc (fhandler_base::open_fs): Fix indentation.

11 years agogas/
Eric Botcazou [Mon, 5 Aug 2013 16:11:06 +0000 (16:11 +0000)]
gas/
* config/tc-sparc.c (sparc_arch_types): Add leon.
(sparc_arch): Move sparc4 around and add leon.
(sparc_target_format): Document -Aleon.
* doc/c-sparc.texi: Likewise.
include/
* opcode/sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_LEON.
opcodes/
* sparc-dis.c (compute_arch_mask): Set SPARC_OPCODE_ARCH_LEON bit for
bfd_mach_sparc.
* sparc-opc.c (MASK_LEON): Define.
(v6, v6notlet, v7, v8, v6notv9): Add MASK_LEON.
(letandleon): New macro.
(v9andleon): Likewise.
(sparc_opc): Add leon.
(umac): Enable for letandleon.
(smac): Likewise.
(casa): Enable for v9andleon.
(cas): Likewise.
(casl): Likewise.

This page took 0.070597 seconds and 5 git commands to generate.