summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-03-172-1/+5
| | | | | * libc/sys/linux/linuxthreads/config.h: Remove definition of UINT32_C.
* * include/winbase.h (STATUS_DLL_INIT_FAILED): New define.Christopher Faylor2006-03-162-0/+7
| | | | (STATUS_DLL_INIT_FAILED_LOGOFF): Ditto.
* * cygheap.cc (init_cygheap::manage_console_count): Turn console control handlerChristopher Faylor2006-03-168-32/+38
| | | | | | | | | | | | | on/off depending on whether we have allocated a console or not. * dcrt0.cc (child_info_fork::fork_retry): Add more potential retry statuses. (dll_crt0_0): Turn on/off console control depending on whether we have a controlling tty or not. * exceptions.cc (init_console_handler): Change BOOL to bool. * fhandler_console.cc (fhandler_console::need_invisible): Cosmetic change. * winsup.h (init_console_handler): Reflect argument type change. * wincap.h (supports_setconsolectrlhandler_null): Remove duplicate capability throughout. * wincap.cc: Ditto.
* 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-03-152-2/+9
| | | | | * libc/stdio/wsetup.c (__swsetup): Don't make a buffer for a string I/O file that isn't using the asprintf family.
* * child_info.h (child_info_fork::fork_retry): Declare new function.Christopher Faylor2006-03-155-8/+34
| | | | | | | * dcrt0.cc (child_info_fork::fork_retry): Define new function. * fork.cc (frok::parent): Move retry decision into child_info_fork::fork_retry and honor what it tells us to do. * sigproc.cc (sig_send): Unhold signals on __SIGEXIT.
* * fork.cc (frok::parent): Improve error message.Christopher Faylor2006-03-142-1/+11
|
* * dcrt0.cc (main_environ): Initialize to &__cygwin_environment.Christopher Faylor2006-03-145-25/+33
| | | | | | | | | | | (dll_crt0_1): Move resourcelocks, thread interface, pinfo_init, and uinfo_init... (dll_crt0_0): ...to here. (_dll_crt0): Call update_envptrs here after setting main_environ. * environ.cc (environ_init): Eliminate initted variable. Don't call update_envptrs here. * sigproc.cc (wait_sig): Use my_sendsig when calling CreatePipe to avoid a dereference.
* 2006-03-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-03-142-2/+6
| | | | * Makefile.in: Regenerate.
* 2006-03-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-03-145-196/+179
| | | | | | | | | | | | | | | Sync with gcc: 2006-03-10 Aldy Hernandez <aldyh@redhat.com> * configure.in: Handle --disable-<component> generically. * configure: Regenerate. 2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com> * Makefile.tpl (BUILD_CONFIGDIRS): Remove. (TARGET_CONFIGDIRS): Remove. * configure.in: Remove AC_SUBST(target_configdirs). * Makefile.in, configure: Regenerated.
* * child_info.h (child_info_fork::handle_failure): Declare new function.Christopher Faylor2006-03-1311-59/+121
| | | | | | | | | | | | | | | | | | | | | | | | (child_info_fork::retry): New field. * dcrt0.cc (__api_fatal_exit_val): Define. (child_info_fork::handle_failure): Define new function. (__api_fatal): Exit using __api_fatal_exit_val value. * environ.cc (set_fork_retry): Set fork_retry based on CYGWIN environment variable. (parse_thing): Add "fork_retry" setting. * fork.cc (fork_retry): Define. (frok::parent): Reorganize to allow retry of failed child creation if child signalled that it was ok to do so. * heap.cc (heap_init): Signal parent via handle_failure when VirtualAlloc fails. * pinfo.h (EXITCODE_RETRY): Declare. * sigproc.cc (child_info::sync): Properly exit with failure condition if called for fork and didn't see subproc_ready. * spawn.cc (spawn_guts): Use windows pid as first argument. * winsup.h: Remove obsolete NEW_MACRO_VARARGS define. (__api_fatal_exit_val): Declare. (set_api_fatal_return): Define. (in_dllentry): Declare. * exceptions.cc (inside_kernel): Remove unneeded in_dllentry declaration.
* * cygwinenv.sgml: Explain about new fork_retry CYGWIN environment variableChristopher Faylor2006-03-132-1/+11
| | | | setting.
* * dcrt0.cc (dll_crt0_0): Reorganize so that sigproc_init is called a littleChristopher Faylor2006-03-136-36/+73
| | | | | | | | | | | | later. Add a comment. * fork.cc (resume_child): Make void. (frok::parent): Only zero pi when necessary. Explicitly zero si. Set this_errno when child_copy fails. Accommodate change to resume_child. * sigproc.cc (sigalloc): Move global_sigs initialization here. (sigproc_init): Move global_sigs. (sig_send): Just check for flush signals once. * wincap.h: Define supports_setconsolectrlhandler_null throughout. * wincap.cc: Ditto.
* Fix typo.Corinna Vinschen2006-03-131-1/+1
|
* * autoload.cc (LoadDLLfuncNt): New define to wrap NT native functions.Corinna Vinschen2006-03-133-26/+37
| | | | | | Use for NT native functions throughout. * dtable.cc (handle_to_fn): Treate return value of NtQueryObject as NTSTATUS value.
* tweak last ChangeLog descriptionChristopher Faylor2006-03-131-2/+2
|
* * cygtls.cc (_cygtls::remove): Reset initialized flag right away if we wereChristopher Faylor2006-03-135-100/+112
| | | | | | | | previously initialized. * cygtls.h (_cygtls::initialized): Move nearer the end to catch situation when Windows 98 mysteriously changes pieces of cygtls when thread is detaching. * gendef (__sigfe_maybe): Simplify slightly. * tlsoffsets.h: Regenerate.
* * cygtls.h (CYGTLS_INITIALIZED): Change to a little more unlikely value.Christopher Faylor2006-03-129-70/+80
| | | | | | | | | | | | | | | | | | | | | | | | | (CYGTLSMAGIC): Delete. * dcrt0.cc (dll_crt0_0): Call sigproc_init during init startup. (_dll_crt0): Don't worry about sync_startup. Just wait for sigthread here. * dll_init.cc (cygwin_detach_dll): Only pick up tls version of retaddr if we have a valid tls. * fork.cc (frok::child): Remove sigproc_init initialization since it happens much earlier now. * gendef: Recognize SIGFE_MAYBE. (fefunc): Generate calls to _sigfe_maybe, if appropriate. (_sigfe_maybe): New function. * init.cc (search_for): Always initialize search_for, even on fork. (calibration_thread): Delete. (calibration_id): Delete. (prime_threads): Delete. (munge_threadfunc): Remove calibration_thread special case. Avoid calling thread function if we haven't yet hit the "search_for" thread. (dll_entry): Remove prime_threads call. Only call munge_threadfunc when hwait_sig is active. Ditto. for _my_tls.remove (); * sigproc.cc (hwait_sig): Make global. (sigproc_init): Don't bother with sync_startup. (sig_send): Treat flush as a no-op when signals are held. (wait_sig): Cause signals to be held after fork.
* 2006-03-10 Paul Brook <paul@codesourcery.com>Paul Brook2006-03-102-0/+5
| | | | | | | | | | | | | | bfd/ * elf32-arm.c (INTERWORK_FLAG): Handle EABIv5. (elf32_arm_print_private_bfd_data): Ditto. binutils/ * readelf.c (decode_ARM_machine_flags): Handle EABIv5. gas/ * config/tc-arm.c (md_begin): Handle EABIv5. (arm_eabis): Add EF_ARM_EABI_VER5. * doc/c-arm.texi: Document -meabi=5. include/elf/ * arm.h (EF_ARM_EABI_VER5): Define.
* 2006-03-10 Paul Brook <paul@codesourcery.com>Paul Brook2006-03-102-1/+5
| | | | | include/opcode/ * arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.
* * syscalls.cc (rename): Move existance check for oldpath further upCorinna Vinschen2006-03-092-7/+41
| | | | | to the start of the function. Avoid another case of a name collision if oldpath is a shortcut and a file or directory newpath already exists.
* * include/winspool.h (DI_MEMORYMAP_WRITE): Define (DWORD type).Dimitri Papadopoulos2006-03-092-1/+18
| | | | | | | (FORM_USER,FORM_PRINTER): Define (DWORD type). * include/winspool.h [_WIN32_WINNT >= 0x0500] (DSPRINT_*): Define (DWORD type). Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
* * autoload.cc (NtClose): Define.Corinna Vinschen2006-03-094-108/+172
| | | | | | | | | | | | | | (NtOpenDirectoryObject): Define. (NtQueryDirectoryObject): Define. * fhandler_proc.cc: Include ctype.h and wchar.h. (format_proc_partitions): Revamp loop over existing harddisks by scanning the NT native \Device object directory and looking for Harddisk entries. * ntdll.h: Rearrange system call declarations alphabetically. (DIRECTORY_QUERY): Define. (struct _DIRECTORY_BASIC_INFORMATION): Define. (NtOpenDirectoryObject): Declare. (NtQueryDirectoryObject): Declare.
* Remove accidentally checked in ChangeLog entry.Corinna Vinschen2006-03-091-7/+0
|
* * include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define.Dimitri Papadopoulos2006-03-092-15/+23
| | | | Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
* * cygtls.h (_cygtls::retaddr): New method.Christopher Faylor2006-03-084-7/+15
| | | | | | | * dll_init.cc (cygwin_detach_dll): Use new tls function to find return address since this function is now signal guarded. (update_envptrs): Remove unneeded braces. * syscalls.cc (statvfs): Coerce full_path to avoid a gcc warning.
* * syscalls.cc (statvfs): Simplify path name expression.Corinna Vinschen2006-03-082-3/+7
|
* * syscalls.cc: Include winioctl.h.Corinna Vinschen2006-03-082-0/+35
| | | | | (statvfs): Request correct volume size using DeviceIoControl if quotas are enforced on the file system.
* 2006-03-07 Eric Blake <ebb9@byu.net>Jeff Johnston2006-03-073-14/+25
| | | | | | | * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL filename, allow read-only or write-only FILE atop O_RDWR file descriptor. * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
* 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-03-073-0/+9
| | | | | * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf. * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
* * include/shellapi.h [_WIN32_IE >= 0x0600]Dimitri Papadopoulos2006-03-072-15/+24
| | | | | (SEE_MASK_NOZONECHECKS,SEE_MASK_FLAG_LOG_USAGE): Define on Windows XP SP1 and Windows XP respectively.
* * include/shellapi.h (NOTIFYICONDATA_V*_SIZE): Define.Dimitri Papadopoulos2006-03-072-3/+18
| | | | | | Thanks to: Daniel Atallah <datallah at users dot sf dot net> * include/shellapi.h [_WIN32_IE >= 0x0500] (NIS_*): Introduced in Version 5.0.
* * cygwinenv.sgml: Add missing </para> at transparent_exe.Corinna Vinschen2006-03-072-1/+5
|
* * include/wingdi.h (CS_*): Correct WINVER guard onDanny Smith2006-03-062-2/+6
| | | | Image Color Matching colour definitions.
* * include/shlobj.h (SFGAO_ISSLOW): Define.Danny Smith2006-03-062-1/+13
| | | | | (SFGAO_DISPLAYATTRMASK): Define in terms of preceding display attribute constants.
* * include/wingdi.h [WINVER >= 0x0500]Dimitri Papadopoulos2006-03-061-1/+1
| | | | | (GRADIENT_FILL_*,*_EMBEDED): Included in Windows 2000 and later. Thanks to: David A. Capello <dacap at users dot sf dot net>
* * include/wingdi.h [WINVER >= 0x0500]Dimitri Papadopoulos2006-03-062-4/+3
| | | | | (INTERNET_STATE_*,*_EMBEDED): Included in Windows 2000 and later. Thanks to: David A. Capello <dacap at users dot sf dot net>
* * include/wingdi.h [WINVER >= 0x0500]Dimitri Papadopoulos2006-03-061-1/+8
| | | | | (INTERNET_STATE_*,*_EMBEDED): Included in Windows 2000 and later. Thanks to: David A. Capello <dacap at users dot sf dot net>
* missing changelog entry for my 2006-02-07 patchNathan Sidwell2006-03-061-0/+8
| | | | | | | * m68k.h (m68008, m68ec030, m68882): Remove. (m68k_mask): New. (cpu_m68k, cpu_cf): New. (mcf5200, mcf5206e, mcf521x, mcf5249, mcf528x, mcf5307, mcf5407
* bfd:Nathan Sidwell2006-03-062-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp): New. Adjust other variants. (bfd_default_scan): Update. * bfd-in2.h: Rebuilt. * cpu-m68k.c: Adjust. (bfd_m68k_compatible): New. Use it for architectures. * elf32-m68k.c (elf32_m68k_object_p): Adjust. (elf32_m68k_merge_private_bfd_data): Adjust. Correct isa-a/b mismatch. (elf32_m68k_print_private_bfd_data): Adjust. * ieee.c (ieee_write_processor): Adjust. binutils: * readelf.c (get_machine_flags): Adjust. gas: * config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k and cf. (m68k_ip): <case 'J'> Check we have some control regs. (md_parse_option): Allow raw arch switch. (m68k_init_arch): Better detection of arch/cpu mismatch. Detect whether 68881 or cfloat was meant by -mfloat. (md_show_usage): Adjust extension display. (m68k_elf_final_processing): Adjust. gas/testsuite: * gas/m68k/arch-cpu-1.s: Tweak. * gas/m68k/arch-cpu-1.d: Tweak. include/elf: * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B, EF_M68K_ISA_C): Adjust. (EF_M68K_ISA_A_NODIV, EF_M68K_ISA_B_NOUSP): New. (EF_M68K_HW_DIV, EF_M68K_USP): Remove. (EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_FLOAT): Adjust. (EF_M68K_EMAC_B): New. ld/testsuite: * ld-m68k: New tests.
* 2006-03-05 Paul J. Lucas <pauljlucas@users.sourceforge.net>Danny Smith2006-03-052-1/+19
| | | | | | * include/wininet.h (INTERNET_CONNECTED_INFO): Define structure. (INTERNET_STATE_*): Define flags. (INTERNET_OPTION_CONNECTED_STATE): Define constant.
* 2006-03-05 Chris Wilson <chris+mingw@qwirx.com>Danny Smith2006-03-052-0/+34
| | | | * include/sddl.h: New file.
* * hppa.h (pa_opcodes): Reorder bb opcodes so that pa10 opcodes comeJohn David Anglin2006-03-042-2/+7
| | | | first. Correct mask of bb "B" opcode.
* * dir.cc (opendir): Fix indentation.Corinna Vinschen2006-03-033-6/+21
| | | | | | | | * fhandler_disk_file.cc (fhandler_disk_file::opendir): Move storing fhandler in file descriptor table to some point very late in function to avoid double free'ing. Add comment to explain what happens. Add label free_mounts and don't forget to delete __DIR_mounts structure if NtOpenFile fails.
* Add linker relaxation support for the AVRNick Clifton2006-03-032-0/+11
|
* * regtool.cc (options): Add 'binary'.Corinna Vinschen2006-03-033-11/+212
| | | | | | | | | | | | | | (usage): Document 'load|unload|save' and '-b'. (find_key): Add 'options' parameter, add load/unload. (cmd_set): Add KT_BINARY case. (cmd_get): Add hex output in KT_BINARY case. (cmd_load): New function. (cmd_unload): New function. (set_privilege): New function. (cmd_save): New function. (commands): Add load, unload and save. (main): Add '-b' * utils.sgml (regtool): Document it.
* * m32c/exit.S: Preserve r1.DJ Delorie2006-03-032-0/+6
|
* * syscalls.cc (chroot): Disallow chroot into special directories.Corinna Vinschen2006-03-022-0/+7
| | | | Return EPERM instead.
* 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-03-023-2/+8
| | | | | | * libm/math/math.tex: Fix reference to sisnan.def which is now in common subdirectory. * libm/mathfp/mathfp.tex: Ditto.
* force null checkinChristopher Faylor2006-03-020-0/+0
|
* * fhandler_disk_file.cc (__DIR_mounts::check_missing_mount): CheckCorinna Vinschen2006-03-022-4/+12
| | | | cygdrive string length for those who have cygdrive mapped to "/".