summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* Mention new cygcheck -p option.Joshua Daniel Franklin2006-02-022-4/+11
|
* * lib/iphlpapi.def: (NotifyAddrChange@8): Define.Danny Smith2006-02-022-0/+8
| | | | | Reported by: Daniel Atallah <datallah at users dot sf dot net> (NotifyRouteChange@8): Define.
* * autoload.cc (GetTcpTable): Define.Corinna Vinschen2006-02-012-1/+43
| | | | | | | * fhandler_socket.cc (address_in_use): New function to check if sockaddr_in address is already in use. (fhandler_socket::bind): Check if address is alreay in use in case of SO_REUSEADDR, to circumvent WinSock non-standard behaviour.
* * spawn.cc (dll_suffixes): Add .exe and "no suffix" to the list.Corinna Vinschen2006-02-012-0/+5
|
* * dlfcn.cc (check_path_access): Call find_exec with FE_DLL option.Corinna Vinschen2006-01-314-13/+31
| | | | | | | | | | | | * path.h (enum fe_types): Add FE_DLL value. * spawn.cc (std_suffixes): Remove. (exe_suffixes): New suffix_info for executing files. (dll_suffixes): New suffix_info for searching shared libraries. (perhaps_suffix): Add opt argument. Use dll_suffixes if FE_DLL option is given, exe_suffixes otherwise. (find_exec): Propagate opt argument to perhaps_suffix. Drop suffix check when testing execute permission. (spawn_guts): Call perhaps_suffix with FE_NADA opt argument.
* * spawn.cc (av::fixup): Remove unused argument.Christopher Faylor2006-01-312-4/+9
| | | | (spawn_guts): Remove capitalization in debugging.
* * spawn.cc (find_exec): Only return files with execute permission setCorinna Vinschen2006-01-313-12/+27
| | | | | | | if ntsec is on. Don't check execute permission of Windows batch files. (av::fixup): Handle empty files gracefully. Drop execute permission test here. * path.cc (suffix_scan::next): Don't skip any suffix on first run.
* 2006-01-31 Leif Ekblad <leif@rdos.net>Jeff Johnston2006-01-3136-1/+12877
| | | | | | | | | | | | | | | | | | | | | | * configure.host: RDOS support added * libc/include/sys/config.h: Ditto. * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files. * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto. * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto. * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto. * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto. * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto. * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto. * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto. * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto. * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto. * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto. * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto. * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto. * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto. * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto. * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto. * libc/sys/rdos/write.c: Ditto.
* * path.cc (cwdstuff::set): Don't set win32 error, only POSIX errno.Corinna Vinschen2006-01-312-2/+7
|
* * path.cc (cwdstuff::set): When SetCurrentDirectory returnsCorinna Vinschen2006-01-312-0/+16
| | | | | ERROR_INVALID_FUNCTION, bend it over to ERROR_FILE_NOT_FOUND. Add comment to explain why.
* 2006-01-31 Paul Brook <paul@codesourcery.com>Paul Brook2006-01-312-48/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Richard Earnshaw <rearnsha@arm.com> * gas/config/tc-arm.c: Use arm_feature_set. (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none, arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1, fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2): New variables. (insns): Use them. (md_atof, opcode_select, opcode_select, md_assemble, md_assemble, md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch, arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes, s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU feature flags. (arm_legacy_option_table, arm_option_cpu_value_table): New types. (arm_opts): Move old cpu/arch options from here... (arm_legacy_opts): ... to here. (md_parse_option): Search arm_legacy_opts. (arm_cpus, arm_archs, arm_extensions, arm_fpus) (arm_float_abis, arm_eabis): Make const. * include/opcode/arm.h: Use ARM_CPU_FEATURE. (ARM_AEXT_*, FPU_ENDIAN_PURE, FPU_VFP_HARD): New. (arm_feature_set): Change to a structure. (ARM_CPU_HAS_FEATURE, ARM_MERGE_FEATURE_SETS, ARM_CLEAR_FEATURE, ARM_FEATURE): New macros.
* * dir.cc (readdir_worker): Add comment about writing old 32 bit d_ino.Corinna Vinschen2006-01-312-8/+8
| | | | | * include/cygwin/version.h: Bump API minor number to 152. (CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO): Remove.
* * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): SimplifyCorinna Vinschen2006-01-302-1/+6
| | | | conditional.
* * fhandler_disk_file.cc (d_cachepos): Rename from d_pos to distinctCorinna Vinschen2006-01-302-7/+15
| | | | | clearly from __d_position. Change throughout. (fhandler_disk_file::rewinddir): Reset readdir cache on NT.
* * CYGWIN_LICENSE: Restrict to v2.Christopher Faylor2006-01-292-0/+345
| | | | * COPYING: Add.