summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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".
* include/elf/Maciej W. Rozycki2013-07-122-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* [AArch64] Ensure vector table is page aligned.Marcus Shawcroft2013-07-122-2/+5
| | | | | | 2013-07-12 Marcus Shawcroft <marcus.shawcroft@arm.com> * aarch64/cpu-init/rdimon-aem-el3.S (vectors): Page align.
* * uname.cc (uname): Drop unused code.Corinna Vinschen2013-07-112-14/+9
|
* * gentlsoffsets: Clean up a little.Christopher Faylor2013-07-103-14/+24
| | | | | | * thread.cc (semaphore::_fixup_after_fork): Report on potential problem parameter. Make sure that currentvalue is never zero. (semaphore::init): Make cosmetic change.
* 2013-07-10 Jack Howarth <howarth@bromo.med.uc.edu>Mike Stump2013-07-103-0/+20
| | | | | | PR target/57792 * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later. * configure: Regenerated.
* * cygwin.sc.in (.text.*): Fold into .text on all platforms.Corinna Vinschen2013-07-103-5/+15
| | | | | | | (.eh_frame): Add section. * environ.cc (my_findenv): Drop __stdcall attribute. (getearly): Ditto. (findenv_func): Drop cast.
* include/coff/Tristan Gingold2013-07-102-3/+68
| | | | | | | | | | | | | | | | | | | | 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.
* 2013-07-09 Sabrina Ni <sabrina@andestech.com>Jeff Johnston2013-07-098-4/+421
| | | | | | | * 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.
* 2013-07-09 Sabrina Ni <sabrina@andestech.com>Jeff Johnston2013-07-0934-0/+6114
| | | | | | | | | | | | | | | | | * 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.