aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-05-31* winsup.api/cygload.h: Increase padding to 32768.Christopher Faylor2-1/+5
2006-05-302006-05-30 Shaun Jackman <sjackman@gmail.com>Jeff Johnston6-2/+648
* arm/Makefile.in: Add Linux syscall interface. * arm/linux-crt0.S: New file. * arm/linux-syscall.h: New file. * arm/linux-syscalls0.S: New file. * arm/linux-syscalls1.c: New file.
2006-05-29* winf.h (MAXCYGWINCMDLEN): Set down size to 30000 or suffer fork errors.Christopher Faylor2-3/+8
2006-05-29* sigproc.cc (child_info::proc_retry): Mask all of the bits we're interestedChristopher Faylor2-1/+6
in, which includes bits above and below 0xc0000000.
2006-05-28Put an underscore in front of the "active" in "strace.active".Christopher Faylor1-1/+1
2006-05-28white spaceChristopher Faylor19-91/+91
2006-05-27* dll_init.cc (dll_dllcrt0): Previous change didn't work very well with fork.Christopher Faylor2-2/+10
Semi-revert it but change name of variable to something that makes better sense.
2006-05-27* thread.cc (verifyable_object_isvalid): Check for NULL specifically.Christopher Faylor2-4/+10
2006-05-27add missing commentChristopher Faylor1-0/+6
2006-05-27* dll_init.cc (dll_dllcrt0): Call _my_tls.init_exception_handler if we'veChristopher Faylor2-3/+12
finished initializing (Thanks to Gary Zablackis for noticing this problem). Just use cygwin_finished_initializing rather than defining a separate variable.
2006-05-27bfd/Alan Modra2-1/+10
* elf.c (assign_file_positions_for_load_sections): Retrieve maxpagesize from m->p_align if it is valid. Set p_vaddr, p_paddr and p_align earlier. Revert 2006-05-19 change to p_align. (copy_elf_program_header): Copy p_align. Set p_align_valid. include/elf/ * internal.h (elf_segment_map): Add p_align and p_align_valid.
2006-05-25 * src-release (DEVO_SUPPORT): Add config.rpath.Daniel Jacobowitz2-1/+5
2006-05-25Expand 2006-05-03 Dimitri Papadopoulos wildcards in ChangelogDanny Smith1-3/+6
2006-05-25Expand 2006-05-02 Dimitri Papadopoulos wildcards in ChangelogDanny Smith1-7/+62
2006-05-25include/opcodes/Richard Sandiford2-0/+5
* m68k.h (mcf_mask): Define. opcodes/ * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd and fmovem entries. Put register list entries before immediate mask entries. Use "l" rather than "L" in the fmovem entries. * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it out from INFO. (m68k_scan_mask): New function, split out from... (print_insn_m68k): ...here. If no architecture has been set, first try printing an m680x0 instruction, then try a Coldfire one. gas/testsuite/ * gas/m68k/mcf-fpu.s: Add fmovemd and fmovem instructions. * gas/m68k/mcf-fpu.d: Adjust accordingly.
2006-05-252006-05-25 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini4-10/+17
* Makefile.def (bfd, opcodes): Fix lib_path. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Replace ADAC with ADAFLAGS. (restrap): Move under "@if gcc-bootstrap". Fix typo. * Makefile.in: Regenerate.
2006-05-25* debug.h (ModifyHandle): Define new macro.Christopher Faylor6-8/+50
(modify_handle): Declare new function. * debug.cc (modify_handle): Define new function. * fhandler.h (fhandler_base::fork_fixup): Change return value from void to bool. * fhandler.cc (fhandler_base::fork_fixup): Return true if fork fixup has been done. * pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance of protected handle via ModifyHandle if DEBUGGING. (fhandler_pipe::fixup_after_fork): Protect guard handle if fork fixup has been done.
2006-05-25* cygtls.cc (_cygtls::call): Call call2 using _my_tls.Christopher Faylor7-112/+104
(_cygtls::init_exception_handler): Always replace existing exception handler with cygwin exception handler. * cygtls.h (_cygtls::call2): Remove static designation. * dcrto.cc (dll_crt0_1): Define in a way that allows calling via _cygtls::call. (_initialize_main_tls): Delete. (_dll_crt0): Call dll_crt0_1 via cygtls::call. Set _main_tls here. * external.cc (cygwin_internal): Implement CW_CYGTLS_PADSIZE. * include/sys/cygwin.h (CW_CYGTLS_PADSIZE): Define. * tlsoffsets.h: Regenerate.
2006-05-24update to newer autoconfChristopher Faylor43-9205/+39465
2006-05-24* strace.cc (proc_child): Propagate return code from child process.Christopher Faylor2-5/+16
(dostrace): Ditto. (main): Ditto.
2006-05-24Enable gprof for cross builds.Mark Shinwell3-2/+7
2006-05-24Add TLS support for hppa-linuxNick Clifton2-15/+46
2006-05-24Add support for AVR6 familyNick Clifton2-1/+8
2006-05-24* fhandler.cc (readv): Remove nonsensical assert.Christopher Faylor2-2/+4
2006-05-24* select.cc (start_thread_socket): Delay setting thread local exitsock until weChristopher Faylor4-1549/+4838
know it's correct. Return correct value on error.
2006-05-24* select.cc (start_thread_socket): Clean up exitsock in case of error. UseChristopher Faylor2-2/+9
si->exitcode consistently.
2006-05-232006-05-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-8/+15
* libc/misc/dprintf.c: Removed. * libc/misc/__dprintf.c: Renamed from dprintf.c. * libc/misc/Makefile.am: Changed appropriately for rename. * libc/misc/Makefile.in: Regenerated.
2006-05-232006-05-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+8
* libc/include/stdio.h: Protect dprintf prototype with #ifndef dprintf so as to not interfere with historical code defining their own dprintf macro.
2006-05-232006-05-23 Fred Fish <fnf@specifix.com>Jeff Johnston1-0/+1
* mips/configure.in: Change mipsisa64-*-* to mipsisa64*-*-* to catch minor variations like mipsisa64sb1. * mips/configure: Regenerated.
2006-05-232006-05-23 Fred Fish <fnf@specifix.com>Jeff Johnston3-2/+8
* mips/configure.in: Change mipsisa64-*-* to mipsisa64*-*-* to catch minor variations like mipsisa64sb1.
2006-05-222006-05-22 Steve Ellcey <sje@cup.hp.com>Steve Ellcey2-7/+555
* MAINTAINERS: Change intl updating instructions. * config.rpath: Copy from GCC tree. * intl: Replace contents of intl directory with intl from GCC tree.
2006-05-22* child_info.h (_CI_SAW_CTRL_C): New enum.Christopher Faylor7-12/+50
(CURR_CHILD_INFO_MAGIC): Reset. (saw_ctrl_c): New function. (set_saw_ctrl_c): Ditto. * sigproc.cc (child_info::proc_retry): Return EXITCODE_OK if we get STATUS_CONTROL_C_EXIT and we actually saw a CTRL-C. * spawn.cc (dwExeced): Delete. (chExeced): New variable. (spawn_guts): Set chExeced; * exceptions.cc (dwExeced): Delete declaration. (chExeced): Declare. (ctrl_c_handler): Detect if we're an exec stub process and set a flag, if so. * fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Add extra DEBUGGING test. * pinfo.cc: Fix comment.
2006-05-21* fhandle.h (fhandler_pipe::create_guard): Revert change which eliminatedChristopher Faylor3-32/+64
SECURITY_ATTRIBUTES argument. * pipe.cc (fhandler_pipe::open): Duplicate guard from other process and protect it appropriately. Eliminate unneeded writepipe_exists temporary variable. Set inheritance appropriately. (fhandler_pipe::set_close_on_exec): Revert change which eliminated handling guard inheritance. (fhandler_pipe::fixup_after_fork): Ditto. Use correct name of entity being checked by fork_fixup. (fhandler_pipe::fixup_after_exec): Don't bother with guard here. (fhandler_pipe::dup): Cosmetic changes and revert creation of writepipe_exists as noninheritable. (fhandler_pipe::create): Revert change which eliminated SECURITY_ATTRIBUTES argument. Revert change which always made writepipe_exists noninheritable.
2006-05-21check in missing fileChristopher Faylor1-11/+25
2006-05-21 * lib/uuid.c (IID_IRpcProxyBuffer34): Remove definition.Danny Smith2-3/+6
2006-05-21typoChristopher Faylor1-1/+1
2006-05-21* debug.cc (add_handle): Print handle value when collision detected.Christopher Faylor6-46/+71
* dtable.cc (dtable::stdio_init): Cosmetic change. * fhandler.h (fhandler_base::create_read_state): Protect handle. (fhandler_pipe::create_guard): Ditto. Always mark the handle as inheritable. (fhandler_pipe::is_slow): Return boolean value rather than numeric 1. * pipe.cc (fhandler_pipe::fhandler_pipe): Always flag that we need fork fixup. (fhandler_pipe::open): Don't pass security attributes to create_guard. (fhandler_pipe::set_close_on_exec): Don't handle guard here. (fhandler_pipe::close): Accommodate now-protected guard handle. (fhandler_pipe::fixup_in_child): Don't proected read_state here. (fhandler_pipe::fixup_after_exec): Close guard handle if close_on_exec. (fhandler_pipe::fixup_after_fork): Don't bother with guard here. (fhandler_pipe::dup): Don't set res to non-error prematurely. Use boolean values where appropriate. Protect guard and read_state. (fhandler_pipe::create): Don't call need_fork_fixup since it is now the default. Don't protect read_state or guard. * pipe.cc (fhandler_base::ready_for_read): Use bool values for "avail". * spawn.cc (spawn_guts): Set cygheap->pid_handle as inheritable when protecting. * select.cc (fhandler_pipe::ready_for_read): Actually get the guard mutex for blocking reads.
2006-05-20* fhandler_tty.cc (fhandler_tty::close): Remove problematic hExeced guard.Christopher Faylor2-12/+18
2006-05-20* fhandler_tty.cc (fhandler_tty_slave::open): Reinstate call to need_invisibleChristopher Faylor2-1/+8
on first pty open.
2006-05-20fix incorrect function name in old entryChristopher Faylor1-1/+1
2006-05-19* fhandler_console.cc (fhandler_console::need_invisible): Allocate an invisibleChristopher Faylor2-5/+10
window station when ctty != TTY_CONSOLE.
2006-05-182006-05-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+8
* libc/include/stdio.h: Add prototypes for fiscanf, iscanf, and siscanf.
2006-05-17 * src-release (MAKEINFOFLAGS): Define.Daniel Jacobowitz2-3/+13
(do-proto-toplev): Pass MAKEINFOFLAGS to submakes.
2006-05-17 * mingwex/wcrtomb.c (wcrtomb_cp): Test (wc > 255) only if C locale.Danny Smith2-10/+13
Use supplied codepage as arg to WideCharToMultiByte.
2006-05-17* cygtls.cc (_cygtls::remove): Don't test for initialization since thisChristopher Faylor3-3/+9
function will always be called when _my_tls is initialized. * init.cc (dll_entry): Don't attempt to remove tls info if _my_tls is obviously not even available.
2006-05-16correct changelog dateChristopher Faylor1-1/+1
2006-05-16* sigproc.cc (no_signals_available): Detect hwait_sig == INVALID_HANDLE_VALUE.Christopher Faylor8-85/+105
(wait_sig): Set hwait_sig to INVALID_HANDLE_VALUE on __SIGEXIT. * cygtls.cc (_cygtls::init_thread): Zero entire _my_tls structure and no more. * cygtls.h (_my_tls::padding): Delete. (CYGTLS_PADSIZE): Redefine concept of padding to mean padding at the end of the stack. * dcrt0.cc (initialize_main_tls): Change return to void. * gentls_offsets: Treat const specially, too. Keep going after a '}' is found. Change negative offset calculation to use CYGTLS_PADSIZE. * init.cc (_my_oldfunc): New variable. (threadfunc_fe): Use stored tls value for oldfunc rather than blindly writing to the stack. (munge_threadfunc): Set oldfunc in tls. (dll_entry): Initialize tls allocation. * tlsoffsets.h: Regenerate.
2006-05-14* ntdll.h (STATUS_INVALID_INFO_CLASS): Conditionalize.Christopher Faylor2-0/+8
2006-05-14 * config.sub, config.guess: Update from upstream sources.Ben Elliston3-6/+13
2006-05-12 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).Joern Rennecke2-2/+2
* libc/machine/sh/Makefile.in: Regenerate.