]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 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.

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

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

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

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

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

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

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

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

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

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

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

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

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

11 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".

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

11 years agoRemove:
Mike Stump [Mon, 5 Aug 2013 16:05:32 +0000 (16:05 +0000)]
Remove:
2013-07-10  Jack Howarth  <howarth@bromo.med.uc.edu>

       PR target/57792
       * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
       * configure: Regenerated.

11 years agoinclude/opcode/
Richard Sandiford [Sun, 4 Aug 2013 07:31:38 +0000 (07:31 +0000)]
include/opcode/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* mips.h: Document new VU0 operand characters.
(OP_VU0_SUFFIX, OP_VU0_MATCH_SUFFIX): New mips_operand_types.
(OP_REG_VF, OP_REG_VI, OP_REG_R5900_I, OP_REG_R5900_Q, OP_REG_R5900_R)
(OP_REG_R5900_ACC): New mips_reg_operand_types.
(INSN2_VU0_CHANNEL_SUFFIX): New macro.
(mips_vu0_channel_mask): Declare.

opcodes/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* mips-dis.c (print_reg): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I,
OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC.
(print_vu0_channel): New function.
(print_insn_arg): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(print_insn_args): Handle '#'.
(print_insn_mips): Handle INSN2_VU0_CHANNEL_SUFFIX.
* mips-opc.c (mips_vu0_channel_mask): New constant.
(decode_mips_operand): Handle new VU0 operand types.
(VU0, VU0CH): New macros.
(mips_builtin_opcodes): Add VU0 opcodes.  Use "+7" rather than "E"
for LQC2 and SQC2.  Use "+9" rather than "G" for EE CFC2 and CTC2.
Use "+6" rather than "G" for QMFC2 and QMTC2.

gas/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* config/tc-mips.c (MAX_OPERANDS): Bump to 6.
(RWARN): Bump to 0x8000000.
(RTYPE_VI, RTYPE_VF, RTYPE_R5900_I, RTYPE_R5900_Q, RTYPE_R5900_R)
(RTYPE_R5900_ACC): New register types.
(RTYPE_MASK): Include them.
(R5900_I_NAMES, R5900_Q_NAMES, R5900_R_NAMES, R5900_ACC_NAMES): New
macros.
(reg_names): Include them.
(mips_parse_register_1): New function, split out from...
(mips_parse_register): ...here.  Add a channels_ptr parameter.
Look for VU0 channel suffixes when nonnull.
(reg_lookup): Update the call to mips_parse_register.
(mips_parse_vu0_channels): New function.
(OT_CHANNELS, OT_DOUBLE_CHAR): New mips_operand_token_types.
(mips_operand_token): Add a "channels" field to the union.
Extend the comment above "ch" to OT_DOUBLE_CHAR.
(mips_parse_base_start): Match -- and ++.  Handle channel suffixes.
(mips_parse_argument_token): Handle channel suffixes here too.
(validate_mips_insn): Handle INSN2_VU0_CHANNEL_SUFFIX.
Ignore OP_VU0_MATCH_SUFFIX when calculating the used bits.
Handle '#' formats.
(md_begin): Register $vfN and $vfI registers.
(operand_reg_mask): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(convert_reg_type): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I,
OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC.
(match_vu0_suffix_operand): New function.
(match_operand): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(macro): Use "+7" rather than "E" for LDQ2 and STQ2.
(mips_lookup_insn): New function.
(mips_ip): Use it.  Allow "+K" operands to be elided at the end
of an instruction.  Handle '#' sequences.

gas/testsuite/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>

* gas/mips/r5900-vu0.d: Expect $vfN and $viN instead of numeric
coprocessor registers.
* gas/mips/r5900-all-vu0.s, gas/mips/r5900-all-vu0.d,
gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d,
gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l: New tests.
* gas/mips/mips.exp: Run them.

11 years agoinclude/opcode/
Richard Sandiford [Sat, 3 Aug 2013 10:49:47 +0000 (10:49 +0000)]
include/opcode/
* mips.h (mips_pcrel_operand): Inherit from mips_int_operand.
(mips_int_operand_min, mips_int_operand_max): New functions.
(mips_decode_pcrel_operand): Use mips_decode_int_operand.

opcodes/
* mips-formats.h (PCREL): Reorder parameters and update the definition
to match new mips_pcrel_operand layout.
(JUMP, JALX, BRANCH): Update accordingly.
* mips16-opc.c (decode_mips16_operand): Likewise.

gas/
* config/tc-mips.c (match_int_operand): Use mips_int_operand_min
and mips_int_operand_max.
(mips16_immed_operand, mips16_immed_operands, MIPS16_NUM_IMMED):
Delete.
(mips16_immed_operand, mips16_immed_in_range_p): New functions.
(mips16_immed, mips16_extended_frag): Use them.  Use mips_int_operand
instead of mips16_immed_operand.

11 years ago * libc/include/stdio_ext.h (__fbufsize): Define as inline function for
Corinna Vinschen [Fri, 2 Aug 2013 07:52:09 +0000 (07:52 +0000)]
* libc/include/stdio_ext.h (__fbufsize): Define as inline function for
gcc, as macro otherwise.
(__freading): Ditto.
(__fwriting): Ditto.
(__freadable): Ditto.
(__fwriteable): Ditto.
(__flbf): Ditto.
(__fpending): Ditto.

11 years agoinclude/opcode/
Richard Sandiford [Thu, 1 Aug 2013 20:55:24 +0000 (20:55 +0000)]
include/opcode/
* mips.h (mips_decode_reg_operand): New function.
(INSN_WRITE_SHIFT, INSN_WRITE_1, INSN_WRITE_2, INSN_WRITE_ALL)
(INSN_READ_SHIFT, INSN_READ_1, INSN_READ_2, INSN_READ_3, INSN_READ_4)
(INSN_READ_ALL, INSN_READ_GPR_24, INSN_WRITE_GPR_24, INSN_UDI):
New macros.
(INSN_WRITE_GPR_D, INSN_WRITE_GPR_T, INSN_WRITE_FPR_D)
(INSN_WRITE_FPR_S, INSN_WRITE_FPR_T, INSN_READ_GPR_S, INSN_READ_GPR_T)
(INSN_READ_FPR_S, INSN_READ_FPR_T, INSN_READ_FPR_R, INSN_WRITE_GPR_S)
(INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z, INSN2_READ_GPR_Z)
(INSN2_READ_FPR_Z, INSN2_READ_GPR_D, INSN2_READ_FPR_D)
(INSN2_WRITE_GPR_MB, INSN2_READ_GPR_MC, INSN2_MOD_GPR_MD)
(INSN2_READ_GPR_ME, INSN2_MOD_GPR_MF, INSN2_READ_GPR_MG)
(INSN2_READ_GPR_MJ, INSN2_WRITE_GPR_MJ, INSN2_READ_GPR_MP)
(INSN2_WRITE_GPR_MP, INSN2_READ_GPR_MQ, INSN2_READ_GP)
(INSN2_WRITE_GPR_MH, INSN2_READ_GPR_MMN): Delete.  Renumber other
macros to cover the gaps.
(INSN2_MOD_SP): Replace with...
(INSN2_WRITE_SP, INSN2_READ_SP): ...these new macros.
(MIPS16_INSN_WRITE_X, MIPS16_INSN_WRITE_Y, MIPS16_INSN_WRITE_Z)
(MIPS16_INSN_WRITE_T, MIPS16_INSN_WRITE_31, MIPS16_INSN_WRITE_GPR_Y)
(MIPS16_INSN_READ_X, MIPS16_INSN_READ_Y, MIPS16_INSN_READ_Z)
(MIPS16_INSN_READ_T, MIPS16_INSN_READ_SP, MIPS16_INSN_READ_GPR_X):
Delete.

opcodes/
* mips-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2, UDI):
New macros.
(WR_d, WR_t, WR_D, WR_T, WR_S, RD_s, RD_b, RD_t, RD_S, RD_T, RD_R)
(WR_z, WR_Z, RD_z, RD_Z, RD_d): Delete.
(mips_builtin_opcodes): Use the new position-based read-write flags
instead of field-based ones.  Use UDI for "udi..." instructions.
* mips16-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2):
New macros.
(WR_x, WR_y, WR_z, WR_Y, RD_x, RD_y, RD_Z, RD_X): Delete.
(RD_T, WR_T, WR_31): Redefine using generic INSN_* flags.
(WR_SP, RD_16): New macros.
(RD_SP): Redefine as an INSN2_* flag.
(MOD_SP): Redefine in terms of RD_SP and WR_SP.
(mips16_opcodes): Use the new position-based read-write flags
instead of field-based ones.  Use RD_16 for "nop".  Move RD_SP to
pinfo2 field.
* micromips-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2):
New macros.
(WR_mb, RD_mc, RD_md, WR_md, RD_me, RD_mf, WR_mf, RD_mg, WR_mh, RD_mj)
(WR_mj, RD_ml, RD_mmn, RD_mp, WR_mp, RD_mq, RD_gp, WR_d, WR_t, WR_D)
(WR_T, WR_S, RD_s, RD_b, RD_t, RD_T, RD_S, RD_R, RD_D): Delete.
(RD_sp, WR_sp): Redefine to INSN2_READ_SP and INSN2_WRITE_SP.
(micromips_opcodes): Use the new position-based read-write flags
instead of field-based ones.
* mips-dis.c (print_insn_arg): Use mips_decode_reg_operand.
(print_insn_mips, print_insn_micromips): Use INSN_WRITE_1 instead
of field-based flags.

gas/
* config/tc-mips.c (MAX_OPERANDS): New macro.
(mips_operand_array): New structure.
(mips_operands, mips16_operands, micromips_operands): New arrays.
(micromips_to_32_reg_b_map, micromips_to_32_reg_c_map)
(micromips_to_32_reg_e_map, micromips_to_32_reg_f_map)
(micromips_to_32_reg_g_map, micromips_to_32_reg_l_map)
(micromips_to_32_reg_q_map): Delete.
(insn_operands, insn_opno, insn_extract_operand): New functions.
(validate_mips_insn): Take a mips_operand_array as argument and
use it to build up a list of operands.  Extend to handle INSN_MACRO
and MIPS16.
(validate_mips16_insn): New function.
(validate_micromips_insn): Take a mips_operand_array as argument.
Handle INSN_MACRO.
(md_begin): Initialize mips_operands, mips16_operands and
micromips_operands.  Call validate_mips_insn and
validate_micromips_insn for macro instructions too.
Call validate_mips16_insn for MIPS16 instructions.
(insn_read_mask, insn_write_mask, operand_reg_mask, insn_reg_mask):
New functions.
(gpr_read_mask, gpr_write_mask, fpr_read_mask, fpr_write_mask): Use
them.  Handle INSN_UDI.
(get_append_method): Use gpr_read_mask.

11 years agoinclude/opcode/
Richard Sandiford [Thu, 1 Aug 2013 20:40:23 +0000 (20:40 +0000)]
include/opcode/
* mips.h (MIPS16_INSN_WRITE_SP, MIPS16_INSN_READ_31)
(MIPS16_INSN_READ_PC, MIPS16_INSN_UNCOND_BRANCH)
(MIPS16_INSN_COND_BRANCH): Delete.

opcodes/
* mips16-opc.c (UBR, CBR, RD_31, RD_PC): Redefine as INSN2_* flags.
(WR_SP): Replace with...
(MOD_SP): ...this.
(mips16_opcodes): Update accordingly.
* mips-dis.c (print_insn_mips16): Likewise.

gas/
* config/tc-mips.c (compact_branch_p, uncond_branch_p): Use the same
flags for MIPS16 and non-MIPS16 instructions.
(gpr_mod_mask): Move the INSN2_MOD_SP case outside the micromips block.
(gpr_read_mask): Use INSN2_READ_GPR_31 for MIPS16 instructions too.
(gpr_write_mask): Remove MIPS16_INSN_WRITE_SP handling.
(can_swap_branch_p, get_append_method): Use the same flags for MIPS16
and non-MIPS16 instructions.  Fix formatting.

11 years ago* fhandler_tty.cc: Revert accidental checkin.
Christopher Faylor [Wed, 31 Jul 2013 15:19:18 +0000 (15:19 +0000)]
* fhandler_tty.cc: Revert accidental checkin.
* update-copyright: Ditto.

11 years ago* cygheap.cc (cmalloc): Use size_t for size field.
Christopher Faylor [Wed, 31 Jul 2013 14:43:05 +0000 (14:43 +0000)]
* cygheap.cc (cmalloc): Use size_t for size field.
(cmalloc_abort): Ditto.
(crealloc): Ditto.
(crealloc_abort): Ditto.
(ccalloc): Ditto.
(ccalloc_abort): Ditto.
* cygheap_malloc.h (HEAP_USER): Add.
(cmalloc): Use size_t for size field in declaration.
(cmalloc_abort): Ditto.
(crealloc): Ditto.
(crealloc_abort): Ditto.
(ccalloc): Ditto.
(ccalloc_abort): Ditto.
* path.cc (normalize_posix_path): Don't check existence of / or // dir in
parent dir check.

11 years ago*** empty log message ***
Corinna Vinschen [Wed, 31 Jul 2013 10:32:46 +0000 (10:32 +0000)]
*** empty log message ***

11 years ago * path.cc (normalize_posix_path): Don't check existence of / or // dir
Corinna Vinschen [Wed, 31 Jul 2013 10:26:51 +0000 (10:26 +0000)]
* path.cc (normalize_posix_path): Don't check existence of / or // dir
in parent dir check.

11 years ago * Makefile.in (MINGW_LDFLAGS): Don't link against w32api libs. These
Corinna Vinschen [Wed, 31 Jul 2013 09:58:55 +0000 (09:58 +0000)]
* Makefile.in (MINGW_LDFLAGS): Don't link against w32api libs.  These
are only for Cygwin executables.

11 years agoFix typo
Corinna Vinschen [Tue, 30 Jul 2013 16:14:34 +0000 (16:14 +0000)]
Fix typo

11 years ago*** empty log message ***
Corinna Vinschen [Tue, 30 Jul 2013 08:06:04 +0000 (08:06 +0000)]
*** empty log message ***

11 years ago * Makefile.in (cyglsa.dll): Explicitely specify DLL entry point to
Corinna Vinschen [Mon, 29 Jul 2013 18:57:16 +0000 (18:57 +0000)]
* Makefile.in (cyglsa.dll): Explicitely specify DLL entry point to
harden against gcc function and block reordering optimizations.
(cyglsa64.dll): Ditto.

11 years agocygwin directory changes:
Christopher Faylor [Fri, 26 Jul 2013 17:28:00 +0000 (17:28 +0000)]
cygwin directory changes:
* environ.cc (tty_is_gone): Delete.
(known): Delete tty, add wincmdln.
* globals.cc: Reorganize list of environment bools, remove explicit =
false for slight load time optimization.
(wincmdln): New global.
* spawn.cc (child_info_spawn::worker): Honor wincmdln.

doc directory changes:
* new-features.sgml (ov-new1.7.23): Add new section.  Mention wincmdln.
* cygwinenv.xml: Mention wincmdln.

11 years ago * gcc.xml (gcc-64): Fix example.
Corinna Vinschen [Thu, 25 Jul 2013 09:09:14 +0000 (09:09 +0000)]
* gcc.xml (gcc-64): Fix example.

11 years ago * gcc.xml (gcc-default: Rename from gcc-cons. Change title.
Corinna Vinschen [Thu, 25 Jul 2013 09:04:21 +0000 (09:04 +0000)]
* gcc.xml (gcc-default: Rename from gcc-cons.  Change title.
(gcc-64): New section explaininig differences in programming for
64 bit Cygwin.
(gcc-gui): Simplify description and aim at UNIX/Linux developers only.
Note that X programming is preferred.  Drop example.

11 years ago2013-07-24 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 24 Jul 2013 22:32:51 +0000 (22:32 +0000)]
2013-07-24  Steve Ellcey  <sellcey@mips.com>

* mips/idtmon.S (unlink, lseek, stat): Add new functions.

11 years agoSupport Intel MPX
H.J. Lu [Wed, 24 Jul 2013 15:47:25 +0000 (15:47 +0000)]
Support Intel MPX

gas/

2013-07-24  Anna Tikhonova  <anna.tikhonova@intel.com>
    Kirill Yukhin  <kirill.yukhin@intel.com>
    Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

* config/tc-i386.c (BND_PREFIX): New.
(struct _i386_insn): Add new field bnd_prefix.
(add_bnd_prefix): New.
(cpu_arch): Add MPX.
(i386_operand_type): Add regbnd.
(md_assemble): Handle BND prefixes.
(parse_insn): Likewise.
(output_branch): Likewise.
(output_jump): Likewise.
(build_modrm_byte): Handle regbnd.
(OPTION_MADD_BND_PREFIX): New.
(md_longopts): Add entry for 'madd-bnd-prefix'.
(md_parse_option): Handle madd-bnd-prefix option.
(md_show_usage): Add description for madd-bnd-prefix
option.
* doc/c-i386.texi: Document mpx/.mpx and -madd-bnd-prefix.

gas/testsuite/

2013-07-24  Anna Tikhonova  <anna.tikhonova@intel.com>
    Kirill Yukhin  <kirill.yukhin@intel.com>
    Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

* gas/i386/mpx-add-bnd-prefix.s: New.
* gas/i386/mpx-add-bnd-prefix.d: New.
* gas/i386/mpx-inval-1.l: New.
* gas/i386/mpx-inval-1.s: New.
* gas/i386/mpx.d: New.
* gas/i386/mpx.s: New.
* gas/i386/x86-64-mpx-add-bnd-prefix.d: New.
* gas/i386/x86-64-mpx-add-bnd-prefix.s: New.
* gas/i386/x86-64-mpx-addr32.d: New.
* gas/i386/x86-64-mpx-addr32.s: New.
* gas/i386/x86-64-mpx-inval-1.l: New.
* gas/i386/x86-64-mpx-inval-1.s: New.
* gas/i386/x86-64-mpx-inval-2.l: New.
* gas/i386/x86-64-mpx-inval-2.s: New.
* gas/i386/x86-64-mpx.d: New.
* gas/i386/x86-64-mpx.s: New.
* gas/i386/nops.d: Adjust to MPX changes.
* gas/i386/nops.s: Likewise.
* gas/i386/x86-64-nops.d: Likewise.
* gas/i386/x86-64-nops.s: Likewise.
* gas/i386/ilp32/x86-64-nops.d: Likewise.
* gas/i386/i386.exp: Run new MPX tests.

include/opcode/

2013-07-24  Anna Tikhonova  <anna.tikhonova@intel.com>
    Kirill Yukhin  <kirill.yukhin@intel.com>
    Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

* i386.h (BND_PREFIX_OPCODE): New.

opcodes/

2013-07-24  Anna Tikhonova  <anna.tikhonova@intel.com>
    Kirill Yukhin  <kirill.yukhin@intel.com>
    Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

* i386-dis.c (BND_Fixup): New.
(Ebnd): New.
(Ev_bnd): New.
(Gbnd): New.
(BND): New.
(v_bnd_mode): New.
(bnd_mode): New.
(MOD enum): Add new entries.
(PREFIX enum): Likewise.
(dis tables): Replace XX with BND for near branch and call
instructions.
(prefix_table): Add new entries.
(mod_table): Likewise.
(names_bnd): New.
(intel_names_bnd): New.
(att_names_bnd): New.
(BND_PREFIX): New.
(prefix_name): Handle BND_PREFIX.
(print_insn): Initialize names_bnd.
(intel_operand_size): Handle new modes.
(OP_E_register): Likewise.
(OP_E_memory): Likewise.
(OP_G): Likewise.
* i386-gen.c (cpu_flag_init): Add CpuMPX.
(cpu_flags): Add CpuMPX.
(operand_type_init): Add RegBND.
(opcode_modifiers): Add BNDPrefixOk.
(operand_types): Add RegBND.
* i386-init.h: Regenerate.
* i386-opc.h (CpuMPX): New.
(CpuUnused): Comment out.
(i386_cpu_flags): Add cpumpx.
(BNDPrefixOk): New.
(i386_opcode_modifier): Add bndprefixok.
(RegBND): New.
(i386_operand_type): Add regbnd.
* i386-opc.tbl: Add BNDPrefixOk to near jumps, calls and rets.
Add MPX instructions and bnd prefix.
* i386-reg.tbl: Add bnd0-bnd3 registers.
* i386-tbl.h: Regenerate.

11 years agoFix copyright date
Corinna Vinschen [Wed, 24 Jul 2013 14:21:13 +0000 (14:21 +0000)]
Fix copyright date

11 years ago*** empty log message ***
Corinna Vinschen [Wed, 24 Jul 2013 13:02:15 +0000 (13:02 +0000)]
*** empty log message ***

11 years ago * ntdll.h (struct _SEMAPHORE_BASIC_INFORMATION): Define.
Corinna Vinschen [Tue, 23 Jul 2013 14:15:20 +0000 (14:15 +0000)]
* ntdll.h (struct _SEMAPHORE_BASIC_INFORMATION): Define.
(enum _SEMAPHORE_INFORMATION_CLASS): Define.
(NtQuerySemaphore): Declare.
* thread.h (class semaphore): Add member startvalue.
(semaphore::fixup_before_fork): New inline method.
(semaphore::_fixup_before_fork): Declare.
* thread.cc (MTinterface::fixup_before_fork): Additionally call
semaphore::fixup_before_fork.
(semaphore::semaphore): Set currentvalue to -1.  Set startvalue to
incoming initializer value.
(semaphore::_getvalue): Just query semaphore using NtQuerySemaphore
rather then using WFSO/Release.
(semaphore::_post): Drop setting currentvalue.  It's not thread-safe.
(semaphore::_trywait): Ditto.
(semaphore::_timedwait): Ditto.
(semaphore::_wait): Ditto.
(semaphore::_fixup_before_fork): New method, setting currentvalue from
actual windows semaphore right before fork.
(semaphore::_fixup_after_fork): Drop kludge from 2013-07-10.  Drop
FIXME comment.

11 years ago * cygtls.cc (well_known_dlls): Add kernelbase.dll.
Corinna Vinschen [Tue, 23 Jul 2013 12:46:02 +0000 (12:46 +0000)]
* cygtls.cc (well_known_dlls): Add kernelbase.dll.

11 years ago * microblaze/_exception_handler.S: Adjust to be weak.
Corinna Vinschen [Tue, 23 Jul 2013 09:11:18 +0000 (09:11 +0000)]
* microblaze/_exception_handler.S: Adjust to be weak.

* microblaze/Makefile.in: Add LINUX_BSP.
* microblaze/elf-gloss-linux.ld: New file.
* microblaze/elf-gloss-linux.specs: Likewise.
* microblaze/linux-crt0.S: Likewise.
* microblaze/linux-inbyte.c: Likewise.
* microblaze/linux-outbyte.c: Likewise.
* microblaze/linux-syscalls-wrap.c: Likewise.
* microblaze/linux-syscalls.S: Likewise.
* microblaze/linux-syscalls.h: Likewise.

11 years ago * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c,
Corinna Vinschen [Tue, 23 Jul 2013 07:05:31 +0000 (07:05 +0000)]
* libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c,
libc/sys/linux/net/getnameinfo.c: Add restrict keyword to getnameinfo()
and getaddrinfo() to increase standards compliance and match glibc.

* libc/include/string.h, libc/string/memccpy.c, libc/string/memcpy.c,
libc/string/stpcpy.c, libc/string/stpncpy.c, libc/string/strcat.c,
libc/string/strncat.c, libc/string/strncpy.c, libc/string/strtok.c,
libc/string/strtok_r.c, libc/string/strxfrm.c
libc/machine/microblaze/strcpy.c, libc/machine/xscale/memcpy.c,
libc/machine/cris/memcpy.c: Add __restrict to prototype to
increase standards compliance.

11 years agosrc-release: Fix VER computation for TOOL=gdb
Joel Brobecker [Mon, 22 Jul 2013 15:17:20 +0000 (15:17 +0000)]
src-release: Fix VER computation for TOOL=gdb

Without this patch, the DATE marker in gdb/version.in does not get
replaced by the source packaging date, causing the name of the
tarball being created to: have the DATE marker in the tarball
name and the name of the directory the sources unpack to (Eg:
gdb-7.6.50-DATE-cvs.tar instead of gdb-7.6.50-20130710-cvs.tar).

ChangeLog:

        * src-release (VER): Use $(TOOL)/common/create-version.sh
        if it exists.

11 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 23.
Corinna Vinschen [Mon, 22 Jul 2013 15:08:54 +0000 (15:08 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 23.

11 years ago * new-features.sgml (ov-new1.7.22): Add GetCommandLine and regcomp
Corinna Vinschen [Sun, 21 Jul 2013 19:30:19 +0000 (19:30 +0000)]
* new-features.sgml (ov-new1.7.22): Add GetCommandLine and regcomp
changes.

11 years ago * regex/regcomp.c (wgetnext): Add a kludge to be more glibc compatible.
Corinna Vinschen [Sun, 21 Jul 2013 19:28:45 +0000 (19:28 +0000)]
* regex/regcomp.c (wgetnext): Add a kludge to be more glibc compatible.
Add comment to explain.

11 years ago * Makefile.in (cygwin-ug-net/cygwin-ug-net.html): Add dependency to
Corinna Vinschen [Sun, 21 Jul 2013 10:16:53 +0000 (10:16 +0000)]
* Makefile.in (cygwin-ug-net/cygwin-ug-net.html): Add dependency to
cygwin.xsl.
(cygwin-api/cygwin-api.html): Ditto.
(cygwin-ug-net/cygwin-ug-net.pdf): Add dependency to fo.xsl.
(cygwin-api/cygwin-api.pdf): Ditto.
(cygwin-api.xml): Drop "." path component from doctool dependency.
Change Makefile to Makefile.in dep.
(doctool): Drop "." path component from target.

11 years ago* exceptions.cc (signal_exit): Remove comment. Use __builtin_frame_address.
Christopher Faylor [Sat, 20 Jul 2013 17:11:44 +0000 (17:11 +0000)]
* exceptions.cc (signal_exit): Remove comment.  Use __builtin_frame_address.

11 years ago* exceptions.cc (signal_exit): Nope. Nevermind. Dump core unconditionally.
Christopher Faylor [Sat, 20 Jul 2013 16:19:51 +0000 (16:19 +0000)]
* exceptions.cc (signal_exit): Nope.  Nevermind.  Dump core unconditionally.

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