summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* *** empty log message ***Corinna Vinschen2013-07-301-2/+6
|
* * Makefile.in (cyglsa.dll): Explicitely specify DLL entry point toCorinna Vinschen2013-07-292-2/+8
| | | | | harden against gcc function and block reordering optimizations. (cyglsa64.dll): Ditto.
* cygwin directory changes:Christopher Faylor2013-07-2610-23/+51
| | | | | | | | | | | | | * 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.
* * gcc.xml (gcc-64): Fix example.Corinna Vinschen2013-07-252-4/+9
|
* * gcc.xml (gcc-default: Rename from gcc-cons. Change title.Corinna Vinschen2013-07-252-114/+103
| | | | | | | (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.
* 2013-07-24 Steve Ellcey <sellcey@mips.com>Steve Ellcey2013-07-242-0/+8
| | | | * mips/idtmon.S (unlink, lseek, stat): Add new functions.
* Support Intel MPXH.J. Lu2013-07-242-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix copyright dateCorinna Vinschen2013-07-241-1/+1
|
* *** empty log message ***Corinna Vinschen2013-07-241-0/+15
|
* * ntdll.h (struct _SEMAPHORE_BASIC_INFORMATION): Define.Corinna Vinschen2013-07-234-27/+74
| | | | | | | | | | | | | | | | | | | | | | (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.
* * cygtls.cc (well_known_dlls): Add kernelbase.dll.Corinna Vinschen2013-07-232-0/+5
|
* * microblaze/_exception_handler.S: Adjust to be weak.Corinna Vinschen2013-07-2311-5/+360
| | | | | | | | | | | | * 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.
* * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c,Corinna Vinschen2013-07-2318-57/+83
| | | | | | | | | | | | | 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.
* src-release: Fix VER computation for TOOL=gdbJoel Brobecker2013-07-222-0/+11
| | | | | | | | | | | | | 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.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 23.Corinna Vinschen2013-07-222-1/+5
|
* * new-features.sgml (ov-new1.7.22): Add GetCommandLine and regcompCorinna Vinschen2013-07-212-0/+16
| | | | changes.
* * regex/regcomp.c (wgetnext): Add a kludge to be more glibc compatible.Corinna Vinschen2013-07-213-0/+22
| | | | Add comment to explain.
* * Makefile.in (cygwin-ug-net/cygwin-ug-net.html): Add dependency toCorinna Vinschen2013-07-212-6/+17
| | | | | | | | | | 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.
* * exceptions.cc (signal_exit): Remove comment. Use __builtin_frame_address.Christopher Faylor2013-07-202-4/+7
|
* * exceptions.cc (signal_exit): Nope. Nevermind. Dump core unconditionally.Christopher Faylor2013-07-202-2/+6
|
* * Makefile.in (cygwin-ug-net/cygwin-ug-net.pdf): Process input viaCorinna Vinschen2013-07-203-4/+43
| | | | | | xsltproc and fop. (cygwin-api/cygwin-api.pdf): Ditto. * fo.xsl: New file.
* reword commentChristopher Faylor2013-07-191-1/+1
|
* * exceptions.cc (signal_exit): Add a FIXME comment.Christopher Faylor2013-07-193-0/+10
|
* * exceptions.cc (signal_exit): Only dump core when it's a "kernel" signal.Christopher Faylor2013-07-192-2/+10
| | | | | Only use RtlCaptureContext on x86_64. It doesn't seem to do what's expected on x86.
* * spawn.cc (child_info_spawn::worker): Reinstate using temp buffer for wideChristopher Faylor2013-07-193-11/+12
| | | | | | character command-line storage. Use wcs method to convert command line. * winf.h (lb_wcs): Delete. (linebuf::wcs): Implement new single-argument method.
* * lib/libcmain.c (main): Don't point to last quoted character if the only thingChristopher Faylor2013-07-192-2/+7
| | | | in the buffer is the program name.
* .Christopher Faylor2013-07-191-0/+3
|
* fix comment typoChristopher Faylor2013-07-191-1/+1
|
* .Christopher Faylor2013-07-191-3/+3
|
* * common.din: Export GetCommandLine{A,W}.Christopher Faylor2013-07-197-29/+117
| | | | | | | | | | | | | | | | | | * 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.
* *** empty log message ***Corinna Vinschen2013-07-191-0/+16
|
* * cygtls.cc (_cygtls::remove): Close cw_timer handle, thus avoidingCorinna Vinschen2013-07-192-2/+10
| | | | handle leak.
* * cygserver_ipc.h (ipc_retval::ipc_retval): Take ssize_t as argumentCorinna Vinschen2013-07-192-1/+7
| | | | | to make sure entire ipc_retval union is initialized on all supported platforms.
* * libc/sys/arm/syscalls.c (do_AngelSWI): Delete.Corinna Vinschen2013-07-194-37/+31
| | | | | * libc/sys/arm/libcfuncs.c (do_AngelSWI): Delete. * libc/sys/arm/swi.h: Copy over from libgloss.
* PR binutils/15728Nick Clifton2013-07-182-6/+15
| | | | | | | | * basic-ops.h: (SUBWORDSIQI) Make declaration static. * (SUBWORDSIHI): Likewise. * (SUBWORDDIQI): Likewise. * (SUBWORDDIHI): Likewise. * (SUBWORDDISI): Likewise.
* * path.cc (normalize_posix_path): Start checking path before ".." atCorinna Vinschen2013-07-182-2/+8
| | | | | dst, rather than at dst_start, otherwise suffer loss of one leading slash in case of UNC paths.
* * winsup.h (cygbench): Fix declaration to match definition.Christopher Faylor2013-07-172-3/+7
| | | | * dcrt0.cc (initial_env): Remove unused variable.
* 2013-07-17 Janis Johnson <janisjo@codesourcery.com>Jeff Johnston2013-07-175-27/+167
| | | | | | | | * 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.
* * lm32/configure: Regenerate.Yaakov Selkowitz2013-07-174-4629/+6780
| | | | | * moxie/configure: Ditto. * spu/configure: Ditto.
* * microblaze/Makefile.in: Add GENOBJS and target_makefile_frag.Corinna Vinschen2013-07-165-1733/+1529
| | | | | | * microblaze/configure.in: Add target_makefile_frag. * microblaze/configure: Regenerate. * microblaze/xil_printf.c: Add new file.
* * configure.host: Change to microblaze*.Corinna Vinschen2013-07-1611-19/+61
| | | | | | | | | | | | * 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.
* include/elf/Maciej W. Rozycki2013-07-152-5/+31
| | | | | | | | | | | | | | | | | | | * 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.
* * new-features.sgml (ov-new1.7.22): New section. Document droppedCorinna Vinschen2013-07-153-4/+20
| | | | | | support for /dev/mem, /dev/kmem, /dev/port. * specialnames.xml (pathnames-posixdevices): Drop description of /dev/mem, /dev/kmem, /dev/port.
* Remove /dev/mem, /dev/kmem, /dev/port support.Corinna Vinschen2013-07-1511-3009/+2575
| | | | | | | | | | | | | | * 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.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 22.Corinna Vinschen2013-07-152-1/+5
|
* *** empty log message ***Corinna Vinschen2013-07-151-0/+1
|
* * path.cc (symlink_native): Fix common prefix search. Enhance comment.Corinna Vinschen2013-07-152-5/+10
|
* include/opcode/Richard Sandiford2013-07-142-0/+14
| | | | | | | | | | | | | | | | | | | * 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.
* include/opcode/Richard Sandiford2013-07-142-0/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* include/opcode/Richard Sandiford2013-07-142-0/+6
| | | | | | | | | | | * 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".