summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * include/ddk/ntifs,h (FILE_ID_FULL_DIRECTORY_INFORMATION): RevertDanny Smith2006-02-212-5/+6
| | | | | last change. Remove file level #pragma pack(push,4)/#pragma pop.
* 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-203-1/+25
| | | | | | | * libc/stdio/fflush.c (fflush): For an fflush on a read-only stream, turn off fseek/rewind optimization as per POSIX/SUSv3. * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized seek, turn off the __SNPT no-optimization flag.
* fix typoChristopher Faylor2006-02-201-1/+1
|
* * spawn.cc (av::fixup): Check for .bat and friends specifically now since theseChristopher Faylor2006-02-202-2/+11
| | | | extensions are no longer automatically detected.
* 2006-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-02-206-1888/+2152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/25670 * Makefile.tpl ([+compare-target+]): Print explanation messages. * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass. * Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass. (EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES, BUILD_PREFIX, BUILD_PREFIX_1. * configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute. * Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too. * Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+], all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead of `cat stage_current`. Always provide the `r' and `s' variables. (clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into a single shell execution. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): For bootstrapped modules, make the stage1 module if the build was not started yet, else build the current stage. (all-host, all-target): Omit bootstrapped modules (if bootstrapping). (all-build, all-host, all-target, [+make_target+]-host, [+make_target+]-target): Do not use \-continued lines. (target modules): Depend on stage_last, not all-gcc, if bootstrapping. (current_stage, restrap, stage_last): New. * Makefile.in: Regenerate. * configure: Regenerate.
* revert erroneous checkinChristopher Faylor2006-02-202-13/+0
|
* * exceptions.cc (stackdump): Avoid dumping more than once.Christopher Faylor2006-02-204-1/+21
|
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Use NtOpenFile to openChristopher Faylor2006-02-192-6/+25
| | | | | | the directory. (fhandler_disk_file::readdir): Use NT_SUCCESS to determine if status represents success.
* * include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Add fillerCorinna Vinschen2006-02-192-0/+6
| | | | value to force correct alignment.
* * include/commctrl.h (LPNMLVCACHEHINT): Correct spelling.Danny Smith2006-02-192-1/+11
| | | | | | Thanks to: Sebastian Pipping <hartwork at users dot sf dot net> (PNM_CACHEHINT): Add backward compatibilty define. (LPNM_CACHEHINT): Likewise.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop generatingCorinna Vinschen2006-02-192-1/+5
| | | | path_conv for root.
* * fhandler_disk_file.cc (FS_IS_SAMBA): Move out ofCorinna Vinschen2006-02-183-5/+35
| | | | | | | | path_conv::hasgood_inode. (path_conv::is_samba): New method. (fhandler_base::fstat_by_handle): Don't even try to use FileIdBothDirectoryInformation on Samba. * path.h (class path_conv): Declare is_samba method.
* * path.cc (conv_path_list): Eat empty paths when converting to POSIX.Christopher Faylor2006-02-172-16/+44
| | | | | (cygwin_conv_to_win32_path): Deal with Cygwin's necessity of adding a '/' to the end of a path ending in '.'.
* Add support for the Infineon XC16X.Nick Clifton2006-02-175-57/+114
|
* * cygpath.cc (get_long_name): Load GetLongPathNameA instead of incorrectCorinna Vinschen2006-02-172-3/+10
| | | | | | GetLongPathName. (doit): Create mixed filename after converting to short or long pathname respectively.
* * ps.cc (main): Set aflag if -p option is given.Corinna Vinschen2006-02-172-0/+5
|
* 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-163-1/+10
| | | | | | | * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit will be defined. * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of <features.h> to preset special flags.
* * cygwin.din: Export sigignore and sigset.Corinna Vinschen2006-02-165-1/+63
| | | | | | | | | * exceptions.cc (sigset): New function. (sigignore): New function. * include/cygwin/signal.h (SIG_HOLD): Define. (sigignore): Declare. (sigset): Declare. * include/cygwin/version.h: Bump API minor number to 154.
* * 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
|