summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-06-16 Christopher Faylor <cgf@timesys.com>Jeff Johnston2005-06-163-14/+37
| | | | | | | | | * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to determine characteristics of long double. Use a union instead. * ldtoa.c (_ldtoa_r): Ditto. (_ldcheck): Ditto. (_strtold): Ditto. (union uconv): New union.
* * syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceExCorinna Vinschen2005-06-162-4/+21
| | | | | succeeds but GetDiskFreeSpace fails by faking bytes-per-sector and sectors-per-cluster values.
* * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)Danny Smith2005-06-163-8/+32
| | | | | | (_MCOUNT_DECL): Use it. (MCOUNT): Save and restore eax, ecx, edx registers. * profile/mcount.c (_mcount): ANSI-fy.
* * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use toDanny Smith2005-06-163-20/+57
| | | | | | | | guard __MINGW_ATTRIB macro definitions. * include/math.h (logb[fl]): Don't define inlines for GCC-4.0+ && __FAST_MATH__. (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up line-continuation backslashes.
* add missing entryChristopher Faylor2005-06-151-0/+1
|
* * cygthread.cc (cygthread::detach): Fix debugging output.Christopher Faylor2005-06-156-6/+12
| | | | | | | * dcrt0.cc (dll_crt0_1): Create signal_arrived early -- before any filename manipulation. * sigproc.cc (sigproc_init): Don't create signal_arrived here. * fork.cc (fork_child): Ditto.
* * path.cc (path_conv::check): Always reset to FH_FS when component != 0 andChristopher Faylor2005-06-142-14/+16
| | | | FH_NETDRIVE to fix problems with strict case checking.
* PR libgcj/19877:Tom Tromey2005-06-142-1/+7
| | | | | * no-executables.m4: Call real AC_FUNC_MMAP when cache variable is set but not 'no'.
* * parse_pe.c (exclusion::sort_and_check): Remove crude cast.Corinna Vinschen2005-06-142-1/+5
|
* * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compilerCorinna Vinschen2005-06-142-1/+6
| | | | warning.
* * depstand.m4, lead-dot.m4: New files.DJ Delorie2005-06-133-0/+172
|
* * depcomp: Update from automake CVS. Add 'ia64hp' stanza.DJ Delorie2005-06-132-26/+62
| | | | In 'cpp' stanza, support '#line' as well as '# '.
* * fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSHCorinna Vinschen2005-06-122-0/+7
| | | | | when trying to pass file descriptor by setting msg->msg_accrightslen to 0.
* * Makefile.in: Avoid initial heap allocation since cygwin has its own heap.Christopher Faylor2005-06-112-1/+7
|
* * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,John David Anglin2005-06-112-12/+17
| | | | respectively, in various floating-point load and store patterns.
* * fhandler_console.cc (fhandler_console::read): Fix a compiler warning.Christopher Faylor2005-06-112-1/+5
|
* * winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.Christopher Faylor2005-06-115-15/+29
| | | | | | * winsup.api/pthread/mutex4.c (main): Ditto. * winsup.api/pthread/mutex5.c: Reflect change in cygwin default mutex type. * winsup.api/pthread/mutex6d.c: Ditto.
* * include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.Christopher Faylor2005-06-114-24/+47
| | | | | | | | | | | | | | | | Revert PTHREAD_MUTEX_INITIALIZER to PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP since that is actually closer to what linux does. * thread.h (cw_cancel_action): New enum. (cancelable_wait): Use cw_cancel_action as third argument. * thread.cc (cancelable_wait): Ditto. Don't wait for cancel if cancel_action == cw_no_cancel. (pthread::create): Don't wait for cancel event since that is racy. (pthread_mutex::pthread_mutex): Set default to PTHREAD_MUTEX_ERRORCHECK. (pthread_mutexattr::pthread_mutexattr): Ditto. (pthread_mutex::_lock): Tell cancelable_wait not to wait for cancellation event. (semaphore::_timedwait): Accommodate change in cancelable_wait args. (pthread::join): Ditto.
* * fhandler_socket.cc (fhandler_socket::sendto): Always initializeCorinna Vinschen2005-06-102-4/+10
| | | | | ret to 0. (fhandler_socket::sendmsg): Ditto.
* * winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since itChristopher Faylor2005-06-102-1/+6
| | | | causes compile failures with gcc 3.4.4.
* whitespace changes to hopefully force snapshot run.Christopher Faylor2005-06-102-2/+2
|
* * cygwin.din (imaxabs): Export.Corinna Vinschen2005-06-104-2/+24
| | | | | | | | | | | | | (imaxdiv): Export. (llabs): Export. (lldiv): Export. (strtoimax): Export. (strtoumax): Export. * include/inttypes.h (imaxabs): Activate declaration. (imaxdiv): Ditto. (strtoimax): Ditto. (strtoumax): Ditto. * include/cygwin/version.h: Bump API minor.
* * cygthread.cc (cygthread::detach): Improve diagnostics for what should be anChristopher Faylor2005-06-092-1/+19
| | | | impossible failure condition.
* * cygtls.h (_local_storage::setmode_file): New element.Christopher Faylor2005-06-096-75/+95
| | | | | | | | | | (_local_storage::setmode_mode): New element. * tlsoffsets.h: Regenerate. * cygwin.din (setmode): Define as cygwin_getmode. * syscalls.cc (setmode_helper): Use setmode_* variables from tls rather than using unthreadsafe static. (setmode): Break out fwalk stuff. (cygwin_setmode): New function. Put fwalk stdio stuff here.
* * thread.cc (pthread_mutex::_lock): Use cancelable_wait rather thanChristopher Faylor2005-06-092-1/+6
| | | | WaitForSingleObject.
* * cygwin.sc: Place .cygwin_dll_common in a more sensible spot.Christopher Faylor2005-06-092-4/+8
|
* * cygwin.sc: Place .cygwin_dll_common.Christopher Faylor2005-06-093-1/+10
| | | | * init.cc (threadfunc_ix): Use a more common name for the section name.
* * include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change toChristopher Faylor2005-06-092-1/+6
| | | | PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.
* * thread.cc (cancelable_wait): No-op change to make sure that res is always aChristopher Faylor2005-06-092-3/+7
| | | | valid WFMO return.
* Change pthread::cancelable_wait to just cancelable_wait, throughout.Christopher Faylor2005-06-096-48/+70
| | | | | | | | * thread.h (cw_sig_wait): New enum. (fast_mutex::lock): Use cancelable_wait with resumable signal. (cancelable_wait): Change fourth argument to cw_sig_wait enum. * thread.cc (cancelable_wait): Ditto. Loop on signal detection if fourth argument == cw_sig_resume.
* * cygwin.sc: Apparently nonloading sections need to go last.Christopher Faylor2005-06-082-24/+28
|
* * cygwin.sc: Restore resource and reloc sections and use more modern syntax forChristopher Faylor2005-06-082-4/+16
| | | | stabs sections.
* opcodes:Zack Weinberg2005-06-082-1/+5
| | | | | | | | | | | | | | | | | | | | | | | * arm-opc.h: Delete; fold contents into ... * arm-dis.c: ... here. Move includes of internal COFF headers next to includes of internal ELF headers. (streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused. (struct arm_opcode): Rename struct opcode32. Make 'assembler' const. (struct thumb_opcode): Rename struct opcode16. Make 'assembler' const. (arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames) (iwmmxt_wwnames, iwmmxt_wwssnames): Make const. (regnames): Remove iWMMXt coprocessor register sets. (iwmmxt_regnames, iwmmxt_cregnames): New statics. (get_arm_regnames): Adjust fourth argument to match above changes. (set_iwmmxt_regnames): Delete. (print_insn_arm): Constify 'c'. Use ISO syntax for function pointer calls. Expand sole use of BDISP. Use iwmmxt_regnames and iwmmxt_cregnames, not set_iwmmxt_regnames. (print_insn_thumb16, print_insn_thumb32): Constify 'c'. Use ISO syntax for function pointer calls. include: * dis-asm.h (get_arm_regnames): Update prototype.
* * environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUGChristopher Faylor2005-06-082-1/+6
| | | | with HOME.
* * security.cc (cygwin_logon_user): Run LogonUser in the primaryCorinna Vinschen2005-06-082-6/+20
| | | | process token context. Fix potential handle leak.
* * common.h (EM_MS1): Define.Aldy Hernandez2005-06-073-0/+55
| | | | * ms1.h: New file.
* * dis-asm.h: Externalize print_insn_ms1.Aldy Hernandez2005-06-072-0/+7
|
* * pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES andCorinna Vinschen2005-06-0710-23/+57
| | | | | | | | | | | | | | | | | | | | | | | | allocate dynamically. (pinfo::set_acl): Replace sa_buf by dynamically allocated acl_buf. * sec_acl.cc (setacl): Allocate acl dynamically. * sec_helper.cc (sec_acl): Add test for alignment of acl when DEBUGGING is defined. (__sec_user): Same for sa_buf. * security.cc (verify_token): Define sd_buf as PSECURITY_DESCRIPTOR and allocate dynamically. (alloc_sd): Allocate acl dynamically. security.h (sec_user_nih): Change first parameter to SECURITY_ATTRIBUTES *. (sec_user): Ditto. * sigproc.cc (wait_sig): Define sa_buf as PSECURITY_ATTRIBUTES and allocate dynamically. * syscalls.cc (seteuid32): Define dacl_buf as PACL and allocate dynamically. * uinfo.cc (cygheap_user::init): Define sa_buf as PSECURITY_ATTRIBUTES and allocate dynamically. * winbase.h (ilockincr): Mark first argument of inline assembly as earlyclobber. (ilockdecr): Ditto.
* * cygthread.cc (cygthread::detach): Make error message a little more detailed.Christopher Faylor2005-06-077-9/+33
| | | | | | | | | * fhandler.cc (fhandler_base::raw_read): Ditto for debug message. * dcrt0.cc (do_exit): Add some more synchronization tests. * fhandler_fifo.cc (fhandler_fifo::dup): Don't duplicate a nonexistent handle. Use derived return value rather than always retuning 0. * fhandler_netdrive.cc (fhandler_netdrive::exists): Wnet -> WNet. * winsup.h (exit_states): Add a couple of new exit states.
* * configure.in <cris-*, crisv32-*>: Enable target-libffi again forHans-Peter Nilsson2005-06-072-4/+4
| | | | | *-*-linux* and *-*-elf. * configure: Regenerate.
* Sync with gcc-toplevelHans-Peter Nilsson2005-06-071-9/+28
|
* * configure.in (unsupported_languages): New macro.Hans-Peter Nilsson2005-06-073-72/+113
| | | | | | | | | | <mmix-knuth-mmixware>: Set unsupported_languages. Name explicit non-ported target libraries in noconfigdirs. <cris-*, crisv32-*> Ditto, except for non-aout, non-elf, non-linux-gnu. Remove libgcj_ex_libffi. <lang_frag loop>: Set add_this_lang=no if the language is in unsupported_languages. * configure: Regenerate.
* merge from gccDJ Delorie2005-06-062-1/+5
|
* * cygload/cygload.exp: .cpp -> .cc.Christopher Faylor2005-06-062-1/+5
|
* * Makefile.in: Test cygload.Christopher Faylor2005-06-067-1/+882
| | | | | | | | | * cygload: New directory. * cygload/README: New file. * cygload/Makefile: Ditto. * cygload/cygload.h: Ditto. * cygload/cygload.cc: Ditto. * cygload/cygload.exp: Ditto.
* reformat ChangeLog entry slightly.Christopher Faylor2005-06-061-2/+2
|
* * configure.in: Fix typo in handling of --with-mpfr-dir.DJ Delorie2005-06-063-62/+67
| | | | * configure: Regenerate.
* * path.cc (symlink_info::check): If GetFileAttributes returnsCorinna Vinschen2005-06-062-2/+16
| | | | with ERROR_SHARING_VIOLATION, the file exists.
* * uname.cc (uname): Change "amd64" to "x86_64" as on Linux.Corinna Vinschen2005-06-062-1/+5
|
* * uname.cc (uname): Add missing break.Corinna Vinschen2005-06-062-0/+5
|