summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ps.cc (longopts): Add --process option.Corinna Vinschen2006-02-163-4/+24
| | | | | | | (opts): Add -p option. (usage): Mention -p/--process option. (main): Handle -p option. * utils.sgml: Describe -p/--process option.
* minor comment restructuringChristopher Faylor2006-02-152-7/+5
|
* * regtool.cc (usage): Clarify help for "-K".Corinna Vinschen2006-02-152-1/+5
|
* * libc/include/sys/time.h (struct timeval): Change member typesCorinna Vinschen2006-02-153-3/+12
| | | | | | | according to SUSv3. * libc/include/sys/types.h (useconds_t): Change to unsigned according to SUSv3. (suseconds_t): Define type.
* 2006-02-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-02-145-157/+1024
| | | | | | | | | | | | | | | | | | | | | | | | Sync from gcc: 2006-01-31 Richard Guenther <rguenther@suse.de> Paolo Bonzini <bonzini@gnu.org> * Makefile.def (target_modules): Add libgcc-math target module. * configure.in (target_libraries): Add libgcc-math target library. (--enable-libgcc-math): New configure switch. * Makefile.in: Re-generate. * configure: Re-generate. * libgcc-math: New toplevel directory. 2006-01-18 Richard Henderson <rth@redhat.com> Jakub Jelinek <jakub@redhat.com> Diego Novillo <dnovillo@redhat.com> * libgomp: New directory. * Makefile.def: Add target_module libgomp. * Makefile.in: Regenerate. * configure.in (target_libraries): Add target-libgomp. * configure: Regenerate.
* 2006-02-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-02-144-143/+220
| | | | | | | | | | | | | Andreas Schwab <schwab@suse.de> * configure: Regenerate. config: 2006-02-14 Paolo Bonzini <bonzini@gnu.org> Andreas Schwab <schwab@suse.de> * acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Use correct program name. (ACX_CHECK_INSTALLED_TARGET_TOOL): Likewise, and always set $1.
* * include/mntent.h: Add missing #include.Christopher Faylor2006-02-132-1/+6
|
* * gentls_offsets: Fix typo in error message.Christopher Faylor2006-02-132-1/+5
|
* 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-133-5/+19
| | | | | | | | | David Carne <davidcarne@gmail.com> * libc/string/strndup_r.c (_strndup_r): Use strnlen logic instead of strlen to determine number of bytes to copy. * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs before looking at storage location.
* 2006-02-13 Earnie Boyd <earnie@users.sf.net>Earnie Boyd2006-02-132-0/+7
| | | | | * Makefile.in (libmsvcr80.a): Add import lib. (libmsvcr80d.a): Ditto.
* * fhandler_process.cc (format_process_stat): Use cygwin-derived start time evenChristopher Faylor2006-02-113-5/+9
| | | | | | on NT since it is the logical start time of the "process". * pinfo.cc (set_myself): Don't set start time when it should have already been set previously.
* revert previously applied patch.Christopher Faylor2006-02-111-1/+1
|
* * times.cc (clock_getres): Use correct conversion from milliseconds toChristopher Faylor2006-02-113-4/+10
| | | | | seconds/nanoseconds. (clock_setres): Use correct conversion to nanoseconds.
* * external.cc (sync_winenv): Rename from "setup_winenv". Use same mechanism asChristopher Faylor2006-02-103-25/+45
| | | | | | | spawn to determine environment variables which should be converted back to windows form. (cygwin_internal): Reflect setup_winenv -> sync_winenv name change. * include/sys/cygwin.h: Ditto.
* bfd/H.J. Lu2006-02-102-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-10 H.J. Lu <hongjiu.lu@intel.com> PR binutils/2258 * elf.c (copy_private_bfd_data): Renamed to ... (rewrite_elf_program_header): This. (copy_elf_program_header): New function. (copy_private_bfd_data): Likewise. binutils/ 2006-02-10 H.J. Lu <hongjiu.lu@intel.com> PR binutils/2258 * readelf.c (process_program_headers): Use ELF_IS_SECTION_IN_SEGMENT_MEMORY. include/elf/ 2006-02-10 H.J. Lu <hongjiu.lu@intel.com> PR binutils/2258 * internal.h (ELF_IS_SECTION_IN_SEGMENT_FILE): New. (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Only setCorinna Vinschen2006-02-092-3/+19
| | | | | the dirent_get_d_ino flag on filesystems having useful File IDs. Add comment explaining why.
* * cygcheck.cc (find_on_path): Update copyright text.Corinna Vinschen2006-02-082-1/+5
|
* * cygcheck.cc (find_on_path): Create copy of rv on successful accessCorinna Vinschen2006-02-082-1/+6
| | | | check, since rv can be reused in subsequent calls.
* * bfd/archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e,Nathan Sidwell2006-02-073-22/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x, bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249, bfd_mach_mcf547x, bfd_mach_mcf548x): Remove. (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div, bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac, bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp, bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac, bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac, bfd_mach_mcf_isa_b_usp_float_emac): New. (bfd_default_scan): Update coldfire mapping. * bfd/bfd-in.h (bfd_m68k_mach_to_features, bfd_m68k_features_to_mach): Declare. * bfd/bfd-in2.h: Rebuilt. * bfd/cpu-m68k.c (arch_info_struct): Add new coldfire machines, adjust legacy names. (m68k_arch_features): New. (bfd_m68k_mach_to_features, bfd_m68k_features_to_mach): Define. * bfd/elf32-m68k.c (elf32_m68k_object_p): New. (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags. (elf32_m68k_print_private_bfd_data): Print the CF EF flags. (elf_backend_object_p): Define. * bfd/ieee.c (ieee_write_processor): Update coldfire machines. * bfd/libbfd.h: Rebuilt. * gas/config/tc-m68k.c (mcf5208_control_regs, mcf5213_control_regs, mcf5329_control_regs): New. (not_current_architecture, selected_arch, selected_cpu): New. (m68k_archs, m68k_extensions): New. (archs): Renamed to ... (m68k_cpus): ... here. Adjust. (n_arches): Remove. (md_pseudo_table): Add arch and cpu directives. (find_cf_chip, m68k_ip): Adjust table scanning. (no_68851, no_68881): Remove. (md_assemble): Lazily initialize. (select_control_regs): Adjust cpu names. Add 5208, 5213, 5329. (md_init_after_args): Move functionality to m68k_init_arch. (mri_chip): Adjust table scanning. (md_parse_option): Reimplement 'm' processing to add -march & -mcpu options with saner parsing. (m68k_lookup_cpu, m68k_set_arch, m68k_set_cpu, m68k_set_extension, m68k_init_arch): New. (s_m68k_cpu, s_m68k_arch): New. (md_show_usage): Adjust. (m68k_elf_final_processing): Set CF EF flags. * gas/config/tc-m68k.h (m68k_init_after_args): Remove. (tc_init_after_args): Remove. * gas/doc/c-m68k.texi (M68K-Opts): Document -march, -mcpu options. (M68k-Directives): Document .arch and .cpu directives. * gas/testsuite/gas/m68k/all.exp: Add arch-cpu-1 test. * gas/testsuite/gas/m68k/arch-cpu-1.[sd]: New. * include/elf/m68k.h (EF_CPU32, EF_M68000, EF_CFV4E): Rename to ... (EF_M68K_CPU32, EF_M68K_M68000, EF_M68K_CFV4E): ... here. (EF_M68K_ISA_MASK, EF_M68K_ISA_A, EF_M68K_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_HW_DIV, EF_M68K_MAC_MASK, EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_USP, EF_M68K_FLOAT): New. * include/opcode/m68k.h (m68008, m68ec030, m68882): Remove. (m68k_mask): New. (cpu_m68k, cpu_cf): New. (mcf5200, mcf5206e, mcf521x, mcf5249, mcf528x, mcf5307, mcf5407, mcf5470, mcf5480): Rename to cpu_<foo>. Add m680x0 variants. * opcodes/m68k-dis.c (print_insn_m68k): Use bfd_m68k_mach_to_features. * binutils/readelf.c (get_machine_flags): Add logic for EF_M68K flags.
* 2006-02-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-02-077-19/+65
| | | | | | | | * arm/crt0.S: Add Thumb-2 startup code. * arm/redboot-crt0.S: Ditto. * arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn. * arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define. * arm/trap.S: Disable for Thumb-2.
* 2006-02-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-02-077-16/+75
| | | | | | | | * libc/machine/arm/setjmp.S: Add Thumb-2 support. * libc/sys/arm/crt0.S: Add Thumb-2 startup code. * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn. * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define. * libc/sys/arm/trap.S: Disable for Thumb-2.
* * dtable.cc (handle_to_fn): Accomodate new argument order in call toCorinna Vinschen2006-02-077-89/+42
| | | | | | | | | | | | | | | | | | | sys_wcstombs. * fhandler_disk_file.cc (fhandler_disk_file::readdir): Call sys_wcstombs instead of just wcstombs to accomodate OEM codepages. * miscfuncs.cc (sys_wcstombs): Split len argument in source and target length. Always 0-terminate result in target string. * security.cc (lsa2wchar): Remove unused function. (lsa2str): Ditto. (get_lsa_srv_inf): Ditto. (get_logon_server): Accomodate new argument order in call to sys_wcstombs. (get_user_groups): Ditto. (get_user_local_groups): Ditto. (get_priv_list): Call sys_wcstombs directly instead of lsa2str. * uinfo.cc (cygheap_user::ontherange): Accomodate new argument order in call to sys_wcstombs. * winsup.h (sys_wcstombs): Change prototype to match new argument order.
* * init.cc (respawn_wow64_process): Exit with the exit code returnedCorinna Vinschen2006-02-072-1/+9
| | | | by the respawned process.
* 2006-02-04 Ron Lee <ronl@users.sourceforge.net>Danny Smith2006-02-062-1/+5
| | | | * include/winnls.h: Remove stray end ';' from preprocessor defines.
* * elf/ia64.h (SHF_IA_64_HP_TLS): New.Steve Ellcey2006-02-062-0/+6
|
* Fixed ChangeLog entryChris Sutcliffe2006-02-061-1/+1
|
* 2006-02-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-02-063-0/+14
| | | | | | * include/shlobj.h (PRF_VERIFYEXISTS, PRF_TRYPROGRAMEXTENSIONS, PRF_FIRSTDIRDEF, PRF_DONTFINDLNK): Ditto. * lib/shell32.def (PathResolve): Define.
* * include/shlobj.h (PathResolve): Fix typo.Christopher Faylor2006-02-062-1/+5
|
* Always zero all elements of siginfo_t throughout.Christopher Faylor2006-02-0613-118/+201
| | | | | | | | | | | | | | | | | | | | | | | | | * cygtls.h (_cygtls::thread_context): Declare new field. (_cygtls::thread_id): Ditto. (_cygtls::signal_exit): Move into this class. (_cygtls::copy_context): Declare new function. (_cygtls::signal_debugger): Ditto. * cygtls.cc (_cygtls::init_thread): Fill out thread id field. * exceptions.cc (exception): Change message when exception info is unknown. Copy context to thread local storage. (_cygtls::handle_exceptions): Avoid double test for fault_guarded. Reflect move of signal_exit to _cygtls class. (sigpacket::process): Copy context to thread local storage. (_cygtls::signal_exit): Move to _cygtls class. Call signal_debugger to notify debugger of exiting signal (WIP). Call stackdump here (WIP). (_cygtls::copy_context): Define new function. (_cygtls::signal_debugger): Ditto. * tlsoffsets.h: Regenerate. * include/cygwin.h (_fpstate): New internal structure. (ucontext): Declare new structure (WIP). (__COPY_CONTEXT_SIZE): New define. * exceptions.cc (_cygtls::interrupt_setup): Clear "threadkill" field when there is no sigwaiting thread. (setup_handler): Move event handling into interrupt_setup.
* * fhandler_socket.cc (fhandler_socket::connect): Fix formatting.Corinna Vinschen2006-02-062-1/+15
| | | | (fhandler_socket::wait): Handle SA_RESTART when signal arrives.
* 2006-02-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-02-062-0/+8
| | | | * include/shlobj.h (PathResolve): Define.
* * include/cygwin/socket.h (CMSG_FIRSTHDR): Avoid compiler warning.Corinna Vinschen2006-02-062-1/+5
|
* * include/features.h: Add comment to explain what's going to happenCorinna Vinschen2006-02-053-0/+27
| | | | | | here at one point. * include/sys/stdio.h: Guard getline and getdelim prototypes with _GNU_SOURCE to avoid collision with old-style declarations.
* * cygwinenv.sgml: Explain transparent_exe option.Corinna Vinschen2006-02-052-0/+17
|
* * environ.cc (struct parse_thing): Add transparent_exe option.Corinna Vinschen2006-02-057-37/+108
| | | | | | | | | | | | | | | | | * fhandler_disk_file.cc (fhandler_disk_file::link): Accomodate transparent_exe option. Add .exe suffix for links to executable files, if transparent_exe is set. * fhandler_process.cc (fhandler_process::fill_filebuf): Remove .exe suffix if transparent_exe option is set. * path.cc (symlink_worker): Accomodate transparent_exe option. (realpath): Don't tack on .exe suffix if transparent_exe is set. * syscalls.cc (transparent_exe): New global variable. (unlink): Accomodate transparent_exe option. (open): Ditto. (link): Ditto. (rename): Ditto. Maybe add .exe suffix when renaming executable files. (pathconf): Accomodate transparent_exe option. * winsup.h: Declare transparent_exe.
* * fhandler_disk_file.cc (fhandler_disk_file::readdir_9x): RemoveCorinna Vinschen2006-02-052-5/+6
| | | | useless code.
* Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80Arnold Metselaar2006-02-052-0/+5
|
* * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Remove labelCorinna Vinschen2006-02-052-7/+12
| | | | | "out". Move test for NULL __handle ... (fhandler_disk_file::rewinddir_9x): ... here.
* ... and the ChangeLog, never forget the ChangeLog...Corinna Vinschen2006-02-051-0/+4
|
* * dir.cc (rewinddir): Keep dirent_get_d_ino and dirent_set_d_ino flags.Corinna Vinschen2006-02-051-1/+1
|
* * fhandler_disk_file.cc (fhandler_disk_file::readdir): Don't close dir handleChristopher Faylor2006-02-052-15/+31
| | | | | | | | when we hit EOF since rewwindir may reactivate it. (fhandler_disk_file::readdir_9x): Eliminate superfluous temporary variable. (fhandler_disk_file::closedir): Return EBADF when trying to close unopened DIR. Reorganize slightly. Return actual derived error value rather than always returning 0.
* 2006-02-04 Ron Lee <ronl@users.sourceforge.net>Danny Smith2006-02-042-10/+14
| | | | * include/winnls.h: Remove stray end ';' from preprocessor defines.
* * dir.cc (rmdir): Reorganize check for trailing dot to return correct errorChristopher Faylor2006-02-042-6/+8
| | | | when directory does not exist.
* * dir.cc (mkdir): Reorganize check for trailing dot to return correct errorChristopher Faylor2006-02-043-8/+9
| | | | | | when directory exists. * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Remove special test for path ending in '.'.
* * path.cc (suffix_scan::lnk_match): Return true beginning withCorinna Vinschen2006-02-033-10/+20
| | | | | | | | | SCAN_APPENDLNK. (suffix_scan::next): Rearrange code to make .lnk append order slightly more deterministic. * spawn.cc (exe_suffixes): Try no suffix before .exe suffix to align evaluation with stat_suffixes. (dll_suffixes): Ditto.
* * cygwin/version.h: Mention CW_SETUP_WINENV in comment for API minor 153.Christopher Faylor2006-02-022-1/+6
|
* * cygwin.din (updwtmpx): Export.Corinna Vinschen2006-02-025-1/+18
| | | | | | * syscalls.cc (updwtmpx): New function. * include/utmpx.h (updwtmpx): Declare. * include/cygwin/version.h: Bump API minor number to 153.
* * external.cc (setup_winenv): New function.Christopher Faylor2006-02-023-1/+32
| | | | | (cygwin_internal): Implement CW_SETUP_WINENV. * sys/cygwin.h (cygwin_getinfo_types): Define CW_SETUP_WINENV.
* * security.cc (is_group_member): Fix comment.Corinna Vinschen2006-02-022-5/+10
|
* * security.cc (is_group_member): Use local group info type 1. TestCorinna Vinschen2006-02-022-6/+34
| | | | | group for being a global group or a well-known SID before adding it to the group list. Add comment.