Commit Graph

  • a4b5f2b383 * include/winuser.h (CreateWindowStation): Correctly identify first argument as constant. (CreateWindowStation@): Ditto. Christopher Faylor 2006-01-04 03:42:18 +0000
  • adcff8d159 * dir.cc (readdir_worker): Minor code cleanup. * fhandler_console.cc (beep): Use a more Windows-generic wav file if the beep is missing. Use a more foolproof way to find out whether we should be recreating the missing key. * registry.h (reg_key::_disposition): New field. (reg_key::created): New function. * registry.cc (reg_key::reg_key): Set _disposition to zero by default. (reg_key::build_key): Fill in _disposition field. Christopher Faylor 2006-01-03 17:44:26 +0000
  • 825d0b9385 * dir.cc (readdir_worker): Ensure that saw_dot flags are updated when not handling inodes. Christopher Faylor 2006-01-03 15:42:56 +0000
  • 5d09b46dc3 * include/uxtheme.h [_WIN32_WINNT >= 0x0501] (TMT_*, BT_*): Add constants. Dimitri Papadopoulos 2006-01-03 09:04:07 +0000
  • e76625eadb * fhandler_console.cc (beep): New function. Restores missing "Default Beep", if necessary. (fhandler_console::write_normal): Use beep(). Christopher Faylor 2006-01-03 01:15:29 +0000
  • 1529831639 2006-02-01 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2006-01-02 18:55:51 +0000
  • 29b35f7a84 * dcrt0.cc (_dll_crt0): Move more leftover debugging stuff. (cygwin_dll_init): Remove unneeded initializations. Call _dll_crt0 rather than dll_crt0_1. * dcrt0.cc (_dll_crt0): Move more leftover debugging stuff. (cygwin_dll_init): Remove unneeded initializations. Call _dll_crt0 rather than dll_crt0_1. Christopher Faylor 2006-01-02 15:48:29 +0000
  • 8584a9df5f * syslog.cc: Include sys/un.h instead of sys/socket.h. (syslogd_inited): Convert to enum type noting the exact result of trying to connect to syslog daemon. Use this way throughout. (connect_syslogd): New static function taking over the task to connect to syslog socket. Use correct struct sockaddr_un instead of struct sockaddr. (try_connect_syslogd): Call connect_syslogd. If write fails on connection oriented socket, try to reconnect to syslog socket and try to write again. Corinna Vinschen 2006-01-02 13:05:57 +0000
  • d05c10aecd Bump copyright dates. Corinna Vinschen 2006-01-02 13:01:42 +0000
  • 7f9832e774 * cygload/README: Delete. * cygload/cygload.cc: Move to winsup.api. Add comments from README. * cygload/cygload.h: Move to winsup.api. * cygload/cygload.exp: Move to winsup.api. * Makefile.in: Remove cygload. * winsup.api/winsup.exp: If a .exp file is detected, run it rather than using standard compile. * winsup.api/resethand.c (main): Use printf to print status or expect thinks something is wrong. Christopher Faylor 2006-01-02 06:15:58 +0000
  • b0b9ccf618 * winsup.api/resethand.c (main): Remove core dump flag from exit status. Christopher Faylor 2006-01-02 04:01:22 +0000
  • 590129475b * winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc complaint. Christopher Faylor 2006-01-02 03:45:32 +0000
  • 3bfd1c5e8c * pinfo.cc (pinfo::exit): Swap signal and normal exit value when not started from a cygwin process - just like the good-old-days of B20. Christopher Faylor 2006-01-02 03:14:56 +0000
  • 68f62c98f9 add copyright Christopher Faylor 2006-01-02 02:57:54 +0000
  • d0d1b89700 add missing ChangeLog entry Christopher Faylor 2006-01-02 02:55:50 +0000
  • 7a32aefe79 * cygtls.cc (_cygtls::remove): Remove left over debugging cruft which caused this function to always return prematurely. Christopher Faylor 2006-01-02 02:55:14 +0000
  • 74c29a5e9a * winsup.api/resethand.c: Use SIGSEGV for the signal to test. Christopher Faylor 2006-01-01 18:02:54 +0000
  • 031d1aa40f * winsup.api/resethand.c: New file. Christopher Faylor 2006-01-01 17:26:52 +0000
  • 4eab146fc7 * exceptions.cc (sigpacket::process): Pass actual reference to signal's sigaction structure to setup_handler. Christopher Faylor 2006-01-01 17:15:01 +0000
  • a14d65557a * exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND. * include/cygwin/signal.h: Define SA_ONESHOT and SA_NOMASK. * dcrt0.cc (get_cygwin_startup_info): Remove commented out code. Christopher Faylor 2006-01-01 16:51:29 +0000
  • a89b700926 * syslog.cc (vklog): Never log kernel messages using the vsyslog interface. Corinna Vinschen 2006-01-01 16:17:55 +0000
  • cceba5593d * syslog.cc (vsyslog): Decrement len if trailing \n has been removed. Add \n when writing to stderr if LOG_PERROR option is set. Corinna Vinschen 2005-12-31 14:16:49 +0000
  • 1b68dd91cf * include/cygwin/in.h: Drop including stdint.h. Move definition of in_port_t and in_addr_t to top of file and use throughout. Use sa_family_t type where appropriate. (struct in6_addr): Change `unsigned char' to `uint8_t'. (struct sockaddr_in6): Add sin6_scope_id member. Add comments. * include/cygwin/socket.h: Include stdint.h. Move definition of socklen_t to top of file. Define sa_family_t. Define struct sockaddr_storage as per SUSv3. * include/sys/un.h: Include cygwin/socket.h. Use sa_family_t type. Corinna Vinschen 2005-12-31 13:07:43 +0000
  • cf2af34b70 * include/winsock2.h: Don't define struct sockaddr_storage when building Cygwin. Corinna Vinschen 2005-12-31 13:07:22 +0000
  • c63bbc11d6 include: * xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New. gas: * config/tc-xtensa.c (op_placement_info_struct): Delete single, single_size, widest, and widest_size fields. Add narrowest_slot. (xg_emit_insn_to_buf): Remove fmt parameter and compute it here. Use xg_get_single_slot to find the slot. (finish_vinsn): Use emit_single_op instead of bundle_single_op. (bundle_single_op): Rename this to.... (bundle_tinsn): ...this function, which builds a vliw_insn but does not call finish_vinsn. (emit_single_op): Use bundle_tinsn instead of bundle_single_op. (relax_frag_immed): Get num_slots from cur_vinsn. (convert_frag_narrow): Update call to xg_emit_insn_to_buf. (convert_frag_immed): Likewise. Also, get num_slots from cur_vinsn. (init_op_placement_info_table): Set narrowest_slot field. Remove code for deleted fields. (xg_get_single_size): Return narrowest_size field, not single_size. (xg_get_single_format): Return narrowest field, not single. (xg_get_single_slot): New. (tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf. * config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations. (transition_applies): Check wide branch option availability. Bob Wilson 2005-12-30 23:34:00 +0000
  • b88d641c62 * relnotes.texinfo: Remove entry about hyperthreaded processor. Christopher Faylor 2005-12-30 19:28:26 +0000
  • 2e99d150d4 * faq-problems.html: Remove entry about hyperthreaded processor. Christopher Faylor 2005-12-30 19:26:07 +0000
  • b0cc168954 * fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Use strace method rather than accessing field directly. (fhandler_tty_common::__release_output_mutex): Ditto. Christopher Faylor 2005-12-29 21:10:50 +0000
  • 5d97040501 *** cygwin DLL Changes: * child_info.h (CURR_CHILD_INFO_MAGIC): Reset. (child_info::dwProcessId): Delete. (child_info::straced): New variable. (child_info::handle_fork): New member function. * dcrt0.cc (in_forkee): New global variable. (__cygwin_user_data::forkee): Mark as obsolete. (do_global_ctors): Use in_forkee rather than user_data->forkee. (get_cygwin_startup_info): Ditto. Deal with new straced field to allow strace to deal with children of attached processes. (initial_env): Accommodate changes to strace::hello. (child_info_fork::handle_fork): Rename from plain old 'handle_fork'. Move alloc_stack() call elsewhere. (dll_crt0_0): Fill out more of user_data. Reference handle_fork via fork_info. Add some debugging output. (_dll_crt0): Don't wait for sync thread if sync_startup is invalid. Zero sync_startup here. Call alloc_stack() here, if appropriate. (dll_crt0_1): Use in_forkee rather than user_data->forkee. (dll_crt0): Ditto. * malloc_wrapper.cc (malloc_init): Ditto. * dll_init.cc (in_forkee): Remove local static version of this variable. (dll_list::load_after_fork): Don't set in_forkee here. * external.cc (cygwin_internal): Use strace method rather than accessing field directly. * fhandler.cc (fhandler_base::read): Ditto. * fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto. * fork.cc (frok::parent): Invoke strace write_childpid to communicate with potential strace. (child_copy): Add more detail to debugging output. * init.cc (calibration_id): New static variable. (prime_threads): Set sync_startup to invalid handle if we already know about thread_func_ix. Use static calibration_id to hold calibration thread id. * munge_threadfunc (munge_threadfunc): Don't try to debug if we don't find threadfunc_ix. (dll_entry): Avoid calling munge_threadfunc and _cygtls::remove on non-cygwin threads invoked during process startup. * pinfo.cc (set_myself): Always call strace.hello here regardless of DEBUGGING. * sigproc.cc (child_info::child_info): Remove spurious handling of dwProcessId. Set straced as appropriate. * spawn.cc (spawn_guts): Rename ciresrv to ch. Invoke strace write_childpid to communicate with potential strace. * strace.cc: Include child_info.h. (strace::hello): Remove inited test. Use active() method to test if strace has been activated. Handle case where we are started before (mypid): New function. (strace::vsprntf): Try to deal more intelligently with case where progname may not be filled out. Put pid in parentheses if it is a windows pid rather than a cygwin pid. myself has been filled out. (strace::write_childpid): New function for notifying strace about the creation of children. (strace::vprntf): Use strace method rather than accessing field directly. (strace_printf): Ditto. (strace::wm): Ditto. * winsup.h (in_forkee): Declare. * include/sys/strace.h (strace::write_childpid): Declare new function. (strace::attached): Define new function. (strace::active): Ditto. (strace::active_val): Ditto. (_STRACE_ON): Delete. (_STRACE_OFF): Ditto. (define_strace0): Use strace method rather than accessing field directly. (strace_printf_wrap): Ditto. (strace_printf_wrap1): Ditto. Christopher Faylor 2005-12-29 20:46:34 +0000
  • 10e4168d84 * cygcheck.cc (common_apps): Add crontab, vi, vim. Christopher Faylor 2005-12-29 19:23:46 +0000
  • 77ae8757f7 * environ.cc (win_env::add_cache): Don't add variables to the environment during initialization. Christopher Faylor 2005-12-29 03:46:56 +0000
  • 20e84812d2 * exceptions.cc (_cygtls::handle_exceptions): Drop redundant `break'. Corinna Vinschen 2005-12-27 20:47:49 +0000
  • de6c4c6a5f * ChangeLog: Add linebreaks. Corinna Vinschen 2005-12-27 20:23:48 +0000
  • a5912e6dbc * exceptions.cc (inside_kernel): Rename from interruptible. Accommodate change throughout file. Corinna Vinschen 2005-12-27 20:20:09 +0000
  • 4f12275501 * exceptions.cc (interruptible): New function, code stripped from _cygtls::interrupt_now. (_cygtls::handle_exceptions): Handle STATUS_DATATYPE_MISALIGNMENT as SIGBUS error. Differ between unmapped memory (SEGV_MAPERR) and access violation (SEGV_ACCERR) in case of STATUS_ACCESS_VIOLATION. Write kernel log message in case of uncatched STATUS_ACCESS_VIOLATION. (_cygtls::interrupt_now): Just call interruptible now instead of evaluating interruptibility here. Corinna Vinschen 2005-12-27 20:07:59 +0000
  • 19556072f6 Add missing ChangeLog entry. Corinna Vinschen 2005-12-27 20:01:29 +0000
  • 9e68bb7b50 * path.cc (path_conv::check): Rework loop removing trailing dots and spaces. Corinna Vinschen 2005-12-27 18:10:49 +0000
  • 22d7108ee5 Add support for RDOS targets. Nick Clifton 2005-12-27 17:42:44 +0000
  • 018330f0a4 PR binutils/1990 * libtool.m4: Synchronize with version in GCC sources. Nick Clifton 2005-12-27 16:37:57 +0000
  • 192af6e283 white space Christopher Faylor 2005-12-26 21:23:05 +0000
  • a16b738dd5 * dcrt0.cc (__api_fatal): Simplify to just use strace mechamisms. (do_exit): Move minimal_printf... * pinfo.cc (pinfo::exit): ...into here. * strace.cc (strace::vprntf): Guarantee output to the console when system_printf/api_fatal. * heap.cc (heap_init): Wait a second before issuing an error when ERROR_INVALID_ADDRESS since this is probably due to a CTRL-C handler sneaking in, using the memory that we want to use for the heap, and, eventually exiting. Christopher Faylor 2005-12-26 19:34:59 +0000
  • c675040a06 typo Christopher Faylor 2005-12-25 18:15:02 +0000
  • dcd0465b2b * cygtls.cc (_cygtls::handle_threadlist_exception): Make an error fatal. * cygtls.h (sockaddr_in): Use header rather than defining our own structure. * exceptions.cc (_cygtls::interrupt_setup): Use exact contents of sa_mask rather than assuming tht current sig should be masked, too. (_cygtls::call_signal_handler): Use more aggressive locking. * gendef (_sigbe): Wait until later before releasing incyg. (_sigreturn): Remove more arguments to accommodate quasi-sa_sigaction support. (_sigdelayed): Push arguments for sa_sigaction. More work needed here. * signal.cc (sigaction): Implement SA_NODEFER. * tlsoffsets.h: Regenerate. Christopher Faylor 2005-12-23 22:50:20 +0000
  • ede284de5f * fork.cc (fork): Honor error return from sig_send. Don't continue with fork if we couldn't suspend signals. * sigproc.cc (sig_send): Set sigCONT event when we see __SIGNOHOLD. (wait_sig): Remove holding_signals. Create pipe with a buffer which will theoretically cause blocking if there is nothing reading on the pipe. Wait for sigCONT at end of loop when we have a __SIGHOLD. Christopher Faylor 2005-12-23 01:24:14 +0000
  • 52792a770d * fhandler.h (fhandler_base::issymlink): New method. * syscalls.cc (open): Handle O_NOFOLLOW flag. * include/fcntl.h (_FNOFOLLOW): New define. (O_NOFOLLOW): Ditto. * include/cygwin/version.h: Bump API minor number. Corinna Vinschen 2005-12-22 16:45:15 +0000
  • db55f91dc0 * lib/ws2_32.c: New file, defining IPv6 constants. * Makefile.in (SOURCES): Add ws2_32.c (EXTRA_OBJS): Add ws2_32.o. Danny Smith 2005-12-22 07:47:10 +0000
  • de935f6d9f whitespace cleanup to force snapshot. Christopher Faylor 2005-12-22 05:57:54 +0000
  • 718dee922f * pinfo.cc (winpids::add): Increment nelem when winpid is true since we don't care if it's a cygwin process in that case. Christopher Faylor 2005-12-22 05:26:14 +0000
  • 3962fad137 fix ya typo Christopher Faylor 2005-12-22 05:23:51 +0000
  • 67cd42db4c * pinfo.cc (winpids::release): Fix typo. Christopher Faylor 2005-12-22 05:11:44 +0000
  • f3ea02b1cf * pinfo.cc (pinfo::init): Clarify comment slightly. (_onreturn): New helper class. (winpids:add): Remove copied stuff. Try to put process handle into pinfo in question and use _onreturn class to control when to close it. (winpids::release): Remove use of copied array. Free procinfo when hProc is NULL. Otherwise call release and call CloseHandle on hProc. * pinfo.h (winpids::copied): Remove throughout class. Christopher Faylor 2005-12-22 03:16:36 +0000
  • 9981546a7c * pinfo.cc (pinfo::init): Remove spurious low_priority_sleep. Christopher Faylor 2005-12-21 19:39:53 +0000
  • 01032746d1 * spawn.cc (spawn_guts): Hide the window whenever ctty == -1, not just when we have no console. Christopher Faylor 2005-12-21 17:20:43 +0000
  • 247ac234f4 * cygheap.cc (init_cygheap::manage_console_count): Revert previous change. Handle this a different way. * external.cc (cygwin_internal): Accommodate extra hook_or_detect_cygwin argument. * hookapi.cc (cygwin_internal): Fill in subsys variable with the subsystem of the executable. * spawn.cc (av::iscui): New variable. (spawn_guts): Hide window when we don't have a console and this isn't NT/XP/2003. (av::fixup): Set iscui flag. * winsup.h (hook_or_detect_cygwin): Accommodate extra argument. Christopher Faylor 2005-12-21 17:14:34 +0000
  • d4c8d84da6 * cygheap.cc (init_cygheap::manage_console_count): Don't call FreeConsole on 9x/Me. Christopher Faylor 2005-12-21 16:09:25 +0000
  • 2df1714182 * (fhandler_disk_file::fchown): Remove execute bits from "sensible" permissions. Use same setting as in symlink. Corinna Vinschen 2005-12-21 13:37:28 +0000
  • 0786c42a9c * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix inode number debug output. (fhandler_disk_file::fchown): Always set sensible permission values when creating the ACL for symlinks. Corinna Vinschen 2005-12-21 13:01:27 +0000
  • 94692f408c 2005-12-21 Michael Jung <mjung@iss.tu-darmstadt.de> Danny Smith 2005-12-21 08:09:08 +0000
  • c5a3166fc5 * winsup.h (flush_file_buffers): Define as inline function. * miscfuncs.cc (flush_file_buffers): Remove. Corinna Vinschen 2005-12-20 20:34:28 +0000
  • 56c07aa2ce * winsup.h (flush_file_buffers): Declare new function. (FLushFileBuffers): New define. * miscfuncs.cc (flush_file_buffers): Define new function. Corinna Vinschen 2005-12-20 20:19:55 +0000
  • 7c578a4fa0 * fhandler.h (fhandler_termios::fixup_after_exec): Make non-inlined. * fhandler_termios.cc (fhandler_termios::fixup_after_exec): Don't call fixup_after_fork if close_on_exec'ed. Christopher Faylor 2005-12-20 18:14:42 +0000
  • e5340d82b2 2005-12-20 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2005-12-20 17:21:57 +0000
  • 98da134d62 * cygtls.h (_cygtls::interrupt_now): Subsume interruptible(). (interruptible): Delete. (setup_handler): Remove interruptible call and just use return from interrupt_now. Christopher Faylor 2005-12-20 00:31:50 +0000
  • 7a01aa546d * fhandler.h (set_console_state_for_spawn): Add an argument to the declaration. * fhandler_console.cc (set_console_state_for_spawn): Ditto for the definition. Only set invisible console for non-cygwin process. Remove debugging leftover. * spawn.cc (spawn_guts): Pass argument denoting whether this is a cygwin process to set_console_state_for_spawn and only call this function when exec'ing. Christopher Faylor 2005-12-19 19:04:14 +0000
  • 7e958b2e6a 2005-12-19 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2005-12-19 17:33:45 +0000
  • 14df41c155 * dump_setup.cc (package_find): Fix is_alias computation for "/usr/lib". Corinna Vinschen 2005-12-19 16:58:33 +0000
  • edd79f2da4 * mmap.cc (fhandler_dev_zero::mmap): Call VirtualFree(MEM_RELEASE) with zero length parameter, otherwise it fails. (fhandler_dev_zero::munmap): Ditto. Corinna Vinschen 2005-12-19 15:25:23 +0000
  • 1219debe0c fix minor typo. Christopher Faylor 2005-12-19 05:08:20 +0000
  • 65438ec635 * fhandler.h (fhandler_pipe::fixup_in_child): Declare new function. (fhandler_console::invisible_console): Declare new variable. (fhandler_console::need_invisible): Ditto. (fhandler_console::has_a): Ditto. * fhandler_console.cc (set_console_state_for_spawn): Eliminate return value. Set up an invisible console if necessary prior to spawning. (fhandler_console::invisible_console): Define. * fhandler_tty.cc (fhandler_tty_slave::open): Use fhandler_console::invisible_console to setup an invisible console. * pipe.cc (fhandler_pipe::fixup_in_child): Define new function from fixup_after_exec. (fhandler_pipe::fixup_after_exec): Use fixup_in_child when appropriate. (fhandler_pipe::fixup_after_fork): Ditto. * spawn.cc (handle): Reorganize and modernize a little. (spawn_guts): Rely on set_console_state_for_spawn to set the console into the right state but don't create the process with "detached" flag if we have no controlling tty since that confuses 'cmd'. * dtable.cc (dtable::stdio_init): Don't set console as controlling terminal if we have an invisible console. * sigproc.cc (child_info::sync): Use correct name in ForceCloseHandle1. Christopher Faylor 2005-12-19 04:34:13 +0000
  • ca9271d1b6 * include/sys/dirent.h: Change __deprecated_d_ino to __invalid_d_ino throughout to make things a little clearer. * dir.cc (readdir_worker): Reflect above change. Christopher Faylor 2005-12-19 04:00:41 +0000
  • ad02bb70e3 * winsup.h (child_copy): Change prototype to match new functionality. * cygheap.cc (cygheap_fixup_in_child): Accommodate new child_copy arguments. * dcrt0.cc (dll_data_start): Move definition here from fork. (dll_data_end): Ditto. (dll_bss_start): Ditto. (dll_bss_end): Ditto. (handle_fork): New function. Called when forked to deal with fork issues and copy data to this process from the parent. (dll_crt0_0): Call handle_fork when _PROC_FORK condition. (dll_crt0): Don't copy user_data when we've forked. Don't zero first element of main_environment ever. (cygwin_dll_init): Ditto. * fork.cc (child_copy): Rename from fork_copy and change arguments so that each pair of things to copy gets its own descriptor. (frok::child): Remove fixup_mmaps_after_fork call here. Move to handle_fork in dcrt0.cc. (frok::parent): Use child_copy rather than fork_copy and accommodate changes in parameters. * exceptions.cc (setup_handler): Delay test of whether we're locked until after GetThreadContext has been called since there are apparently cases where SuspendThread does not cause an immediate thread suspension. Christopher Faylor 2005-12-17 04:36:39 +0000
  • a249fd1c9b 2005-12-16 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-12-16 20:58:39 +0000
  • 0217078f77 2005-12-16 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-12-16 20:49:42 +0000
  • 6ba157bb2e * init.cc (dll_entry): Call prime_threads after dll_crt0_0 to avoid conflicts between heap allocation and thread stack allocation. Christopher Faylor 2005-12-16 20:40:03 +0000
  • a4cd7f20f7 2005-12-16 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2005-12-16 19:11:10 +0000
  • 843e635aaa 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org> Jeff Johnston 2005-12-16 19:03:12 +0000
  • fd01d14ab1 * hookapi.cc (putmem): Remove query of previous memory protection since we get that for free the first time we call VirtualProtect. Christopher Faylor 2005-12-16 18:10:10 +0000
  • f5778dc7f4 Second part of ms1 to mt renaming. * bfd/archures.c (bfd_arch_mt): Renamed. (bfd_mt_arch): Renamed. (bfd_archures_list): Adjusted. * bfd/bfd-in2.h: Rebuilt. * bfd/config.bfd (mt): Remove special case targ_archs. (mt-*-elf): Rename bfd_elf32_mt_vec. * bfd/configure: Rebuilt. * bfd/configure.in (bfd_elf32_mt_vec): Renamed. (selarchs) Remove mt special case. * bfd/cpu-mt.c (arch_info_struct): Adjust. (bfd_mt_arch): Renamed, adjust. * bfd/elf32-mt.c (mt_reloc_type_lookup, mt_info_to_howto_rela, mt_elf_relocate_hi16, mt_final_link_relocate, mt_relocate_section, mt_elf_howto_table): Renamed, adjusted. (mt_elf_gc_mark_hook, mt_elf_gc_sweep_hook, mt_elf_check_relocs, elf32_mt_machine, mt_elf_object_p, mt_elf_set_private_flags, mt_elf_copy_private_bfd_data, mt_elf_merge_private_bfd_data, mt_elf_print_private_bfd_data): Renamed, adjusted. (TARGET_BIG_SYM, TARGET_BIG_NAME, ELF_ARCH, ELF_MACHINE_CODE, ELF_MAXPAGESIZE, elf_info_to_howto, elf_backend_relocate_section, bfd_elf32_bfd_reloc_type_lookup, elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook, elf_backend_check_relocs, eld_backend_object_p, bfd_elf32_bfd_set_private_flags, bfd_elf32_bfd_copy_private_bfd_data, bfd_elf32_bfd_merge_private_bfd_data, bfd_elf32_bfd_print_private_bfd_data): Adjusted. * bfd/libbfd.h: Regenerated. * bfd/reloc.c (BFD_RELOC_MT_PC16, BFD_RELOC_MT_HI16, BFD_RELOC_MT_LO16, BFD_RELOC_MT_GNU_VTINHERIT, BFD_RELOC_MT_GNU_VTENTRY, BFD_RELOC_MT_PCINSN8): Renamed. * bfd/targets.c (bfd_elf32_mt_vec): Renamed. (_bfd_target_vector): Adjusted. * binutils/readelf.c (guess_is_rela): Use EM_MT. (dump_relocations, get_machine_name): Adjust. Nathan Sidwell 2005-12-16 10:23:10 +0000
  • b4c9765a11 2005-12-15 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2005-12-15 14:36:17 +0000
  • 8b1ba065a6 * mmap.cc (fhandler_dev_zero::fixup_mmap_after_fork): Use system_printf like any other fixup_mmap_after_fork. Corinna Vinschen 2005-12-15 09:04:28 +0000
  • bc0d578d39 * cygcheck.cc (common_apps): Add a few more binaries to look for. Christopher Faylor 2005-12-15 03:36:14 +0000
  • 64ee06c782 Fix unforgivable spelling error in ChangeLog. Corinna Vinschen 2005-12-14 20:04:16 +0000
  • 15b527ca89 2005-12-14 Paolo Bonzini <bonzini@gnu.org> Paolo Bonzini 2005-12-14 18:00:22 +0000
  • ba31e832be * fhandler.cc (ACCFLAGS): Remove macro. (fhandler_base::get_default_fmode): Use O_ACCMODE instead of ACCFLAGS and or'ed read/write flags. (fhandler_base::open_9x): Use O_ACCMODE instead of or'ed read/write flags. (fhandler_base::open): Ditto. * fhandler_disk_file.cc (fhandler_base::open_fs): Ditto. * fhandler_mem.cc (fhandler_dev_mem::open): Ditto. * fhandler_raw.cc (fhandler_dev_raw::open): Ditto. Corinna Vinschen 2005-12-14 16:38:22 +0000
  • e3d14af155 * fhandler.cc (fhandler_base::open_9x): Handle O_SYNC and O_DIRECT flags. (fhandler_base::open): Ditto. * fhandler_floppy.cc (fhandler_dev_floppy::open): Don't allocate devbuf in O_DIRECT case. * fhandler_raw.cc (fhandler_dev_raw::ioctl): Don't allow buffer changes in O_DIRECT case. Allow returning a buffer size 0, which indicates O_DIRECT. * fhandler_tape.cc (fhandler_dev_tape::open): Use O_SYNC flag to hand down the !buffer_writes case. Don't allocate devbuf in O_DIRECT case. (fhandler_dev_tape::raw_read): Don't mess with devbuf if it's NULL. * include/fcntl.h: Define _FDIRECT, O_DIRECT, O_DSYNC and O_RSYNC. * include/cygwin/version.h: Bump API minor version. Corinna Vinschen 2005-12-14 15:54:33 +0000
  • 10cba930d4 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix typo in O_NDELAY comment. Corinna Vinschen 2005-12-14 09:06:00 +0000
  • fbe7cb7681 * m32c/crt0.S: Add support for preinit, init, and fini arrays, and .init and .fini processing. * m32c/crtn.S: Likewise. * m32c/exit.S: Likewise. DJ Delorie 2005-12-14 03:38:27 +0000
  • b24dda0b9d 2005-12-13 Nathan Sidwell <nathan@codesourcery.com> Jeff Johnston 2005-12-13 22:59:26 +0000
  • c8ba5c2205 2005-12-13 Nathan Sidwell <nathan@codesourcery.com> Jeff Johnston 2005-12-13 22:57:31 +0000
  • 2c8fd40695 * cygtls.cc (_cygtls::remove): Don't bother if we're exiting. * sigproc.cc (_cygtls::remove_wq): Ditto. Christopher Faylor 2005-12-13 16:01:57 +0000
  • 1f3a4b8496 * fhandler_tty.cc (fhandler_tty::open): Enhance comment. Christopher Faylor 2005-12-13 14:47:18 +0000
  • 4c848934fe * fhandler_tty.cc (fhandler_tty::open): Close newly created window station after switching to original window station. Corinna Vinschen 2005-12-13 09:07:12 +0000
  • 82f423291b * fhandler_tty.cc (fhandler_tty::open): Add a comment. Christopher Faylor 2005-12-13 05:43:30 +0000
  • 3220aed354 * faq-programming.xml: Add note about struct stat64. Joshua Daniel Franklin 2005-12-13 05:32:43 +0000
  • 56b5372519 * times.cc (hires_ms::usecs): Subtract from slop from system time or we'll always end up priming the pump. Christopher Faylor 2005-12-13 02:55:11 +0000
  • d090ee8081 * times.cc (systime): Correct precision referenced in comment. * fhandler_tty.cc (fhandler_tty_slave::open): Don't free original windows station since that will cause strange problems displaying fonts. Reset windows station to original station after creating console. * times.cc (hires_ms::usecs): Only reprime when calculated time is less than system time. Christopher Faylor 2005-12-13 02:02:51 +0000
  • becfe4e93e * include/winuser.h (WINSTA_ALL_ACCESS): Define. Christopher Faylor 2005-12-13 01:24:36 +0000
  • 678a9510df * pinfo.cc (winpids::add): Don't copy procinfo when there is no cygwin process associated with the pid, i.e., procinfo == NULL. Christopher Faylor 2005-12-13 00:54:32 +0000
  • c9da5a2183 * times.cc (hires_ms::usecs): Correct order when checking if high precision time is <= current time. Christopher Faylor 2005-12-13 00:43:46 +0000
  • a300f5fd14 correct ChangeLog Christopher Faylor 2005-12-12 19:10:02 +0000