814066b912* autoload.cc (GetModuleFileNameExW): Replace definition of GetModuleFileNameExA. * fhandler_process.cc (format_process_maps): Change modname type to WCHAR. Set buffer sizes to PATH_MAX. Call GetModuleFileNameExW instead of GetModuleFileNameExA. Call mount_info::conv_to_posix_path instead of cygwin_conv_to_full_posix_path. Set posix_modname to modname if that call fails. (format_process_stat): Set cmd buffer size to NAME_MAX + 1. Simplify setting cmd to process name. (format_process_status): Ditto. * path.cc (mount_info::conv_to_posix_path): Call sys_wcstombs correctly.
Corinna Vinschen
2007-12-03 14:13:03 +0000
a7b76a4eb3* include/cygwin/time.h (daylight): Declare as extern symbol referring _daylight variable. (timezone): Only define if __timezonefunc__ is undefined.
Corinna Vinschen
2007-12-01 13:49:45 +0000
cf632a487b* Makefile.in (OBSOLETE_FUNCTIONS): Add timezone. * include/cygwin/time.h: Drop conditional timezone definitions. (timezone): Declare as extern symbol referring _timezone variable.
Corinna Vinschen
2007-12-01 13:04:43 +0000
e23dd0ad892007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini
2007-11-29 15:36:39 +0000
47c9864a0abfd/ * archures.c (bfd_mach_mips_loongson_2e): New. (bfd_mach_mips_loongson_2f): New. * bfd-in2.h (bfd_mach_mips_loongson_2e): New. (bfd_mach_mips_loongson_2f): New. * cpu-mips.c: Add I_loongson_2e and I_loongson_2f to anonymous enum. (arch_info_struct): Add Loongson-2E and Loongson-2F entries. * elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E and Loongson-2F flags. (mips_set_isa_flags): Likewise. (mips_mach_extensions): Add Loongson-2E and Loongson-2F entries.
Mark Shinwell
2007-11-29 12:23:44 +0000
35e137475dinclude/opcode/ * mips.h (INSN_ISA*): Redefine certain values as an enumeration. Update comments. (mips_isa_table): New. (ISA_MIPS*): Redefine to match enumeration. (OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA* values.
Mark Shinwell
2007-11-29 11:55:19 +0000
d8a5f04695* fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of CYG_MAX_PATH. * fhandler_tty.cc (fhandler_pty_master::ptsname): Set buffer size to TTY_NAME_MAX. * syscalls.cc (ttyname): Eliminate the `+ 1' from the name buffer size since TTY_NAME_MAX already counts the trailing NUL. * libc/bsdlib.cc (openpty): Set pts buffer size to TTY_NAME_MAX.
Corinna Vinschen
2007-11-28 16:45:34 +0000
023a2fa789* fhandler_socket.cc (fhandler_socket::recv_internal): Add MSG_WAITALL handling. Use explicit flag values instead of MSG_WINMASK. (fhandler_socket::send_internal): Use explicit flag values instead of MSG_WINMASK. * include/cygwin/socket.h (MSG_WINMASK): Remove definition. (MSG_WAITALL): Define.
Corinna Vinschen
2007-11-28 15:54:17 +0000
02cb1fd853* internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of memory.
Nathan Sidwell
2007-11-28 13:53:05 +0000
547ad329b6* posix_ipc.cc (ipc_names): Rename max_len to prefix_len. Store the prefix len in it. (check_path): Take length parameter. Use this length insetad of calling strlen. Allow PATH_MAX length paths. (ipc_mutex_init): Use MAX_PATH instead of CYG_MAX_PATH. (ipc_cond_init): Ditto. (shm_open): Allocate local name buffer not bigger than necessary. Call check_path with additional length argument. (shm_unlink): Ditto. (mq_open): Ditto. (mq_unlink): Ditto. (sem_open): Ditto. (sem_unlink): Ditto.
Corinna Vinschen
2007-11-27 17:04:19 +0000
a1591d3be7Drop old SetResourceLock stuff in favor of mutos. * dcrt0.cc (_reslock): Remove. (__cygwin_user_data): Accommodate removal of resourcelocks member. (dll_crt0_0): Don't initialize resourcelocks. * exceptions.cc (_cygtls::signal_exit): Drop resourcelocks handling. * mmap.cc (mmap_guard): New muto. (LIST_LOCK): Define. (LIST_UNLOCK): Define. (mmap_list::search_record): Remove. (mmap_list::try_map): Include code for anonymous case from mmap_list::search_record. (mmap_is_attached_or_noreserve): Access bookkeeping lists in a thread safe way. (mmap64): Replace SetResourceLock/ReleaseResourceLock by LIST_LOCK/LIST_UNLOCK. Lock at the latest possible point. (munmap): Replace SetResourceLock/ReleaseResourceLock by LIST_LOCK/LIST_UNLOCK. (msync): Ditto. (mprotect): Ditto. * thread.cc (ResourceLocks::Lock): Remove. (SetResourceLock): Remove. (ReleaseResourceLock): Remove. (ResourceLocks::Init): Remove. (ResourceLocks::Delete): Remove. * thread.h (SetResourceLock): Drop declaration. (ReleaseResourceLock): Ditto. (class ResourceLocks): Drop definition. * include/sys/cygwin.h (class ResourceLocks): Drop forward declaration. (struct per_process): Replace resourcelocks with additional unused2 element. (per_process_overwrite): Accommodate above change.
Corinna Vinschen
2007-11-27 14:45:14 +0000
230a3c86d1* mmap.cc: Convert usage of dynamically growing cmalloced arrays to cmalloced linked lists throughout. (class mmap_record): Add LIST_ENTRY element. (mmap_record::match): New method, taking over match algorithm from list::search_record. (class mmap_list): Rename from class list. Add LIST_ENTRY. Convert recs to a LIST_HEAD. Drop nrecs and maxrecs members. (mmap_list::get_record): Drop entirely. (mmap_list::free_recs): Drop entirely. (mmap_list::del_record): Take mmap_record to delete as parameter. (mmap_list::search_record): Convert to mmap_record::match. (class mmap_areas): Rename from class map. Convert lists to LIST_HEAD. (mmap_areas::get_list): Drop entirely. (mmap_areas::del_list): Take mmap_list to delete as parameter. (mprotect): Fix indentation.
Corinna Vinschen
2007-11-27 10:09:05 +0000
4694cc18c22007-11-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2007-11-27 02:14:19 +0000
ee4388c420Change many cygheap allocation routines to their *_abort analogs. * cygheap.cc (cmalloc_abort): New function. (crealloc_abort): Ditto. (ccalloc_abort): Ditto.
Christopher Faylor
2007-11-26 21:30:49 +0000
32cba6cb3a* cygheap.cc (_crealloc): Avoid memcpy when _cmalloc returns NULL.
Christopher Faylor
2007-11-23 16:37:05 +0000
2194c4db862007-11-21 Kevin Conaway <kevin_conaway@users.sourceforge.net>
Chris Sutcliffe
2007-11-22 03:16:15 +0000
b69b1a36b82007-11-21 elsapo <elsapo@users.sourceforge.net>
Chris Sutcliffe
2007-11-22 03:07:09 +0000
5f96f813d62007-11-21 Brian Dessent <dessent@users.sourceforge.net>
Chris Sutcliffe
2007-11-22 02:38:17 +0000
60bef55d302007-11-19 Nick Clifton <nickc@redhat.com>
Jeff Johnston
2007-11-19 20:03:25 +0000
91f2f75ac8[ld/testsuite/ChangeLog] * ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-41.d: Adjust warning message for -mfp64 flag. * ld-mips-elf/attr-gnu-4-5.s, ld-mips-elf/attr-gnu-4-04.d, ld-mips-elf/attr-gnu-4-51.d, ld-mips-elf/attr-gnu-4-05.d, ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-24.d, ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-34.d, ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-42.d, ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d, ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-40.d, ld-mips-elf/attr-gnu-4-14.d: New testcases files. * ld-mips-elf/mips-elf.exp: Run new testcases.
Thiemo Seufer
2007-11-17 13:38:57 +0000
3c48ef66da* dwarf2.h: Mention the location of the DWARF3 spec on the web. (DW_AT_stride_size): Rename to DW_AT_bit_stride. (DW_AT_stride): Rename to DW_AT_byte_stride. * dwarf.c (process_extended_line_op): Add cases for HP extensions to the line ops. Mention if an unknown op code is in the user defined range. (decode_location_expression): Add cases for HP extensions, the DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and DW_OP_bit_piece DWARF3 operators. (read_and_display_attr): Correct list of attributes which can reference a location list. (read_and_display_attr_value): Add cases for DWARF3 values and HP extensions. Correct list of attributes which can reference a location list. (get_AT_name): Add cases for DWARF3 values and HP and PGI extensions.
Nick Clifton
2007-11-16 15:36:21 +0000
ce46e7742bMove changelog entries to the right ChangeLog
Vladimir Prus
2007-11-15 07:11:52 +0000
b689366febApply const qualifier to some users of bp_location. * breakpoint.h (struct bpstats): Make the breakpoint_at field point at const bp_location. * breakpoint.c (bpstat_alloc): Accept const bp_location. (breakpoint_here_p, breakpoint_inserted_here_p) (software_breakpoint_inserted_here_p) (breakpoint_thread_match, bpstat_stop_status) (read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use const bp_location for iteration. (print_it_typical, print_bp_stop_message): Use const bp_location variable.
Vladimir Prus
2007-11-15 06:52:53 +0000
a64b392f19Make mark_breakpoints_out static. * breakpoint.h (mark_breakpoints_out): Remove declaration. * breakpoint.c (mark_breakpoints_out): Make static.
Vladimir Prus
2007-11-15 06:46:20 +0000
e368bc2495Prevent clear_command from directly modifying breakpoint list. * Makefile.in (breakpoint_h): Update dependency. * breakpoint.c (clear_command): Do not remove breakpoints from breakpoint_chain. Collect breakpoints to delete in a vector. * breakpoint.h (breakpoint_p): New typedef for pointer to breakpoint. Register vector of breakpoint_p.
Vladimir Prus
2007-11-15 06:28:18 +0000
db1fabac80Remove 'run_cleanup'. * defs.h (do_run_cleanups, make_run_cleanup): Remove declarations. * infcmd.c (run_command_1): Call clear_solib instead of do_run_cleanups. * jv-lang.c (java_rerun_cleanup): Remove, for lack of any use. * solib.c (solib_cleanup_queued, do_clear_solib): Remove. (update_solib_lib): Don't setup run cleanup. (no_shared_libraries): Call clear_solib, not do_clear_solib. * utils.c (run_cleanup_chain, make_run_cleanup) (do_run_cleanups): Remove.
Vladimir Prus
2007-11-15 06:24:17 +0000
af054db39bRemove CLEAR_SOLIB use. * corelow.c (core_close): Don't check for CLEAR_SOLIB. * infcmd.c (attach_command): Likewise.
Vladimir Prus
2007-11-15 06:14:25 +0000
4bc605814c* dllfixdbg: Pass --only-keep-debug to objcopy, instead of selecting the sections manually.
Corinna Vinschen
2007-11-08 12:06:32 +0000
33e178064dinclude: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers
2007-11-08 00:08:48 +0000
7b4cad4ae62007-11-07 Dave Brolley <brolley@redhat.com>
Dave Brolley
2007-11-07 21:42:24 +0000
c8853ef7012007-11-06 Dave Brolley <brolley@redhat.com>
Jeff Johnston
2007-11-06 23:07:06 +0000
de32ab54d8* thread.cc (pthread_key_create): Drop check for incoming valid object.
Corinna Vinschen
2007-11-06 15:48:34 +0000
03abe23b1a* shm.cc: Include sync.h (struct shm_shmid_list): Add ref_count member. (struct shm_attached_list): Remove hdl and size members. Add a parent member pointing to referenced shm_shmid_list entry. (shm_guard): New muto. (SLIST_LOCK): Define. (SLIST_UNLOCK): Define. (fixup_shms_after_fork): Use hdl and size members of parent shm_shmid_list entry. (shmat): Access sequential bookkeeping lists in a thread safe way. Accommodate change in list element layout. Align comments. (shmctl): Ditto. (shmdt): Ditto. (shmget): Ditto.
Corinna Vinschen
2007-11-06 13:29:53 +0000
8f14a11301* bsd_helper.cc (tunable_params): Add kern.ipc.shm_allow_removed as bool parameter. * cygserver.conf: Add a description for the kern.ipc.shm_allow_removed parameter. * sysv_shm.cc (shminit): Set shm_allow_removed variable according to kern.ipc.shm_allow_removed setting.
Corinna Vinschen
2007-11-05 15:45:52 +0000
5c8426d50e* shm.cc (shmctl): On IPC_RMID don't unmap views and don't close handle if the map is still referenced to emulate Linux and BSD behaviour.
Corinna Vinschen
2007-11-05 15:25:55 +0000
92beb4638f* shm.cc (shmctl): On IPC_RMID also unmap all views on shared mem as well as connected shm_attached_list entry.
Corinna Vinschen
2007-11-05 10:15:31 +0000
026d54aa23include * coff/pe.h (COFF_ENCODE_ALIGNMENT) Define.
Danny Smith
2007-11-04 23:49:08 +0000
69bfb481a8* libc/signal/signal.c (_raise_r): Don't attempt to initialize the signal table, just use a default, in case initialization cause recursion.
DJ Delorie
2007-10-31 22:22:31 +0000
6eedb2be6d* net.cc (load_ipv6_funcs): Use MAX_PATH instead of CYG_MAX_PATH. (cygwin_getaddrinfo): Simplify formatting. (cygwin_getnameinfo): Ditto.
Corinna Vinschen
2007-10-31 16:06:01 +0000
15346b6950* external.cc (get_cygdrive_info): Make inline. (get_cygdrive_prefixes): Remove. (cygwin_internal): Call get_cygdrive_info with NULL flag parameters instead of get_cygdrive_prefixes. * path.cc (mount_info::get_cygdrive_info): Allow NULL flag parameters.
Corinna Vinschen
2007-10-31 13:23:33 +0000
3ce8215a01* mn10300.h (R_MN10300_ALIGN): Define. * reloc.c (BFD_RELOC_MN10300_ALIGN): Add. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf-m10300.h: Handle R_MN10300_ALIGN relocs. * mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs. Re-fix off by one error in comparisons. * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when sym_diff relocs should be generated. (md_apply_fix): Skip R_MN10300_ALIGN relocs. (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs. (mn10300_handle_align): New function. Generate R_MN10300_ALIGN relocs to record alignment requests. * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force R_MN10300_ALIGN relocs. (HANDLE_ALIGN): Define. Call mn10300_handle_align. * gas/all/gas.exp: Do not run diff1.s test for mn10300. * ld-mn10300/mn10300.exp: Run new tests. Skip i126256 test if a compiler is not available. * ld-mn10300/i112045-3.s: New test. * ld-mn10300/i112045-3.d: Expected disassembly. * ld-mn10300/i135409.s: Rename to i135409-1.s. * ld-mn10300/i135409.d: Rename to i135409-1.d * ld-mn10300/i135409-2.s: New test. * ld-mn10300/i135409-2.d: Expected symbol table. * ld-mn10300/i36434.d: Adjust expected disassembly.
Nick Clifton
2007-10-30 15:18:29 +0000
101f07b907* fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't remove write bits for directories with R/O attribute. (fhandler_base::fhaccess): Don't shortcircuit R/O attribute with W_OK scenarios for directories.
Corinna Vinschen
2007-10-30 12:32:16 +0000
2b50cd503e* elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for Tag_GNU_Power_ABI_Vector.
Daniel Jacobowitz
2007-10-25 15:20:24 +0000
2a3a02a6872007-10-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-10-23 19:50:29 +0000
09ecdc8504* cygheap.h (struct cwdstuff): Drop hash member. Drop get_hash, get_initial, and fixup_after_exec declarations. Convert win32 to UNICODE_STRING. (cwdstuff::get_drive): Convert win32 path in current codepage. (cwdstuff::set): Take native NT path. * ntdll.h (struct _TEB): Typedef. * path.cc (mount_info::conv_to_posix_path): Add variant taking wide char DOS paths. (symlink_info::posixify): Simplify concatenating cwd and relative path. (hash_path_name): Drop special relative path handling. (chdir): Drop special "drive only" handling. Call cwdstuff::set with native path. (cwdstuff::get_hash): Remove. (windows_system_directory): Remove. (_upp): Remove. (get_user_proc_parms): Make inline. Get PEB pointer by calling NtCurrentTeb. (cwdstuff::init): Simplify. (cwdstuff::set): Rework to handle incoming native NT path. Workaround a Vista problem with CWD handle in the user process parameter block. (cwdstuff::get): Simplify locking. Accommodate type change of win32. * shared_info.h (mount_info): Add declaration for new conv_to_posix_path method. * strfuncs.cc (sys_wcstombs): Return correct length of created multi-byte string.
Corinna Vinschen
2007-10-23 16:26:28 +0000
5b9de9d956PR gdb/2336
Daniel Jacobowitz
2007-10-23 12:34:11 +0000
873e6f9d97Add MN10300 linker relaxation support for symbol differences
Nick Clifton
2007-10-19 17:31:31 +0000
6788155fe2* fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enough to allow multibyte chars.
Corinna Vinschen
2007-10-19 12:22:49 +0000
f3257492c4* fhandler.cc (fhandler_base::open): Open native symlinks with FILE_OPEN_REPARSE_POINT flag. Fix typo in comment.
Corinna Vinschen
2007-10-18 12:40:27 +0000
ffa1a46abd.
Roland McGrath
2007-10-18 09:57:07 +0000
5565177f972007-10-18 Roland McGrath <roland@redhat.com>
Roland McGrath
2007-10-18 09:57:04 +0000
70317d85062007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-10-18 00:03:32 +0000
923f9573a32007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-10-17 20:14:49 +0000
ec828b8bf1Fix typo.
Jeff Johnston
2007-10-17 19:36:43 +0000
8b6308401d2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2007-10-17 19:21:32 +0000
81e857de3f* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls. (GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.
Maciej W. Rozycki
2007-10-16 10:45:50 +0000
8eea1bd7142007-10-15 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-10-15 20:47:15 +0000
dd52035079* NEWS: Document target described register support for PowerPC. * ppc-tdep.h: Remove ppc_spr constants. (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and ppc_builtin_type_vec128 members. (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM) (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM) (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM) (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM) (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants. * rs6000-tdep.c: Include preparsed descriptions. (init_sim_regno_table): Do not iterate over pseudo registers. Look up segment registers by name. Use sim_spr_register_name for SPRs. (rs6000_register_sim_regno): Call init_sim_regno_table here. (rs6000_builtin_type_vec128): Delete. (rs6000_register_name): Only handle SPE pseudo registers and upper halves. Call tdesc_register_name for everything else. (rs6000_register_type): Delete. Replace with... (rs6000_pseudo_register_type): ...this new function. Only handle SPE pseudo registers. (rs6000_register_reggroup_p): Delete. Replace with... (rs6000_pseudo_register_reggroup_p): ...this new function. Only handle SPE pseudo registers. (rs6000_convert_register_p): Use ppc_fp0_regnum instead of "struct reg". (rs6000_register_to_value, rs6000_value_to_register): Remove check of reg->fpr. (e500_register_reggroup_p): Delete. (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64) (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS) (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS) (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros. (registers_powerpc, registers_403, registers_403GC, registers_505) (registers_860, registers_601, registers_602, registers_603) (registers_604, registers_750, registers_7400, registers_e500): Delete variables. (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add tdesc. (tot_num_registers, num_registers, num_pseudo_registers): Delete. (variants): Delete outdated comment. Use standard target descriptions instead of "struct reg" arrays. (init_variants): Delete. (rs6000_gdbarch_init): Do not guess word size from the BFD architecture if we have a target description. Select a variant before creating a new architecture. Use the variant's target description if the target did not define a register layout. Validate target-supplied registers. Reject mismatches. Use fixed register numbers and new constants instead of magic numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers. (_initialize_rs6000_tdep): Initialize the preparsed target descriptions. * target-descriptions.c (tdesc_predefined_types): Add int128 and uint128. (tdesc_find_register_early): New function. (tdesc_numbered_register): Use it. (tdesc_register_size): New function. (tdesc_use_registers): Take a target_desc argument. Do not use gdbarch_target_desc. * target-descriptions.h (tdesc_use_registers): Update prototype and comment. (tdesc_register_size): New prototype. * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c) (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c) (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c) (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros. (rs6000-tdep.o): Update. * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers. * m68k-tdep.c (m68k_gdbarch_init): Likewise. * mips-tdep.c (mips_gdbarch_init): Likewise.
Daniel Jacobowitz
2007-10-15 19:45:31 +0000
6ce2c24121* fhandler.cc (is_at_eof): Rewrite using NT functions. (off_current): New static variable. (off_append): Ditto. (fhandler_base::raw_write): Use NtWriteFile. Accommodate O_APPEND here. (fhandler_base::write): Drop O_APPEND hack. Use NT functions. (fhandler_base::lseek): Rewrite using NT functions. * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Add space in debug output. (fhandler_disk_file::ftruncate): Ditto. * ntdll.h (STATUS_DISK_FULL): Define. (FILE_USE_FILE_POINTER_POSITION): Define. (FILE_WRITE_TO_END_OF_FILE): Define.
Corinna Vinschen
2007-10-15 08:25:38 +0000
c99e78b85c* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]: Correctly nest else within conditionals. Reported by Artur Lipowski.
Eric Blake
2007-10-13 15:26:20 +0000
fc7290fd39* ntdll.h (STATUS_END_OF_FILE): Define. * path.cc (symlink_info::check_shortcut): Use NT function to get file size. Reintroduce checking file size before reading it. Eliminiate close_it label. (symlink_info::check_sysfile): Check for EOF condition.
Corinna Vinschen
2007-10-13 11:06:43 +0000
799356ac2a2007-10-11 Ulrich Weigand <uweigand@de.ibm.com>
Jeff Johnston
2007-10-11 20:25:36 +0000
baa0b449382007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
Daniel Jacobowitz
2007-10-11 18:44:06 +0000
0f07c3b30f2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
Daniel Jacobowitz
2007-10-11 18:40:28 +0000
dab33830ab* src-release (GDB_SUPPORT_DIRS): Add libdecnumber. * libdecnumber: New directory, imported from GCC.
Daniel Jacobowitz
2007-10-11 18:15:01 +0000
2da0e37519* path.cc (basename): Return pointer into the path argument itself. Shrink buf to 4 bytes. Use buf only for border cases. (dirname): Ditto.
Corinna Vinschen
2007-10-11 16:26:19 +0000
044b62c767* path.cc (struct symlink_info): Change size of contents member to be able to keep SYMLINK_MAX sized strings. (symlink_worker): Rework for long path names. When writing windows shortcuts, store pathname additionally "hidden" after the actual shortcut data to workaround size limitations of the description field. (symlink_info::check_shortcut): Drop file name parameter. Drop max file size check. Use NT functions. Use appended full path if available, description otherwise. Check symlink string length for not exceeding SYMLINK_MAX. Don't close file here. (symlink_info::check_sysfile): Drop file name parameter. Use NT functions. Check symlink string length for not exceeding SYMLINK_MAX. Don't close file here. (symlink_info::check_reparse_point): Drop file name parameter. Drop useless length checks. Allow SYMLINK_MAX length symlink strings. Don't close file here. (symlink_info::posixify): Allow SYMLINK_MAX length symlink strings. (symlink_info::check): Turn around checking for symlink file attributes. Use NT functions. Close symlink file here. * include/limits.h (PATH_MAX): Define as 32760. Change comment. (SYMLINK_MAX): Define as PATH_MAX - 1.
Corinna Vinschen
2007-10-10 16:54:09 +0000
4797f5bca3* fhandler_socket.cc (fhandler_socket::bind): Open file for deletion, too. Don't write to file and especially don't close handle if file couldn't be created. Set delete disposition if writing failed, instead of calling unlink_nt.
Corinna Vinschen
2007-10-10 16:07:46 +0000
97f0a0ecf6* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with the STT_COMMON type.
Nick Clifton
2007-10-09 16:01:43 +0000
b7bc4cccd6* libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h before simdmath.h to get a definition for `vector'. * libm/machine/spu/headers/asind2.h: Likewise.
Ben Elliston
2007-10-09 04:24:11 +0000
7796117373* configure.ac (CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD): Default them to host flags only for $host = $build. Set default CXXFLAGS_FOR_BUILD to CXXFLAGS, not CFLAGS. Set default LDFLAGS_FOR_BUILD to LDFLAGS, not CFLAGS. * configure: Regenerate.
Nick Clifton
2007-10-08 09:30:35 +0000
2fb5f81aa52007-10-03 Jiri Malak <Jiri.Malak@iol.cz>
Chris Sutcliffe
2007-10-03 23:49:35 +0000
b0d00f7a532007-10-03 Frank Fesevur <ffes@users.sourceforge.net>
Chris Sutcliffe
2007-10-03 23:34:14 +0000
b980db14b82007-10-03 Danny Smith <dannysmith@users.sourceforge.net>
Chris Sutcliffe
2007-10-03 20:45:58 +0000
08a0c88da52007-10-03 Bernd Becker <hugin@users.sourceforge.net>
Chris Sutcliffe
2007-10-03 18:55:56 +0000
26c28af8b2* no-executables.m4 (GCC_TRY_COMPILE_OR_LINK): New function.
Kazu Hirata
2007-10-03 14:35:31 +0000
56398dd5d72007-10-02 Markus Deuling <deuling@de.ibm.com>
Jeff Johnston
2007-10-02 18:59:58 +0000
bd6f74fda82007-10-01 Markus Deuling <deuling@de.ibm.com>
Jeff Johnston
2007-10-01 18:42:51 +0000
eae493d8a82007-10-01 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-10-01 18:22:50 +0000
5716854549Various CR16 fixes
Nick Clifton
2007-10-01 15:55:40 +0000
4413ec01b5regenerate configure
Paolo Bonzini
2007-10-01 09:04:55 +0000
c8d9da73482007-10-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2007-10-01 07:55:48 +0000
1671fbe1ca2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-09-28 18:58:10 +0000
e30a7b84aa2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-09-28 18:44:24 +0000
505ea714322007-09-28 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-09-28 18:32:57 +0000
b75971ef8a* ntdll.h (struct _FILE_COMPRESSION_INFORMATION): Align with definition in w32api / MSDN. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Accommodate change to struct _FILE_COMPRESSION_INFORMATION.
Corinna Vinschen
2007-09-27 09:35:06 +0000
dfbd95d35d* termios.cc (setspeed): Support new baud rates introduced 2007-02-05.
Corinna Vinschen
2007-09-26 08:57:35 +0000
d2e4a94282* spu/sched_yield.c: New file (missed on 2007-09-21).
Ben Elliston
2007-09-26 04:16:04 +0000
aa7eeef93a* faq-what.xml: Remove paragraph about and link to stoneage old history.html file.
Corinna Vinschen
2007-09-25 17:03:59 +0000
c67e696c47Committed as obvious:
Danny Smith
2007-09-23 22:23:18 +0000
9594d5c3422007-09-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston
2007-09-21 21:14:41 +0000