3f6d6e1a5d* depcomp: Update from automake CVS. Add 'ia64hp' stanza. In 'cpp' stanza, support '#line' as well as '# '.
DJ Delorie
2005-06-13 18:01:01 +0000
3925b4afc4* fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSH when trying to pass file descriptor by setting msg->msg_accrightslen to 0.
Corinna Vinschen
2005-06-12 12:01:09 +0000
88cbbd450e* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.
Christopher Faylor
2005-06-11 21:00:23 +0000
7029e9a234* hppa.h (pa_opcodes): Use cM and cX instead of cm and cx, respectively, in various floating-point load and store patterns.
John David Anglin
2005-06-11 15:33:52 +0000
b945228cb6* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.
Christopher Faylor
2005-06-11 05:09:25 +0000
452e5c7297* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex. * 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.
Christopher Faylor
2005-06-11 04:59:53 +0000
8556456790* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL. 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.
Christopher Faylor
2005-06-11 04:56:36 +0000
b4177338e1* fhandler_socket.cc (fhandler_socket::sendto): Always initialize ret to 0. (fhandler_socket::sendmsg): Ditto.
Corinna Vinschen
2005-06-10 21:47:24 +0000
6700d99e7e* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it causes compile failures with gcc 3.4.4.
Christopher Faylor
2005-06-10 19:32:29 +0000
eb83d89572whitespace changes to hopefully force snapshot run.
Christopher Faylor
2005-06-10 18:44:26 +0000
1b96f7da45* cygthread.cc (cygthread::detach): Improve diagnostics for what should be an impossible failure condition.
Christopher Faylor
2005-06-09 23:48:08 +0000
9a91777205* cygtls.h (_local_storage::setmode_file): New element. (_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.
Christopher Faylor
2005-06-09 22:33:57 +0000
fa0dcd0d65* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than WaitForSingleObject.
Christopher Faylor
2005-06-09 20:59:59 +0000
85cd5c3d57* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.
Christopher Faylor
2005-06-09 20:46:00 +0000
0acb042081* cygwin.sc: Place .cygwin_dll_common. * init.cc (threadfunc_ix): Use a more common name for the section name.
Christopher Faylor
2005-06-09 19:29:27 +0000
8891625cbf* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.
Christopher Faylor
2005-06-09 15:30:44 +0000
abf60784be* thread.cc (cancelable_wait): No-op change to make sure that res is always a valid WFMO return.
Christopher Faylor
2005-06-09 05:14:02 +0000
ed364fa9fbChange pthread::cancelable_wait to just cancelable_wait, throughout. * 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.
Christopher Faylor
2005-06-09 05:11:51 +0000
a63c42932e* cygwin.sc: Apparently nonloading sections need to go last.
Christopher Faylor
2005-06-08 20:56:34 +0000
ad96f0997b* cygwin.sc: Restore resource and reloc sections and use more modern syntax for stabs sections.
Christopher Faylor
2005-06-08 20:18:23 +0000
8741a5314bopcodes: * 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.
Zack Weinberg
2005-06-08 17:27:41 +0000
7273344558* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUG with HOME.
Christopher Faylor
2005-06-08 15:42:58 +0000
ce132d0ffd* security.cc (cygwin_logon_user): Run LogonUser in the primary process token context. Fix potential handle leak.
Corinna Vinschen
2005-06-08 10:06:17 +0000
7311cc1f0c* pinfo.cc (pinfo::init): Define sa_buf as PSECURITY_ATTRIBUTES and 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.
Corinna Vinschen
2005-06-07 19:31:42 +0000
b739751db9* cygthread.cc (cygthread::detach): Make error message a little more detailed. * 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.
Christopher Faylor
2005-06-07 18:41:31 +0000
7066fc51d7* configure.in <cris-*, crisv32-*>: Enable target-libffi again for *-*-linux* and *-*-elf. * configure: Regenerate.
Hans-Peter Nilsson
2005-06-07 09:33:44 +0000
c2908dd79cSync with gcc-toplevel
Hans-Peter Nilsson
2005-06-07 06:18:26 +0000
aac893c5dd* configure.in (unsupported_languages): New macro. <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.
Hans-Peter Nilsson
2005-06-07 00:04:15 +0000
0b1ecddf68merge from gcc
DJ Delorie
2005-06-06 22:13:35 +0000
2af5aa67e2* cygload/cygload.exp: .cpp -> .cc.
Christopher Faylor
2005-06-06 21:28:22 +0000
bd3b6ab4ee* Makefile.in: Test cygload. * cygload: New directory. * cygload/README: New file. * cygload/Makefile: Ditto. * cygload/cygload.h: Ditto. * cygload/cygload.cc: Ditto. * cygload/cygload.exp: Ditto.
Christopher Faylor
2005-06-06 21:13:31 +0000
405e757cf9reformat ChangeLog entry slightly.
Christopher Faylor
2005-06-06 21:12:00 +0000
e875be5876* configure.in: Fix typo in handling of --with-mpfr-dir. * configure: Regenerate.
DJ Delorie
2005-06-06 18:36:50 +0000
7a70dda0b8* path.cc (symlink_info::check): If GetFileAttributes returns with ERROR_SHARING_VIOLATION, the file exists.
Corinna Vinschen
2005-06-06 16:58:39 +0000
34667bbd39* uname.cc (uname): Change "amd64" to "x86_64" as on Linux.
Corinna Vinschen
2005-06-06 16:17:10 +0000
c94aabb8c6* include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo in GNUC version guard.
Danny Smith
2005-06-06 08:21:53 +0000
6eb501439a* Makefile.in: Build sync.o with -fomit-frame-pointer and -O3.
Christopher Faylor
2005-06-05 04:15:16 +0000
61496ed680* sync.cc (muto::acquire): Remove unneeded brackets and fix whitespace.
Christopher Faylor
2005-06-05 04:07:46 +0000
c1e1d36141* malloc.cc: Update to Doug Lea's malloc v2.8.0.
Christopher Faylor
2005-06-05 03:47:36 +0000
bbe982c5ccSlight rearragement
Joshua Daniel Franklin
2005-06-05 02:16:07 +0000
909df7cbb4* how-programming.texinfo: Add "How do I load cygwin1.dll dynamically from a Visual Studio or MinGW application?"
Christopher Faylor
2005-06-04 02:14:13 +0000
6e780c8bf5* dcrt0.cc (cygwin_dll_init): Now initializes main_environ and cygtls. Comment to explain the caveats of this method. * how-cygtls-works.txt: New file.
Christopher Faylor
2005-06-04 02:11:50 +0000
15c04fd16e2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2005-06-03 18:57:30 +0000
d9f491a77dinclude/ * bfdlink.h (struct bfd_link_callbacks): Add einfo. bfd/ * configure.in: Bump version * configure: Regenerate. * elflink.c (elf_link_input_bfd): Use einfo linker callback to print discarded section sym refs and kill linker output. * simple.c (simple_dummy_einfo): New function. (bfd_simple_get_relocated_section_contents): Init callbacks.einfo. ld/ * ldmain.c (link_callbacks): Add einfo. (add_archive_element): Use passed info, not link_info. (constructor_callback): Likewise. (reloc_overflow): Don't handle null bfd specially. (reloc_dangerous, unattached_reloc): Likewise. * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd. (vfinfo <C, D, G>): Handle null bfd. Wrap comments.
Alan Modra
2005-06-03 09:52:47 +0000
d8a68f645a* dlfcn.cc (get_full_path_of_dll): Use a relative path when converting so that the standard Windows rules for finding a library will be used if no path is given. Stop explicitly searching /usr/bin since that is now in effect.
Christopher Faylor
2005-06-03 01:07:40 +0000
cebe72fec5* config.sub: Add cases for the Renesas m32c. (This patch has been accepted into the master sources.)
Jim Blandy
2005-06-02 21:23:04 +0000
66cb6a193c* configure.in: Set noconfigdirs for ms1.
Aldy Hernandez
2005-06-02 19:56:31 +0000
f09c53c96cmerge from gcc
DJ Delorie
2005-06-02 03:05:03 +0000
f9fb1149d5Revert 2005-05-30 close_all_files changes. * spawn.cc (spawn_guts): When execing, close all files after the child has synced with us.
Christopher Faylor
2005-06-02 02:36:50 +0000
5ac6edefaf* fhandler_disk_file.cc (fhandler_disk_file::fchown): Make sure that disk open is called in case we're passed in a non-existent device.
Christopher Faylor
2005-06-02 01:50:23 +0000
31d0f220ad* include/machine/stdlib.h: New file.
Christopher Faylor
2005-06-01 18:24:31 +0000
19adafdc21* thread.h (List_remove): Revert most of 2005-05-30 change.
Christopher Faylor
2005-06-01 14:55:45 +0000
8d05cca34b* cygwin.sc: Don't output .reloc or .rsrc sections. Clean up stuff around .cygheap and use a workaround to get things working with newer (broken?) binutils.
Christopher Faylor
2005-06-01 04:42:44 +0000
5d4a672193* cygheap.cc (cygheap_end): Remove bogus section attribute. * cygwin.sc: Make __cygheap_mid absolute. Remove unused _cygheap_foo.
Christopher Faylor
2005-06-01 04:00:40 +0000
ce95c6407e* child_info.h (child_info::cygheap_h): Delete. (child_info::dwProcessId): New field. * cygheap.cc (init_cheap): Delete. (dup_now): Ditto. (cygheap_setup_for_child): Ditto. (cygheap_setup_for_child_cleanup): Ditto. (cygheap_fixup_in_child): Simplify. Use new "child_copy" function to copy heap from parent. (_csbrk): Don't attempt allocation if within cygheap section. Fix so that more than one allocation will succeed. (cygheap_init): Reset possibly-nonzero region to zero. * cygheap.h (cygheap_setup_for_child): Delete declaration. (cygheap_setup_for_child_cleanup): Ditto. (cygheap_start): Define as an array. * cygwin.sc: Modernize. Remove unneeded sections. Define cygheap here. * dcrt0.cc (do_exit): Reflect argument change to close_all_files. * dtable.cc (dtable::vfork_parent_restore): Ditto. * dtable.h: Ditto. * fhandler.h: Ditto. * fork.cc (fork_copy): Call ReadProcessMemory if there is no thread (indicating that we're execing). (fork_child): Don't mess with hParent. (fork_parent): Remove hParent stuff. It happens earlier now. Remove call to cygheap_setup_for_child* stuff. (fork): Put child_info_stuff in grouped structure. Issue error if parent handle is not set. (child_copy): New function. * sigproc.cc (child_info::child_info): Put cygheap settings here. Set parent handle. (child_info::~child_info): Close parent handle if it exists. * spawn.cc (spawn_guts): Reorganize so that ciresrv is allocated at only the last minute so that cygheap changes are reflected. Delete cygheap_setup* calls. * syscalls.cc (close_all_files): Add an argument to flag when the fd entry should be released. * winsup.h (close_all_files): Add an argument to close_all_files declaration. Declare child_copy.
Christopher Faylor
2005-06-01 03:46:56 +0000
302cb8165e* alpha.h (LITUSE_ALPHA_JSRDIRECT): New.
Richard Henderson
2005-05-31 22:52:31 +0000
9885498829* thread.h (List_remove): Make node parameter const. Use simple comparison and assignment rather than InterlockedCompareExchangePointer since access is already synchronized.
Christopher Faylor
2005-05-30 18:37:41 +0000
ac5e21b028* dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.
Christopher Faylor
2005-05-30 18:20:28 +0000
26797de314* cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PC Editions. Change .NET to 2003 throughout. Recognize 2003 Web Server and Datacenter Server. Report when running in terminal server session.
Corinna Vinschen
2005-05-30 15:49:31 +0000
b66f95cc73merge from gcc
DJ Delorie
2005-05-30 01:12:16 +0000
44055eca0b* cygmagic: Remove debugging cruft missed on 2005-05-21.
Christopher Faylor
2005-05-30 00:54:01 +0000
560c28560c* alpha.h (DT_ALPHA_PLTRO): New.
Richard Henderson
2005-05-29 23:18:26 +0000
7897d3fd88* path.cc (path_conv::check): Move component to function scope. Set PATH_RO only on *real* FH_NETDRIVEs or on non-FH_NETDRIVE virtual paths. Allow non-retrievable shares to be handled as files.
Corinna Vinschen
2005-05-29 11:04:02 +0000
37b01058e7* cygwin.din: Remove signal front end from pthread_[gs]etspecific.
Christopher Faylor
2005-05-29 02:26:29 +0000
5c0a13d486* fhandler_tty.cc (fhandler_tty_slave:tcflush): Use signed comparison.
Christopher Faylor
2005-05-29 00:05:49 +0000
03bb8acaa7* times.cc (time_ms::usecs): Coerce comparison to signed or whole test is a no-op.
Christopher Faylor
2005-05-28 21:31:17 +0000
73162dcdd0* how-using.texinfo : Update the mkdir -p section
Joshua Daniel Franklin
2005-05-28 20:35:58 +0000
50cc47a3a5merge from gcc
DJ Delorie
2005-05-28 19:49:21 +0000
e1e5d196d2white space
Christopher Faylor
2005-05-27 18:42:03 +0000
1bbf1ac6a5* cygheap.h: Reference _cygheap_start via .cygheap section. * environ.cc: Fix force_into_environment typo throughout. (spenvs): Export CYGWIN_DEBUG if DEBUGGING.
Christopher Faylor
2005-05-27 18:26:19 +0000
cba3b11fc5* cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs. * strace.cc (load_cygwin): Ditto.
Christopher Faylor
2005-05-27 15:45:53 +0000
720c77ee72* include/cygwin/version.h: Bump DLL minor number to 18.
Christopher Faylor
2005-05-26 18:19:26 +0000
dce76d2b39include/ * demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. (d_make_comp, d_print_comp): Likewise. (d_special_name): Generate one. * testsuite/demangle-expected: Add a hidden alias test.
Richard Henderson
2005-05-25 23:32:35 +0000
09731f7fbcforced checkin
Christopher Faylor
2005-05-25 18:30:18 +0000
04639fa64c2005-05-25 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2005-05-25 14:23:03 +0000
125b724dd8* fhandler.h (fhandler_base::mkdir): New virtual method. (fhandler_base::rmdir): Ditto. (fhandler_disk_file:mkdir): New method. (fhandler_disk_file:rmdir): Ditto. * dir.cc (mkdir): Implement with fhandlers. (rmdir): Ditto. * fhandler.cc (fhandler_base::mkdir): New virtual method. (fhandler_base::rmdir): Ditto. (fhandler_disk_file::mkdir): New method. (fhandler_disk_file::rmdir): Ditto.
Christopher Faylor
2005-05-25 04:32:59 +0000
2a41ee9e0c* include/cygwin/version.h: Bump API minor number to 129.
Christopher Faylor
2005-05-25 03:46:10 +0000
5c288d4342Add top comment
Christopher Faylor
2005-05-25 03:43:58 +0000
cb3f5f0862* cygwin.din: Export mkdtemp. * mktemp.cc: New file. * Makefile.in (DLL_OFILES): Add mktemp.o
Christopher Faylor
2005-05-25 03:40:07 +0000
53726a558dmerge from gcc
DJ Delorie
2005-05-24 21:00:54 +0000
bffa834f8e* hppa.h (FLAG_STRICT): Correct comment. (pa_opcodes): Update load and store entries to allow both PA 1.X and PA 2.0 mneumonics when equivalent. Entries with cache control completers now require PA 1.1. Adjust whitespace.
John David Anglin
2005-05-23 16:26:43 +0000
827cff7fe2* cygcheck.cc (dump_sysinfo_services): Add new function that uses new cygrunsrv options to dump service info. (dump_sysinfo): Call dump_sysinfo_services if running under NT. Change 'Cygnus' to 'Cygwin' in output.
Corinna Vinschen
2005-05-23 09:54:44 +0000
f82ca06eda* spawn.cc (find_exec): Accept a PATH-like string in place of an environment variable. * dlfcn.cc (get_full_path_of_dll): Search /usr/bin (for windows compatibility) and /usr/lib (for UNIX compatibility) when looking for shared libraries. * environ.cc (conv_envvars): Put back LD_LIBRARY_PATH since it is used by get_full_path_of_dll(). * errno.cc (errmap): Map MOD_NOT_FOUND to ENOENT. * cygmagic: Remove debugging cruft.
Christopher Faylor
2005-05-22 03:54:29 +0000
ceb7fa1c4a* cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set. (nuke): Fix off by one error in allocation of environment variable. (load_cygwin): Always set PATH even if cygwin environment is empty.
Christopher Faylor
2005-05-20 16:38:42 +0000
10b25909662005-05-20 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2005-05-20 07:16:11 +0000
93c827a547* bfd/Makefile.am, binutils/Makefile.am, etc/Makefile.in * gas/Makefile.am: Have 'all' depend on 'info'. * ld/Makefile.am: Have 'all' depend on 'info' and 'ld.1'. * bfd/Makefile.in, binutils/Makefile.in, gas/Makefile.in * ld/Makefile.in: Regenerate.
Zack Weinberg
2005-05-19 23:49:46 +0000
45e3403e7b* crt1.c (_gnu_exception_handler): Handle illegal instruction OS exception as a signal if user has defined a SIGILL handler.
Danny Smith
2005-05-19 22:44:13 +0000