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

11 years ago * Makefile.in (cygwin-ug-net/cygwin-ug-net.pdf): Process input via
Corinna Vinschen [Sat, 20 Jul 2013 10:44:50 +0000 (10:44 +0000)]
* Makefile.in (cygwin-ug-net/cygwin-ug-net.pdf): Process input via
xsltproc and fop.
(cygwin-api/cygwin-api.pdf): Ditto.
* fo.xsl: New file.

11 years agoreword comment
Christopher Faylor [Fri, 19 Jul 2013 23:19:27 +0000 (23:19 +0000)]
reword comment

11 years ago* exceptions.cc (signal_exit): Add a FIXME comment.
Christopher Faylor [Fri, 19 Jul 2013 23:13:58 +0000 (23:13 +0000)]
* exceptions.cc (signal_exit): Add a FIXME comment.

11 years ago* exceptions.cc (signal_exit): Only dump core when it's a "kernel" signal.
Christopher Faylor [Fri, 19 Jul 2013 23:04:32 +0000 (23:04 +0000)]
* exceptions.cc (signal_exit): Only dump core when it's a "kernel" signal.
Only use RtlCaptureContext on x86_64.  It doesn't seem to do what's expected on
x86.

11 years ago* spawn.cc (child_info_spawn::worker): Reinstate using temp buffer for wide
Christopher Faylor [Fri, 19 Jul 2013 22:44:02 +0000 (22:44 +0000)]
* spawn.cc (child_info_spawn::worker): Reinstate using temp buffer for wide
character command-line storage.  Use wcs method to convert command line.
* winf.h (lb_wcs): Delete.
(linebuf::wcs): Implement new single-argument method.

11 years ago* lib/libcmain.c (main): Don't point to last quoted character if the only thing
Christopher Faylor [Fri, 19 Jul 2013 19:04:13 +0000 (19:04 +0000)]
* lib/libcmain.c (main): Don't point to last quoted character if the only thing
in the buffer is the program name.

11 years ago.
Christopher Faylor [Fri, 19 Jul 2013 17:45:18 +0000 (17:45 +0000)]
.

11 years agofix comment typo
Christopher Faylor [Fri, 19 Jul 2013 17:44:08 +0000 (17:44 +0000)]
fix comment typo

11 years ago.
Christopher Faylor [Fri, 19 Jul 2013 17:29:01 +0000 (17:29 +0000)]
.

11 years ago* common.din: Export GetCommandLine{A,W}.
Christopher Faylor [Fri, 19 Jul 2013 17:28:34 +0000 (17:28 +0000)]
* common.din: Export GetCommandLine{A,W}.
* kernel32.cc: Add includes needed for GetCommandLine functions.
(ucmd): New function.
(cygwin_GetCommandLineW): Ditto.
(cygwin_GetCommandLineA): Ditto.
* spawn.cc (child_info_spawn::worker): Rename one_line -> cmd.  Use lb_wcs
macro to generate a wide character version of the line buffer.  Remove
duplicate printing of command line.  Don't access members of linebuf directly.
* winf.h: Use pragma once.
(linebuf): Make storage private.
(linebuf::operator size_t): New operator.  Return size of buf.
(linebuf::operator wchar_t): New operator.
(linebuf::wcs): New function.
(lb_wcs): New macro.
* include/cygwin/version.h: Bump API minor number to 268.
* strfuncs.cc: Clarify descriptive file comment.

11 years ago*** empty log message ***
Corinna Vinschen [Fri, 19 Jul 2013 12:13:21 +0000 (12:13 +0000)]
*** empty log message ***

11 years ago * cygtls.cc (_cygtls::remove): Close cw_timer handle, thus avoiding
Corinna Vinschen [Fri, 19 Jul 2013 11:54:51 +0000 (11:54 +0000)]
* cygtls.cc (_cygtls::remove): Close cw_timer handle, thus avoiding
handle leak.

11 years ago * cygserver_ipc.h (ipc_retval::ipc_retval): Take ssize_t as argument
Corinna Vinschen [Fri, 19 Jul 2013 11:32:54 +0000 (11:32 +0000)]
* cygserver_ipc.h (ipc_retval::ipc_retval): Take ssize_t as argument
to make sure entire ipc_retval union is initialized on all supported
platforms.

11 years ago * libc/sys/arm/syscalls.c (do_AngelSWI): Delete.
Corinna Vinschen [Fri, 19 Jul 2013 09:57:51 +0000 (09:57 +0000)]
* libc/sys/arm/syscalls.c (do_AngelSWI): Delete.
* libc/sys/arm/libcfuncs.c (do_AngelSWI): Delete.
* libc/sys/arm/swi.h: Copy over from libgloss.

11 years ago PR binutils/15728
Nick Clifton [Thu, 18 Jul 2013 13:53:04 +0000 (13:53 +0000)]
PR binutils/15728
* basic-ops.h: (SUBWORDSIQI) Make declaration static.
* (SUBWORDSIHI): Likewise.
* (SUBWORDDIQI): Likewise.
* (SUBWORDDIHI): Likewise.
* (SUBWORDDISI): Likewise.

11 years ago * path.cc (normalize_posix_path): Start checking path before ".." at
Corinna Vinschen [Thu, 18 Jul 2013 10:11:33 +0000 (10:11 +0000)]
* path.cc (normalize_posix_path): Start checking path before ".." at
dst, rather than at dst_start, otherwise suffer loss of one leading
slash in case of UNC paths.

11 years ago* winsup.h (cygbench): Fix declaration to match definition.
Christopher Faylor [Wed, 17 Jul 2013 17:46:10 +0000 (17:46 +0000)]
* winsup.h (cygbench): Fix declaration to match definition.
* dcrt0.cc (initial_env): Remove unused variable.

11 years ago2013-07-17 Janis Johnson <janisjo@codesourcery.com>
Jeff Johnston [Wed, 17 Jul 2013 16:38:04 +0000 (16:38 +0000)]
2013-07-17  Janis Johnson  <janisjo@codesourcery.com>

        * libc/machine/powerpc/configure.in: Remove extra_sources; fix
        extra_objs for powerpc*-*altivec.
        * libc/machine/powerpc/Makefile.am: Define EXTRA_lib_a_SOURCES.
        * libc/machine/powerpc/configure: Regenerated.
        * libc/machine/powerpc/Makefile.in: Regenerated.

11 years ago* lm32/configure: Regenerate.
Yaakov Selkowitz [Wed, 17 Jul 2013 06:14:27 +0000 (06:14 +0000)]
* lm32/configure: Regenerate.
* moxie/configure: Ditto.
* spu/configure: Ditto.

11 years ago * microblaze/Makefile.in: Add GENOBJS and target_makefile_frag.
Corinna Vinschen [Tue, 16 Jul 2013 07:55:45 +0000 (07:55 +0000)]
* microblaze/Makefile.in: Add GENOBJS and target_makefile_frag.
* microblaze/configure.in: Add target_makefile_frag.
* microblaze/configure: Regenerate.
* microblaze/xil_printf.c: Add new file.

11 years ago * configure.host: Change to microblaze*.
Corinna Vinschen [Tue, 16 Jul 2013 07:48:53 +0000 (07:48 +0000)]
* configure.host: Change to microblaze*.
* libc/include/machine/ieeefp.h: Add __MICROBLAZEEL__.
* libc/machine/microblaze/mb_endian.h: New file.
* newlib/libc/machine/microblaze/strcmp.c: Add little endian support.
* newlib/libc/machine/microblaze/strcpy.c: Likewise.
* newlib/libc/machine/microblaze/strlen.c: Likewise.

* configure.in: Change to microblaze*.
* configure: Regenerate.
* microblaze/xilinx.ld: Remove OUTPUT_FORMAT.

11 years ago include/elf/
Maciej W. Rozycki [Mon, 15 Jul 2013 15:07:30 +0000 (15:07 +0000)]
include/elf/
* mips.h (Tag_GNU_MIPS_ABI_FP): Remove comment.
(Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE,
Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT,
Val_GNU_MIPS_ABI_FP_64): New enum.

bfd/
* elfxx-mips.c (mips_elf_merge_obj_attributes): Replace hardcoded
magic numbers with enum values.

binutils/
* readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
numbers with enum values.

gdb/
* mips-tdep.c (mips_gdbarch_init): Replace hardcoded magic
numbers with enum values.

11 years ago * new-features.sgml (ov-new1.7.22): New section. Document dropped
Corinna Vinschen [Mon, 15 Jul 2013 14:00:32 +0000 (14:00 +0000)]
* new-features.sgml (ov-new1.7.22): New section.  Document dropped
support for /dev/mem, /dev/kmem, /dev/port.
* specialnames.xml (pathnames-posixdevices): Drop description of
/dev/mem, /dev/kmem, /dev/port.

11 years ago Remove /dev/mem, /dev/kmem, /dev/port support.
Corinna Vinschen [Mon, 15 Jul 2013 13:54:27 +0000 (13:54 +0000)]
Remove /dev/mem, /dev/kmem, /dev/port support.
* Makefile.in (DLL_OFILES): Drop fhandler_mem.o.
(fhandler_mem_CFLAGS): Remove rule.
* devices.in (enum fh_devices): Remove FH_MEM, FH_KMEM and FH_PORT.
* devices.cc: Regenerate.
* dtable.cc (fh_alloc): Drop handling for FH_MEM, FH_KMEM and FH_PORT.
* fhandler.h (class fhandler_dev_mem): Remove.
* fhandler_mem.cc: Remove file.
* globals.cc (ro_u_pmem): Remove.
* mmap.cc (fhandler_dev_mem::mmap): Remove.
(fhandler_dev_mem::munmap): Remove.
(fhandler_dev_mem::fixup_mmap_after_fork): Remove.

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

11 years ago*** empty log message ***
Corinna Vinschen [Mon, 15 Jul 2013 10:04:03 +0000 (10:04 +0000)]
*** empty log message ***

11 years ago * path.cc (symlink_native): Fix common prefix search. Enhance comment.
Corinna Vinschen [Mon, 15 Jul 2013 09:57:20 +0000 (09:57 +0000)]
* path.cc (symlink_native): Fix common prefix search.  Enhance comment.

11 years agoinclude/opcode/
Richard Sandiford [Sun, 14 Jul 2013 13:36:50 +0000 (13:36 +0000)]
include/opcode/
* mips.h (mips_operand_type): Add OP_ENTRY_EXIT_LIST and
OP_SAVE_RESTORE_LIST.
(decode_mips16_operand): Declare.

opcodes/
* mips16-opc.c: Include mips-formats.h.
(reg_0_map, reg_29_map, reg_31_map, reg_m16_map, reg32r_map): New
static arrays.
(decode_mips16_operand): New function.
* mips-dis.c (mips16_to_32_reg_map, mips16_reg_names): Delete.
(print_insn_arg): Handle OP_ENTRY_EXIT list.
Abort for OP_SAVE_RESTORE_LIST.
(print_mips16_insn_arg): Change interface.  Use mips_operand
structures.  Delete GET_OP_S.  Move GET_OP definition to...
(print_insn_mips16): ...here.  Call init_print_arg_state.
Update the call to print_mips16_insn_arg.

11 years agoinclude/opcode/
Richard Sandiford [Sun, 14 Jul 2013 13:28:56 +0000 (13:28 +0000)]
include/opcode/
* mips.h (mips_operand_type, mips_reg_operand_type): New enums.
(mips_operand, mips_int_operand, mips_mapped_int_operand)
(mips_msb_operand, mips_reg_operand, mips_reg_pair_operand)
(mips_pcrel_operand): New structures.
(mips_insert_operand, mips_extract_operand, mips_signed_operand)
(mips_decode_int_operand, mips_decode_pcrel_operand): New functions.
(decode_mips_operand, decode_micromips_operand): Declare.

opcodes/
* mips-formats.h: New file.
* mips-opc.c: Include mips-formats.h.
(reg_0_map): New static array.
(decode_mips_operand): New function.
* micromips-opc.c: Remove <stdio.h> include.  Include mips-formats.h.
(reg_0_map, reg_28_map, reg_29_map, reg_31_map, reg_m16_map)
(reg_mn_map, reg_q_map, reg_h_map1, reg_h_map2, int_b_map)
(int_c_map): New static arrays.
(decode_micromips_operand): New function.
* mips-dis.c (micromips_to_32_reg_b_map, micromips_to_32_reg_c_map)
(micromips_to_32_reg_d_map, micromips_to_32_reg_e_map)
(micromips_to_32_reg_f_map, micromips_to_32_reg_g_map)
(micromips_to_32_reg_h_map1, micromips_to_32_reg_h_map2)
(micromips_to_32_reg_l_map, micromips_to_32_reg_m_map)
(micromips_to_32_reg_n_map, micromips_to_32_reg_q_map)
(micromips_imm_b_map, micromips_imm_c_map): Delete.
(print_reg): New function.
(mips_print_arg_state): New structure.
(init_print_arg_state, print_insn_arg): New functions.
(print_insn_args): Change interface and use mips_operand structures.
Delete GET_OP_S.  Move GET_OP definition to...
(print_insn_mips): ...here.  Update the call to print_insn_args.
(print_insn_micromips): Use print_insn_args.

gas/
* config/tc-mips.c (validate_mips_insn): Move further up file.
Add insn_bits and decode_operand arguments.  Use the mips_operand
fields to work out which bits an operand occupies.  Detect double
definitions.
(validate_micromips_insn): Move further up file.  Call into
validate_mips_insn.

11 years agoinclude/opcode/
Richard Sandiford [Sun, 14 Jul 2013 13:11:02 +0000 (13:11 +0000)]
include/opcode/
* mips.h: Document MIPS16 "I" opcode.

opcodes/
* mips16-opc.c (mips16_opcodes): Use "I" for immediate operands
in macros.

gas/
* config/tc-mips.c (mips16_ip): Handle "I".

11 years ago include/elf/
Maciej W. Rozycki [Fri, 12 Jul 2013 15:58:15 +0000 (15:58 +0000)]
include/elf/
* mips.h (EF_MIPS_NAN2008): New macro.

bfd/
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Handle
EF_MIPS_NAN2008.
(_bfd_mips_elf_print_private_bfd_data): Likewise.

binutils/
* readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.

gas/
* config/tc-mips.c (mips_flag_nan2008): New variable.
(options): Add OPTION_NAN enum value.
(md_longopts): Handle it.
(md_parse_option): Likewise.
(s_nan): New function.
(mips_elf_final_processing): Handle EF_MIPS_NAN2008.
(md_show_usage): Add -mnan.

* doc/as.texinfo (Overview): Add -mnan.
* doc/c-mips.texi (MIPS Opts): Document -mnan.
(MIPS NaN Encodings): New node.  Document .nan directive.
(MIPS-Dependent): List the new node.

gas/testsuite/
* gas/mips/nan-2008-1.d: New test.
* gas/mips/nan-2008-2.d: New test.
* gas/mips/nan-2008-3.d: New test.
* gas/mips/nan-2008-4.d: New test.
* gas/mips/nan-legacy-1.d: New test.
* gas/mips/nan-legacy-2.d: New test.
* gas/mips/nan-legacy-3.d: New test.
* gas/mips/nan-legacy-4.d: New test.
* gas/mips/nan-legacy-5.d: New test.
* gas/mips/nan-error-1.l: New list test.
* gas/mips/nan-error-2.l: New list test.
* gas/mips/nan-2008-override.s: New test source.
* gas/mips/nan-2008.s: New test source.
* gas/mips/nan-legacy-override.s: New test source.
* gas/mips/nan-legacy.s: New test source.
* gas/mips/nan-error-1.s: New test source.
* gas/mips/nan-error-2.s: New test source.
* gas/mips/mips.exp: Run the new tests.

ld/testsuite/
* ld-mips-elf/nan-2008.d: New test.
* ld-mips-elf/nan-legacy.d: New test.
* ld-mips-elf/nan-mixed-1.d: New test.
* ld-mips-elf/nan-mixed-2.d: New test.
* ld-mips-elf/nan-2008.s: New test source.
* ld-mips-elf/nan-legacy.s: New test source.

11 years ago[AArch64] Ensure vector table is page aligned.
Marcus Shawcroft [Fri, 12 Jul 2013 09:42:46 +0000 (09:42 +0000)]
[AArch64] Ensure vector table is page aligned.

2013-07-12  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * aarch64/cpu-init/rdimon-aem-el3.S (vectors): Page align.

11 years ago * uname.cc (uname): Drop unused code.
Corinna Vinschen [Thu, 11 Jul 2013 11:20:38 +0000 (11:20 +0000)]
* uname.cc (uname): Drop unused code.

11 years ago* gentlsoffsets: Clean up a little.
Christopher Faylor [Wed, 10 Jul 2013 20:58:33 +0000 (20:58 +0000)]
* gentlsoffsets: Clean up a little.
* thread.cc (semaphore::_fixup_after_fork): Report on potential problem
parameter.  Make sure that currentvalue is never zero.
(semaphore::init): Make cosmetic change.

11 years ago2013-07-10 Jack Howarth <howarth@bromo.med.uc.edu>
Mike Stump [Wed, 10 Jul 2013 20:55:59 +0000 (20:55 +0000)]
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 ago * cygwin.sc.in (.text.*): Fold into .text on all platforms.
Corinna Vinschen [Wed, 10 Jul 2013 12:15:32 +0000 (12:15 +0000)]
* cygwin.sc.in (.text.*): Fold into .text on all platforms.
(.eh_frame): Add section.
* environ.cc (my_findenv): Drop __stdcall attribute.
(getearly): Ditto.
(findenv_func): Drop cast.

11 years agoinclude/coff/
Tristan Gingold [Wed, 10 Jul 2013 08:16:34 +0000 (08:16 +0000)]
include/coff/
2013-07-10  Tristan Gingold  <gingold@adacore.com>

* rs6000.h (external_core_dumpx): New structure.
(external_ld_info32): Ditto.

binutils/
2013-07-10  Tristan Gingold  <gingold@adacore.com>

* od-xcoff.c (OPT_LDINFO): Define.
(options): Add ldinfo.
(xcoff_help): Mention ldinfo.
(xcoff_dump): Rename to ...
(xcoff_dump_obj): ... this.  Add a break.
(dump_dumpx_core): New function.
(xcoff_dump_core): Likewise.
(xcoff_dump): Likewise.
* doc/binutils.texi (objdump): Mention ldinfo.

11 years ago2013-07-09 Sabrina Ni <sabrina@andestech.com>
Jeff Johnston [Tue, 9 Jul 2013 19:19:35 +0000 (19:19 +0000)]
2013-07-09  Sabrina Ni  <sabrina@andestech.com>

        * libc/machine/nds32/Makefile.am (lib_a_SOURCES): Add abort.c, memcpy.S,
        memset.S, strcmp.S, and strcpy.S.
        * libc/machine/nds32/Makefile.in: Regenerated.
        * libc/machine/nds32/{abort.c, memcpy.S, memset.S, strcmp.S, strcpy.S}:         New.

11 years ago2013-07-09 Sabrina Ni <sabrina@andestech.com>
Jeff Johnston [Tue, 9 Jul 2013 19:16:25 +0000 (19:16 +0000)]
2013-07-09  Sabrina Ni  <sabrina@andestech.com>

        * configure.in: Add nds32 subdir.
        * configure: Regenerated.
        * nds32/configure.in: New.
        * nds32/configure: New (autogenerated).
        * nds32/{crt0.S,crt1.S}: New.
        * nds32/Makefile.in: New.
        * nds32/{syscall_argvlen.S,syscall_argv.S,
        syscall_chdirS, syscall_chmod.S,
        syscall_close.S,syscall_exit.S,syscall_extra.h, syscall_fstat.S,
        syscall_getpid.S,syscall_gettimeofday.S,syscall_isatty.S,syscall_kill.S,
        syscall_link.S,syscall_lseek.S,syscall_open.S,syscall_read.S,
        syscall_rename.S,syscall_sbrk.S,syscall_stat.S,syscall_system.S,
        syscall_time.S,syscall_times.S,syscall_unlink.S,syscall_utime.S,
        syscall_write.S}: New.

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