summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make basename and dirname functions work with path namesKeith Marshall2007-03-083-79/+210
| | | | containing multibyte character strings.
* include/elf/Alan Modra2007-03-082-5/+10
| | | | | | | | | * v850.h (V850_OTHER_TDA_BYTE): Delete. (V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits that don't clash with visibility bits. bfd/ * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out V850_OTHER_* bits.
* 2007-03-06 Brandon Sneed <brandon@oqo.com>Chris Sutcliffe2007-03-076-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/setupapi.h: Added SetupConfigureWmiFromInfSectionA Added SetupConfigureWmiFromInfSectionW Added SetupConfigureWmiFromInfSection define to unicode and non-unicode sections * lib/setupapi.def: Added exports for SetupConfigureWmiFromInfSectionA and W * include/winuser.h: Added PBT_APMQUERYSUSPEND Added PBT_APMQUERYSTANDBY Added PBT_APMQUERYSUSPENDFAILED Added PBT_APMQUERYSTANDBYFAILED Added PBT_APMSUSPEND Added PBT_APMSTANDBY Added PBT_APMRESUMECRITICAL Added PBT_APMRESUMESUSPEND Added PBT_APMRESUMESTANDBY Added PBT_APMBATTERYLOW Added PBT_APMPOWERSTATUSCHANGE Added PBT_APMOEMEVENT Added PBT_APMRESUMEAUTOMATIC * include/wtsapi32.h: New file * include/wingdi.h: Added DM_DISPLAYORIENTATION define for use with DMDO_* defines
* * signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.Christopher Faylor2007-03-072-1/+5
|
* * fhandler_proc.cc: Fix formatting. Drop setting errno when creatingCorinna Vinschen2007-03-072-104/+217
| | | | | | | proc file content. (format_proc_uptime): Simplify. (format_proc_cpuinfo): Align more closely to output of Linux 2.6 kernel. Evaluate more data, especially for AMD CPUs.
* * configure: Regenerate.Andreas Schwab2007-03-074-66/+110
| | | | | | config/: * acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside AC_MSG_RESULT.
* * common.h (ELF_ST_VISIBILITY): Comment typo fix.Alan Modra2007-03-072-2/+6
|
* merge from gccDJ Delorie2007-03-062-0/+20
|
* Fix log entry.Corinna Vinschen2007-03-061-1/+1
|
* Add accidentally missing checkins.Corinna Vinschen2007-03-063-0/+7
| | | | | * fhandler.h (fhandler_base::fstat_helper): Add creation time parameter. * glob.cc (stat32_to_stat64): Set st_birthtim to st_mtim.
* * include/cygwin/stat.h (S_TYPEISMQ): Define.Corinna Vinschen2007-03-062-0/+13
| | | | | (S_TYPEISSEM): Dttio. (S_TYPEISSHM): Ditto.
* * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat memberCorinna Vinschen2007-03-069-12/+43
| | | | | | | | | | | | | | | | | st_birthtim to useful value. * fhandler_process.cc (fhandler_process::fstat): Ditto. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Take additional parameter for creation time. Fill st_birthtim with it. Accomodate additional creation time parameter throughout. * fhandler_raw.cc (fhandler_dev_raw::fstat): Set new stat member st_birthtim to useful value. * fhandler.cc (fhandler_base::fstat): Ditto. * fhandler_registry.cc (fhandler_registry::fstat): Ditto. * include/cygwin/version.h: Bump API minor number. * include/cygwin/stat.h (struct __stat64): Replace st_spare4 with timestruc_t st_birthtim. (struct stat): Ditto if __CYGWIN_USE_BIG_TYPES__ is defined. (st_birthtime): Define if __CYGWIN_USE_BIG_TYPES__ is defined.
* 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>Martin Schwidefsky2007-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR, INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New instruction formats added. (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF, MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format masks added. * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point instructions added. * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. (main): z9-ec cpu type option added. * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> * config/tc-s390.c (md_parse_option): z9-ec option added. 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z9-ec.d: New file. * gas/s390/zarch-z9-ec.s: New file. * gas/s390/s390.exp: Run the z9-ec testcases.
* 2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>Chris Sutcliffe2007-03-062-2/+7
| | | | | * include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch argument to constant.
* Merge from gcc:DJ Delorie2007-03-056-13/+2603
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> + + * configure.ac: Add "--with-pdfdir" configure option, + which defines pdfdir variable. + * Makefile.def (target=fixincludes): Add install-pdf to + missing targets. + (recursive_targets): Add install-pdf target. + (flags_to_pass): Add pdfdir. + * Makefile.tpl: Add pdfdir handling, add do-install-pdf + target. + * configure: Regenerate + * Makefile.in: Regenerate + +2007-02-28 Eric Christopher <echristo@apple.com> + + Revert: + 2006-12-07 Mike Stump <mrs@apple.com> + + * Makefile.def (dependencies): Add dependency for + install-target-libssp and install-target-libgomp on + install-gcc. + * Makefile.in: Regenerate. + +2007-02-27 Matt Kraai <kraai@ftbfs.org> + + * configure: Regenerate. + * configure.ac: Move statements after variable declarations. +
* * include/io.h (__mingw_access): New static inline wrapper to restoreDanny Smith2007-03-052-0/+15
| | | | | pre-Vista 'access (fname, X_OK)' behaviour. (__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
* * mingwex/fesetround.c (fesetround): Use unsigned int as operandDanny Smith2007-03-052-4/+11
| | | | | to stmxcsr. Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
* * ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.Corinna Vinschen2007-03-023-2/+65
| | | | | * syscalls.cc (unlink_nt): Check shared directory for being empty before trying to move and mark for deletion.
* * security.cc (get_file_attribute): Avoid compiler warning.Corinna Vinschen2007-03-022-1/+4
|
* * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly soBen Elliston2007-03-012-8/+33
| | | | that GCC runtime stack checking works. Handle the backchain, too.
* * fork.cc (fork): Reset child to true after fork since it may have been resetChristopher Faylor2007-03-012-2/+10
| | | | by fork memory copies.
* * Makefile (DLL_OFILES): Remove ntea.oChristopher Faylor2007-03-018-59/+24
| | | | | | | | | | | | | | * environ.cc (set_ntea): Delete. (parse_thing): Delete "ntea" setting. * fhandler.cc (fhandler_base::open): Remove allow_ntea considerations. (check_posix_perm): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Ditto. (fhandler_base::open_fs): Ditto. (fhandler_disk_file::mkdir): Ditto. * path.cc (symlink_worker): Ditto. * security.cc (get_file_attribute): Ditto. (set_file_attribute): Ditto. * security.h: Remove allow_ntea declaration.
* * spu-insns.h: Add soma double-float insns.Alan Modra2007-03-012-1/+12
|
* * path.cc (close_user_proc_parms_cwd_handle): Remove.Corinna Vinschen2007-02-273-38/+35
| | | | | | | | | (cwdstuff::init): Don't call close_user_proc_parms_cwd_handle. Call set to set cwd with all-sharing handle. (cwdstuff::set): Fix comment. Don't close cwd handle. Set in user parameter block instead and close old cwd handle. * syscalls.cc (rename): Call unlink_nt instead of RemoveDirectory or DeleteFile to allow deleting shared files/directories.
* * fhandler.cc(fhandler_base::open): Open with READ_CONTROL only inCorinna Vinschen2007-02-2710-104/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case of query_open flag set to query_read_control. Add case for new query_read_attributes flag. (fhandler_base::fstatvfs): New method. * fhandler.h (enum query_state): Add query_read_attributes flag. (class fhandler_base): Declare new virtual fstatvfs method. (class fhandler_socket): Ditto. (class fhandler_pipe): Ditto. (class fhandler_fifo): Ditto. (class fhandler_disk_file): Ditto. (class fhandler_virtual): Ditto. * fhandler_disk_file.cc (fhandler_base::fstat_fs): Open with query_read_attributes instead of query_read_control. (fhandler_disk_file::fstatvfs): New method. (fhandler_disk_file::facl): Open with query_read_attributes instead of query_read_control. * fhandler_fifo.cc (fhandler_fifo::fstatvfs): New method. * fhandler_socket.cc (fhandler_socket::fstatvfs): New method. (fhandler_socket::fchmod): Return with EBADF in the default case. (fhandler_socket::fchown): Ditto. (fhandler_socket::facl): Ditto. * fhandler_virtual.cc (fhandler_virtual::fstatvfs): Ditto. * ntdll.h (struct _FILE_FS_ATTRIBUTE_INFORMATION): Define. (struct _FILE_FS_FULL_SIZE_INFORMATION): Define. * pipe.cc (fhandler_pipe::fstatvfs): New method. * syscalls.cc (fstatvfs): Just call the fhandler's fstatvfs. (statvfs): Ditto. (fstatfs): Call fstatvfs. (statfs): Drop EFAULT handling.
* * mt-spu (all-ld): Depend on all-binutils.Alan Modra2007-02-273-1/+10
| | | | also fix previous ChangeLog entry
* 2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>Danny Smith2007-02-272-2/+8
| | | | * include/stdio.h (_unlink, unlink): Add prototypes.
* * fhandler.cc (fhandler_base::fstat): Set all file times to arbitraryCorinna Vinschen2007-02-262-1/+7
| | | | fixed value.
* * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.Corinna Vinschen2007-02-265-16/+18
| | | | | | (registry_keys): Drop HKEY_DYN_DATA. * net.cc: Fix comment. * syslog.cc: Ditto.
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.Corinna Vinschen2007-02-265-37/+19
| | | | | | | | | | | * mmap.cc (gen_access): Remove. (mmap_record::gen_access): Remove. (mmap64): Don't mention 9x any longer. * syscalls.cc (statvfs): Drop status code consideration for 9x. * libc/minires-os-if.c (get_registry_dns_items): Don't mention 9x any longer. (get_registry_dns): Drop getting registry key on 9x. Drop is9x variable.
* 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-02-232-2/+6
| | | | * libm/math/w_pow.c: Fix typo in documentation comment.
* Throughout remove all usage of wincap.has_security.Corinna Vinschen2007-02-2316-159/+96
| | | | | | | | | * environ.cc (environ_init): Drop setting allow_ntsec here. * grp.cc (initgroups32): Drop usage of label "out". * security.cc (allow_ntsec): Set to true by default. * syscalls.cc (seteuid32): Remove label success_9x. * wincap.cc: Remove has_security throughout. * wincap.h: Ditto.
* * fhandler.h (class fhandler_pipe): Remove members writepipe_exists,Corinna Vinschen2007-02-236-84/+20
| | | | | | | | | | | | | | orig_pid and id. Make hit_eof inline. * fhandler_fifo.cc (fhandler_fifo::open): Drop handling of writepipe_exists, orig_pid and id. * pipe.cc: Ditto throughout. (pipecount): Remove. (pipeid_fmt): Remove. (fhandler_pipe::hit_eof): Simplify. Move to fhandler.h. (fhandler_pipe::dup): Drop leave label. (fhandler_pipe::create): Drop has_unreliable_pipes case. * wincap.cc: Remove has_unreliable_pipes throughout. * wincap.h: Ditto.
* * devices.in: Change native device name to native NT device name forCorinna Vinschen2007-02-235-211/+96
| | | | | | | | | | | /dev/null, /dev/comX and /dev/ttySx. * devices.cc: Regenerate. * fhandler.cc (fhandler_base::open_9x): Remove. (fhandler_base::open): Don't test for DOS device name, don't call open_9x. (fhandler_dev_null::open): Remove. * fhandler.h (class fhandler_base): Drop open_9x declaration. (class fhandler_dev_null): Drop open declaration.
* * fhandler_console.cc (fhandler_console::need_invisible): DropCorinna Vinschen2007-02-237-64/+21
| | | | | | | | | | | pty_needs_alloc_console check. * spawn.cc (spawn_guts): Ditto. (av::fixup): Remove setting iscui. * syscalls.cc (rename): Drop has_move_file_ex checks. Remove 9x specific code. * wincap.cc: Remove has_move_file_ex and pty_needs_alloc_console throughout. * wincap.h: Ditto.
* Throughout remove using wincap.Corinna Vinschen2007-02-239-135/+59
| | | | | | | | | | | * Makefile.in (OBJS): Remove wincap.o. * README: Don't mention 9x. * bsd_mutex.cc (_mtx_unlock): Drop checking for 9x error codes. * cygserver.cc (server_submission_loop::request_loop): Add FIXME comment. * wincap.cc: Remove. * wincap.h: Remove. * woutsup.h: Don't include wincap.h.
* * exceptions.cc (dummy_ctrl_c_handler): Remove.Corinna Vinschen2007-02-2311-124/+34
| | | | | | | | | | | | | | | | (init_console_handler): Drop has_null_console_handler_routine checks. * fhandler_raw.cc (fhandler_dev_raw::open): Drop has_raw_devices check. * fhandler_serial.cc (fhandler_serial::open): Drop .supports_reading_modem_output_lines check. * miscfuncs.cc (low_priority_sleep): Drop has_switch_to_thread check. * shared.cc (open_shared): Drop needs_memory_protection checks. * spawn.cc (spawn_guts): Drop start_proc_suspended check. * uname.cc (uname): Drop has_valid_processorlevel check. * wincap.cc: Remove has_raw_devices, has_valid_processorlevel, supports_reading_modem_output_lines, needs_memory_protection, has_switch_to_thread, start_proc_suspended and has_null_console_handler_routine throughout. * wincap.h: Ditto.
* * fhandler.cc (fhandler_base::lseek): Drop 9x considerations.Corinna Vinschen2007-02-235-47/+13
| | | | | | | * fhandler_disk_file.cc (fhandler_disk_file::lock): Ditto. * wincap.cc: Remove lock_file_highword and has_64bit_file_access throughout. * wincap.h: Ditto.
* * cygheap.h (struct cwdstuff): Remove sync member and keep_in_syncCorinna Vinschen2007-02-228-236/+145
| | | | | | | | | | | | | | | accessors. * external.cc (cygwin_internal): Drop call to cygheap->cwd.keep_in_sync. * fhandler_disk_file.cc (fhandler_disk_file::link): Always presume ability to create hard links. * path.cc (cwdstuff::init): Drop 9x considerations. (cwdstuff::keep_in_sync): Remove. (cwdstuff::set): Take NT for granted. * pinfo.h (cygwin_pid): Just return pid. * wincap.cc: Remove has_hard_links, can_open_directories, has_negative_pids, has_named_pipes, has_try_enter_critical_section, cant_debug_dll_entry and detect_win16_exe throughout. * wincap.h: Ditto.
* * fhandler_console.cc (fhandler_console::read): Drop 9x specificCorinna Vinschen2007-02-225-134/+24
| | | | | | | | | | handling of AltGr key. * mmap.cc: Take NT for granted throughout. * wincap.cc: Remove map_view_of_file_ex_sucks, altgr_is_ctrl_alt, has_working_copy_on_write, share_mmaps_only_by_name, virtual_protect_works_on_shared_pages, has_mmap_alignment_bug and has_working_virtual_lock throughout. * wincap.h: Ditto.
* * fhandler.cc (fhandler_base::set_no_inheritance): Always useCorinna Vinschen2007-02-229-372/+195
| | | | | | | | | | | | | | | | | SetHandleInformation. * fhandler_disk_file.cc (fhandler_disk_file::lock): Always use UnlockFileEx/LockFileEx functions. * net.cc (fdsock): Don't bother to duplicate socket for inheritance. * sysconf.cc (get_nproc_values): Take NT for granted. (get_avphys): Ditto. * syslog.cc (WIN95_EVENT_LOG_PATH): Remove define. (get_win95_event_log_path): Remove. (vsyslog): Fix formatting. Take NT for granted. * wincap.cc: Remove has_lock_file_ex, has_signal_object_and_wait, has_eventlog, has_set_handle_information, has_set_handle_information_on_console_handles and supports_smp throughout. * wincap.h: Ditto.
* Fix typo.Corinna Vinschen2007-02-221-1/+1
|
* * dir.cc (rmdir): Move existance check in front ofCorinna Vinschen2007-02-222-2/+7
| | | | has_dot_last_component check. Simply setting errno in latter case.
* * fhandler.cc (fhandler_base::write): Remove wincap.has_lseek_bug case.Corinna Vinschen2007-02-225-121/+34
| | | | | | | | Simplify seek beyond EOF case. * times.cc (times): Remove wincap.has_get_process_times case. * wincap.cc: Remove has_delete_on_close, has_page_guard, has_get_process_times and has_lseek_bug throughout. * wincap.h: Ditto.
* Throughout remove all usage of wincap.access_denied_on_delete.Corinna Vinschen2007-02-227-36/+17
| | | | | | | | | * dir.cc (rmdir): Add existance check to be errno-compatible with Linux. * fhandler_disk_file.cc (fhandler_disk_file::rmdir): Drop test for non-existent dir on 9x share. * syscalls.cc (unlink): Add comment. * wincap.cc: Remove access_denied_on_delete flag throughout. * wincap.h: Ditto.
* * fhandler_disk_file.cc (fhandler_disk_file::closedir): Fix bugCorinna Vinschen2007-02-222-2/+9
| | | | introduced by switching to NtClose.
* * dcrt0.cc (child_info_fork::alloc_stack_hard_way): Change sense of guard test.Christopher Faylor2007-02-225-55/+171
| | | | | | | | | | | | | | | | | | | | | | Increase size of stack reserved and increase size before the current stack pointer. Use pointers when doing arithmetic. (dll_crt0_1): Initialize exception handler when we notice we're the child of a fork from non-main thread. * fork.cc (frok::parent): Make argument volatile. (frok::child): Ditto. (lock_signals): New class. (lock_pthread): Ditto. (hold_everhthing): Ditto. (frok::parent): Move atforkprepare and atforkparent to lock_pthread class. (fork): Make ischild boolean. Use hold_everything variable within limited scope to set various mutexes in such a way as to avoid deadlocks. * thread.h (pthread_mutex::tid): New variable, active when debugging for tracking thread id of owner. (pthread_mutex::set_owner): Set tid when debugging. * thread.cc (pthread_mutex::pthread_mutex): Clear tid. (pthread_mutex::_unlock): Ditto when unlocking. (pthread_mutex::fixup_after_fork): Set tid to special value after forking since owner is unknown.
* Throughout replace all usage of wincap.shared with the constantCorinna Vinschen2007-02-2212-35/+37
| | | | | | | FILE_SHARE_VALID_FLAGS. * fhandler.cc (fhandler_base::open_9x): Drop local variable shared. * wincap.cc: Remove shared member throughout. * wincap.h: Ditto.
* * Makefile.in (DLL_IMPORTS): Add libntdll.a.Corinna Vinschen2007-02-2224-1243/+476
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autoload.cc: Remove all symbols from advapi32.dll, kernel32.dll and ntdll.dll available on all platforms since NT4. Throughout remove all usage of wincap.is_winnt. * dcrt0.cc (dll_crt0_0): Remove call to mmap_init. * fhandler.h (class fhandler_base): Remove has_changed flag. (fhandler_disk_file::touch_ctime): Remove declaration. (fhandler_disk_file::readdir_9x): Ditto. (fhandler_disk_file::touch_ctime): Remove. (fhandler_disk_file::readdir_9x): Remove. (fhandler_disk_file::closedir): Call NtClose instead of CloseHandle. * mmap.cc: Throughout call CreateMapping and MapView directly. (VirtualProt9x): Remove. (VirtualProtNT): Remove. (VirtualProtEx9x): Remove. (VirtualProtExNT): Remove. (VirtualProtect): Remove define. (VirtualProtectEx): Remove define. (CreateMapping9x): Remove. (CreateMappingNT): Rename to CreateMapping. (MapView9x): Remove. (MapViewNT): Rename to MapView. (struct mmap_func_t): Remove definition. (mmap_funcs_9x): Remove. (mmap_funcs_nt): Remove. (mmap_func): Remove. (mmap_init): Remove. * net.cc (getdomainname): Drop comment. Use NT4 registry key only. (get_95_ifconf): Remove. * pinfo.cc (winpids::enumNT): Rename to winpids::enum_processes. (winpids::enum9x): Remove. (winpids::set): Just call enum_processes directly. (winpids::enum_init): Ditto. * pinfo.h (class winpids): Drop enum_processes pointer. Rename enumNT to enum_processes. Drop enum9x declaration. Drop initialization of enum_processes throughout. * registry.cc (get_registry_hive_path): Just create NT key. (load_registry_hive): Only load NT specific file. * syscalls.cc (unlink_9x): Remove. (unlink): Just call unlink_nt. * wincap.cc: Remove is_winnt flag throughout. * wincap.h: Ditto. * winsup.h: Remove mmap_init declaration.
* * ipcs.c (_POSIX2_LINE_MAX): Drop definition.Corinna Vinschen2007-02-222-1/+4
|