summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * sec_helper.cc (get_null_sd): Make static. Use PSECURITY_DESCRIPTORCorinna Vinschen2010-04-173-7/+11
| | | | | | instead of SECURITY_DESCRIPTOR *. (sec_acl): Fix fomratting. * security.h (get_null_sd): Drop declaration.
* * cygerrno.h (seterrno_from_nt_status): Declare.Corinna Vinschen2010-04-163-9/+27
| | | | | | | | (__seterrno_from_nt_status): Call seterrno_from_nt_status. * errno.cc (seterrno_from_win_error): Set errno without calling set_errno to avoid packing strace output with errno messages. (seterrno_from_nt_status): New function to print NT status as well as resulting Windows error.
* * kernel32.cc (CreateEventW): Create event object with EVENT_ALL_ACCESSCorinna Vinschen2010-04-152-4/+12
| | | | | | | access mask. (CreateMutexW): Create mutex object with MUTEX_ALL_ACCESS access mask. (CreateSemaphoreW): Create semaphore object with SEMAPHORE_ALL_ACCESS access mask.
* * sec_helper.cc (set_cygwin_privileges): Enable SE_DEBUG_PRIVILEGE, ifCorinna Vinschen2010-04-152-0/+15
| | | | available. Add comments.
* * ld/testsuite/ld-arm/attr-merge-2.attr: Update for changes in attribute ↵Matthew Gretton-Dann2010-04-152-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | output. * ld/testsuite/ld-arm/attr-merge-3.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-1.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-2.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-3.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-4.d: Likeiwse. * ld/testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-5.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-00.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-02.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-04.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-20.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-22.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-40.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-44.d: Likewise. * ld/testsuite/ld-arm/attr-merge.attr: Likewise. * binutils/readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch. (arm_attr_tag_ABI_align8_needed): Remove. (arm_attr_tag_ABI_align8_preserved): Remove. (arm_attr_tag_ABI_HardFP_use): Update text strings. (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags. (display_arm_attribute): Add decoding of ABI v2.08 attributes. * include/elf/arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved, Tag_FP_HP_extension): Add new ABI attribute tags. * gas/config/tc-arm.c (arm_convert_symbolic_attribute): Add support for new tag names in v2.08 of ARM ABI. * gas/doc/c-arm.texi: Document new tag names in ABI. * gas/testsuite/gas/arm/attr-mcpu.d: Update for new attribute tag names. * gas/testsuite/gas/arm/attr-mfpu-arm1020e.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-arm1020t.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-neon.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp10.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp3.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp9.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv2.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv3.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv4.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpxd.d: Likewise. * gas/testsuite/gas/arm/attr-names.d: Add test to make sure all attribute names are recognised. * gas/testsuite/gas/arm/attr-names.s: Likewise.
* Upgrade header files to use GPLv3Nick Clifton2010-04-15181-1208/+1537
|
* * filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.Doug Evans2010-04-142-2/+16
|
* 2010-04-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-04-143-2/+7
| | | | | * configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs. * configure: Regenerate.
* sim: drop PARAMSMichael Frysinger2010-04-133-62/+67
| | | | | | The PARAMS macro is no longer useful, so drop it from the sim includes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sim: constify sim_write source bufferMichael Frysinger2010-04-132-1/+5
| | | | | | | | | Most the sim write functions declare their source buffer const because they only ever read from it. The global sim_write() function does not follow this convention though which causes some warnings when trying to pass it const strings or buffers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* * fhandler_socket.cc (get_inet_addr): Only test the file for being aCorinna Vinschen2010-04-132-14/+39
| | | | | | socket after opening it. Retry if opening failed with sharing violation. Explain why we do this. (fhandler_socket::bind): Create file with no sharing allowed.
* * cygheap.cc (cwcsdup): Fix allocation size to accommodate sizeof WCHAR.Corinna Vinschen2010-04-132-2/+7
| | | | (cwcsdup1): Ditto.
* * include/cygwin/version.h: Bump DLL minor version number to 5.Corinna Vinschen2010-04-122-1/+5
|
* * posix.sgml (std-notes): Improve lseek description.Corinna Vinschen2010-04-122-2/+7
|
* * fhandler_tty.cc (fhandler_tty_slave::open): Add code to duplicateCorinna Vinschen2010-04-122-11/+33
| | | | | | handles within a single process to simplify openpty case. (fhandler_tty_slave::cygserver_attach_tty): Correctly send Windows PID to cygserver, rather than the Cygwin PID.
* * cygwin.dsl: Remove comments.Christopher Faylor2010-04-112-4/+4
|
* * new-features.sgml (ov-new1.7.5): New section.Corinna Vinschen2010-04-112-0/+17
|
* * fhandler.h (class dev_console): Add backspace_keycode member.Corinna Vinschen2010-04-113-2/+16
| | | | | | | | * fhandler_console.cc (fhandler_console::get_tty_stuff): Initialize backspace_keycode with CERASE. (fhandler_console::read): Return dev_state->backspace_keycode if the backspace key is pressed. (fhandler_console::char_command): Implement DECBKM escape sequence.
* * cygwin-api.in.sgml: Update to DocBook SGML 4.5 DTD.Christopher Faylor2010-04-116-9/+17
| | | | | | | * cygwin-ug-net.in.sgml: Ditto. * cygwin-ug.in.sgml: Ditto. * faq-sections.xml: Ditto. * faq.xml: Ditto.
* * fhandler_console.cc (fhandler_console::read): Default to sending CERASEChristopher Faylor2010-04-102-13/+10
| | | | | character if termios VERASE field is zero. (fhandler_console::fixup_after_fork_exec): Avoid a spurious debug message.
* update copyrightChristopher Faylor2010-04-101-1/+1
|
* * mkvers.sh: Use modern date formats to construct the date.Christopher Faylor2010-04-102-27/+8
|
* * nlsfuncs.cc (__set_lc_time_from_win): Actually setCorinna Vinschen2010-04-092-0/+6
| | | | _time_locale->md_order to the D_MD_ORDER value written to the buffer.
* * path.cc (path_conv::set_normalized_path): Use crealloc_abort to avoid aChristopher Faylor2010-04-093-2/+10
| | | | | | memory leak. * path.h (path_conv::operator =): Just use cstrdup to allocate normalized_path, avoiding attempt to free a pointer which is allocated in another pc.
* /:Ralf Wildenhues2010-04-083-16/+18
| | | | | | | | | | | | Merge from gcc: PR bootstrap/43615 PR bootstrap/43328 Revert: 2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate.
* * internal.h (ELF_IS_SECTION_IN_SEGMENT): PT_PHDR program headersAlan Modra2010-04-082-2/+8
| | | | cannot contain any sections.
* * include/cygwin/version.h: Bump DLL minor version number to 4.Corinna Vinschen2010-04-072-1/+5
|
* 2010-04-06 Dave Korn <dave.korn.cygwin@googlemail.com>Jeff Johnston2010-04-063-6/+13
| | | | | | | * libc/stdlib/__atexit.c (__atexit_lock): Initialise as recursive rather than non-recursive lock type. (__register_exitproc): Use recursive locking APIs on it. * libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise.
* * thread.cc (valid_sched_parameters): Declare extern here.Corinna Vinschen2010-04-062-0/+7
| | | | (sched_set_thread_priority): Ditto.
* * include/sched.h: Remove, overruled by newlib file.Corinna Vinschen2010-04-063-80/+5
| | | | * include/sys/sched.h: Ditto.
* * fhandler_fifo.cc (fhandler_fifo::open): Accommodate previous return valueChristopher Faylor2010-04-062-1/+6
| | | | change to setup_overlapped.
* * libc/stdlib/btowc.c (btowc): Reorganize EOF check. Fix incorrectCorinna Vinschen2010-04-062-3/+11
| | | | return value if input byte is ASCII NUL.
* merge from gccJakub Jelinek2010-04-061-1/+3
|
* merge from gccDJ Delorie2010-04-051-1/+0
|
* include/Jakub Jelinek2010-04-052-0/+6
| | | | | | | | | | | | | | | | | | | | | | | * dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn field. bfd/ * dwarf2.c (struct line_head): Add maximum_ops_per_insn field. (struct line_info): Add op_index field, change end_sequence type to unsigned char. (new_line_sorts_after): For the same address compare op_index. (add_line_info): Add op_index argument, store it into the structure. (decode_line_info): Complain about unknown versions of .debug_line. Initialize maximum_ops_per_insn. Add op_index state register and track it. binutils/ * dwarf.c (struct State_Machine_Registers): Add op_index field, change end_sequence type to unsigned char. (reset_state_machine): Clear op_index. (process_extended_line_op): For DW_LNE_set_address clear op_index. (display_debug_lines_raw): Initialize li_max_ops_per_insn. Track op_index state machine register and print it if li_max_ops_per_insn is != 1. (display_debug_lines_decoded): Likewise.
* * fhandler.h (fhandler_base::has_ongoing_io): Declare virtual method.Christopher Faylor2010-04-025-67/+55
| | | | | | | | | | | | | * select.cc (peek_pipe): Reorganize slightly. Don't attempt to check a handle if it has ongoing I/O. (select_pipe_info::select_pipe_info): Delete definition. (select_pipe_info::~select_pipe_info): Delete definition. (thread_pipe): Get rid of WFMO call. Reorganize loop. (pipe_cleanup): Remove dependence on destructor. (thread_serial): Reorganize loop. * select.h (select_pipe_info): Empty this class since it no longer has any special requirements (for now). * syscalls.cc (readv): Remove an unneeded debug printf.
* * fhandler.h (fhandler_base::setup_overlapped): Delete virtual declaration.Christopher Faylor2010-04-025-29/+75
| | | | | | | | | | | | | | | | | | (fhandler_base::destroy_overlapped): Ditto. (fhandler_base_overlapped): Remove now-unneeded friend. (fhandler_base_overlapped::setup_overlapped): Return int, remove parameter. (fhandler_base_overlapped::get_overlapped): Return reference. (fhandler_base_overlapped::fhandler_base_overlapped): Be more assertive about zeroing everything. (fhandler_base_overlapped::fixup_after_fork): Declare new function. (fhandler_base_overlapped::fixup_after_exec): Ditto. (fhandler_base_overlapped::dup): Ditto. (fhandler_base_overlapped::close): Ditto. * fhandler_fifo.cc (fhandler_fifo::dup): Call fhandler_base_overlapped::dup rather than fhandler_base::dup. * pipe.cc (fhandler_pipe::dup): Ditto. (fhandler_pipe::init): Accommodate change in setup_overlapped arguments for "opened_properly" case.
* * fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Properly initializeChristopher Faylor2010-04-022-2/+6
| | | | overlapped part of this class.
* * fhandler_tty.cc (fhandler_tty_slave::close): Revert previous change.Corinna Vinschen2010-04-022-3/+6
|
* fix typoChristopher Faylor2010-04-021-1/+1
|
* * select.h (select_pipe_info::add_watch_handle): Delete declaration.Christopher Faylor2010-04-023-11/+8
| | | | | | | * select.cc (select_pipe_info::add_watch_handle): Delete deinition. (fhandler_pipe::select_read): Delete call to add_watch_handle. (fhandler_pipe::select_write): Ditto. (fhandler_pipe::select_except): Ditto.
* * dtable.cc (dtable::init_std_file_from_handle): Avoid adding fh to fdtab untilChristopher Faylor2010-04-023-30/+51
| | | | | | we know that it is good. * fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Handle error conditions more consistently. Avoid handle leakage on error.
* * fhandler_tty.cc (fhandler_tty_slave::close): Avoid potential crashCorinna Vinschen2010-04-022-2/+8
| | | | if former open call has been unsuccessful.
* * nlsfuncs.cc: Fix indentation.Corinna Vinschen2010-04-012-4/+8
|
* * nlsfuncs.cc (rebase_locale_buf): New helper function to rebaseCorinna Vinschen2010-04-012-0/+35
| | | | | | | function pointers in locale structures. Explain why this is necessary. (__set_lc_time_from_win): Use rebase_locale_buf after realloc. (__set_lc_numeric_from_win): Ditto. (__set_lc_monetary_from_win): Ditto.
* 2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2010-04-013-20/+113
| | | | | | | | * libc/include/sched.h: Include prototypes for sched_* methods. * libc/include/sys/sched.h: Update to POSIX 1003.1b-2008. Rework constants to allow sharing between RTEMS and Cygwin.
* * setup-net.sgml: Remove more mentions of rxvt.Charles Wilson2010-04-012-2/+7
|
* * cygwinenv.sgml: Remove/deprecate mention of rxvt.Christopher Faylor2010-03-315-11/+20
| | | | | | * effectively.sgml: Ditto. * faq-using.xml: Ditto. * setup-net.sgml: Ditto.
* * sigproc.cc (wait_sig): Make sure that strace is activated on __SIGSTRACE byChristopher Faylor2010-03-314-2/+13
| | | | | | | calling new strace::activate function. * strace.cc (strace::activate): Rename from strace::strace. * strace.h (strace::activate): Define new function. (strace::strace): Call activate.
* * fhandler.h (fhandler_base_overlapped): Temporarily (?) make select_pipe_infoChristopher Faylor2010-03-313-4/+47
| | | | | | | | a friend until the fhandler_tty intertangling can be worked out. * select.cc (select_pipe_info::add_watch_handle): Don't inspect the overlapped event if we're not waiting for I/O. (fhandler_tty_common::select_*): Change to standard function. Don't do kludgy fhandler_pipe coercion.