summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * tcl.m4 (SC_PATH_TCLCONFIG): Add some simple logic to dealKeith Seitz2008-08-022-8/+22
| | | | | with cygwin. (SC_PATH_TKCONFIG): Likewise.
* gas/Peter Bergner2008-08-022-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags. Handle -mvsx and -mpower7. (md_show_usage): Document -mpower7 and -mvsx. * doc/as.texinfo (Target PowerPC): Document -mvsx. * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7. gas/testsuite/ * gas/ppc/power7.d: New. * gas/ppc/power7.s: Likewise. * gas/ppc/ppc.exp: Run power7 test. include/opcode/ * ppc.h (PPC_OPCODE_VSX, PPC_OPERAND_VSR): New. opcodes/ * ppc-dis.c (powerpc_init_dialect): Handle power7 and vsx options. (print_insn_powerpc): Prepend 'vs' when printing VSX registers. (print_ppc_disassembler_options): Document -Mpower7 and -Mvsx. * ppc-opc.c (insert_xt6): New static function. (extract_xt6): Likewise. (insert_xa6): Likewise. (extract_xa6: Likewise. (insert_xb6): Likewise. (extract_xb6): Likewise. (insert_xb6s): Likewise. (extract_xb6s): Likewise. (XS6, XT6, XA6, XB6, XB6S, DM, XX3, XX3DM, XX1_MASK, XX3_MASK, XX3DM_MASK, PPCVSX): New. (powerpc_opcodes): Add opcodes "lxvd2x", "lxvd2ux", "stxvd2x", "stxvd2ux", "xxmrghd", "xxmrgld", "xxpermdi", "xvmovdp", "xvcpsgndp".
* * dcrt0.cc (dll_crt0_1): Add a symbol denoting return from call to main().Christopher Faylor2008-08-013-3/+18
| | | | | * exceptions.cc (stack_info::walk): Stop walking the stack when we hit _cygwin_exit_return rather than just blindly stopping when PC becomes zero.
* * path.cc (symlink_info::check): Handle (and explain) a special caseCorinna Vinschen2008-07-312-0/+17
| | | | when accessing files matching DOS device names on SMB shares.
* * spawn.cc (spawn_guts): Check constructed short pathname for beingCorinna Vinschen2008-07-312-1/+9
| | | | a DOS device name and fall back to long path name, if so.
* 2008-07-30 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2008-07-3010-8/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sync with gcc: 2008-07-30 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Add makefile fragments for hpux. * Makefile.def (flags_to_pass): Add ADA_CFLAGS. * Makefile.tpl (HOST_EXPORTS): Pass ADA_CFLAGS. * configure: Regenerate. * Makefile.in: Regenerate. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * Makefile.tpl ($(srcdir)/configure): Update dependencies. * Makefile.in: Regenerate. * configure: Regenerate. config: 2008-07-30 Paolo Bonzini <bonzini@gnu.org> * mh-pa: New, from gcc/config/pa/x-ada. * mh-pa-hpux10: New, from gcc/config/pa/x-ada-hpux10. 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org> * tls.m4: Fix typos.
* * fhandler_disk_file.cc (fhandler_base::fstat_by_name): Check forCorinna Vinschen2008-07-304-25/+58
| | | | | | | | | | | | | | | file systems incapable of handling FileIdBothDirectoryInformation correctly. (fhandler_disk_file::opendir): Ditto. * path.cc (fs_info::update): Always clear at the start. Rearrange to make certain tests only on non-Samba, non-NFS remote drives. Add test for file systems known to be incapable of handling FileIdBothDirectoryInformation correctly. Right now that's just "UNIXFS". * path.h (struct fs_info): Add has_buggy_fileid_dirinfo flag and accessor methods. (class path_conv): Add has_buggy_fileid_dirinfo method.
* * sec_auth.cc (extract_nt_dom_user): Return domain and user name asCorinna Vinschen2008-07-304-15/+35
| | | | | | | | WCHAR. (cygwin_logon_user): Accommodate above change. Convert password to WCHAR and call LogonUserW. * external.cc (cygwin_internal): Accommodate above change. * security.h (extract_nt_dom_user): Change prototype accordingly.
* include/opcode/Alan Modra2008-07-302-0/+13
| | | | | | | | | | | | | * ppc.h (PPC_OPCODE_405): Define. (PPC_OPERAND_FSL, PPC_OPERAND_FCR, PPC_OPERAND_UDI): Define. gas/ * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405. (md_show_usage): Likewise. opcodes/ * ppc-dis.c (print_insn_powerpc): Disassemble FSL/FCR/UDI fields. * ppc-opc.c (powerpc_operands): Add Xilinx APU related operands. (insert_sprg, PPC405): Use PPC_OPCODE_405. (powerpc_opcodes): Add Xilinx APU related opcodes.
* * Makefile.in: Link cygcheck with -lntdll even without mingw-zlib.Christopher Faylor2008-07-302-2/+7
|
* * cygwin.din (_getutline): Remove.Christopher Faylor2008-07-306-16/+36
| | | | | | | | | | | | | | * lib/bsdlib.cc (login): Make argument const as per linux. (logout): Ditto. * syscalls.cc (getutid): Ditto. (getutline): Ditto. (pututline): Ditto. (getutxent): Add comment mentioning non-thread-safety. (getutxid): Ditto. (getutxline): Ditto. (pututxline): Ditto. * sys/utmp.h: Declare arguments to various functions as const as per linux. Remove bogus _getutline definition.
* (missing changelog entry)Christopher Faylor2008-07-301-1/+6
| | | | | * include/cygwin/version.h: Add comment indicating that current API number bump also has another consequence.
* * include/cygwin/version.h: Add comment indicating that current API number bumpChristopher Faylor2008-07-291-1/+2
| | | | also has another consequence.
* * Makefile.in (DLL_OFILES): Remove v8 regexp files.Corinna Vinschen2008-07-2913-1622/+26
| | | | | | | | | | | (OBSOLETE_FUNCTIONS): Remove v8 regexp functions. (NEW_FUNCTIONS): Remove POSIX regex functions. * cygwin.din: Export POSIX regex functions with their correct symbol name. Export with posix_ prefix for backward compatibility. * syscalls.cc (regfree): Remove ancient fake function. * regex/regex.h: Remove renaming regex functions within Cygwin. * regexp/*: Remove. * include /cygwin/version,.h: Bump API minor number.
* Replace __mingw_snprintf() with new generic family implementation; likewise, ↵Keith Marshall2008-07-287-1268/+2739
| | | | replace __mingw_vsnprintf().
* Lay foundations for new printf() function family implementation.Keith Marshall2008-07-285-9/+268
|
* * dcrt0.cc (dll_crt0_0): Remove calling malloc_init andChristopher Faylor2008-07-275-47/+46
| | | | | | | | | | | user_shared_initialize_1 from here. (dll_crt0_1): Remove dynamically_loaded check. Just call malloc_init and user_shared_initialize unconditionally. * shared.cc (user_shared_create): Rename from user_shared_initialize. (user_shared_initialize): Rename from user_shared_initialize_1. Move complete user_shared content initialization code here from user_shared_create. * syscalls.cc (seteuid32): Remove call to user_shared_initialize_1. That is implied by the "true" argument to user_shared_create().
* * mount.cc (mount_info::init): Add location where we're looking for fstab toChristopher Faylor2008-07-274-17/+16
| | | | | | | temporary message. * lib/cygwin_crt0.c (cygwin_crt0): Simplify by eliminating accommodations for ancient cygwin DLLs. * lib/crt0.h: Include <windows.h> directly since it is needed.
* * cygcheck.cc (load_cygwin): Free the cygwin dll after we're done with it.Christopher Faylor2008-07-272-26/+32
|
* * shared_info.h (shared_destroy): Declare.Christopher Faylor2008-07-274-1/+22
| | | | | | * shared.cc (shared_destroy): Define new function to destroy shared memory regions. * init.cc (dll_entry): Call shared_destroy when dll detaches from the process.
* * fhandler_socket.cc (fhandler_socket::send_internal): Send never moreCorinna Vinschen2008-07-272-33/+55
| | | | | | | then 64K bytes at once. For blocking sockets, loop until entire data has been sent or an error occurs. (fhandler_socket::sendto): Drop code which sends on 64K bytes. (fhandler_socket::sendmsg): Ditto.
* * fhandler_tty.cc (fhandler_pty_master::setup): Reorganize so that allChristopher Faylor2008-07-262-20/+21
| | | | operations for each end of the pipe are grouped together.
* Support PowerPC single-precision float.Alan Modra2008-07-262-2/+7
|
* * dcrt0.cc (dll_crt0_1): Call malloc_init and user_shared_initialize_1Corinna Vinschen2008-07-262-3/+12
| | | | only in non-dynamically loaded case.
* 2008-07-25 Bo Yang <techrazy@users.sourceforge.net>Chris Sutcliffe2008-07-252-0/+5
| | | | * lib/gdi32.def (SetLayout): Export.
* 2008-07-25 Bo Yang <techrazy@users.sourceforge.net>Chris Sutcliffe2008-07-254-0/+224
| | | | | | | | | | | | | * include/wincrypt.h (struct _CRYPT_KEY_PROV_PARAM, struct _CRYPT_KEY_PROV_INFO, CertGetCertificateContextProperty, CryptEnumKeyIdentifierProperties, CryptAcquireCertificatePrivateKey, CertCreateCertificateContext, CryptGetKeyIdentifierProperty, CertSetCertificateContextProperty, CertCompareCertificateName, CryptSetKeyIdentifierProperty, CertOIDToAlgId, CryptGetDefaultProviderA, CryptGetDefaultProviderW and many corresponding macroes): Define. * lib/crypt32.def (Export the above 11 functions): Export. * include/winerror.h (CRYPT_E_NOT_FOUND and other crypt related macroes): Define.
* * acinclude.m4: Remove libide, libgui, and all the other TclKeith Seitz2008-07-253-1277/+3246
| | | | | functions. * tcl.m4: New file.
* * dcrt0.cc (dll_crt0_0): Call malloc_init and user_shared_initialize_1Corinna Vinschen2008-07-257-24/+79
| | | | | | | | | | | | | | | | | | | here in case we're dynamically loaded. Explain why. (dll_crt0_1): Call user_shared_initialize_1 from here. * mount.cc (is_native_path): New inline function testing for native and long Win32 path prefix. (is_unc_share): Remove long WIn32 path prefix test. (mount_info::create_root_entry): Use PATH_MAX buffer. (mount_info::init): Ditto. (mount_info::add_item): Test for is_native_path as well. * path.cc (normalize_win32_path): Simplify native path prefix code. * shared.cc (user_shared_initialize_1): New function taking user shared initialization code relying on malloc and cygtls. (user_shared_initialize): Move mountinfo initialization to user_shared_initialize_1. * shared_info.h (user_shared_initialize_1): Declare. * syscalls.cc (seteuid32): Call user_shared_initialize_1 after user changed.
* * mount.cc: Remove non-unix-like options (-x,-t,b) throughout.Christopher Faylor2008-07-254-1835/+2600
| | | | | | (oopts): Use boolean constants for slightly increased clarity. * configure.in: Remove apparently unneeded program_transfer_name code. * configure: Regenerate.
* * utils.sgml: Remove useless text.Corinna Vinschen2008-07-252-10/+6
|
* 2008-07-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2008-07-252-0/+17
| | | | | * include/winuser.h (MENUGETOBJECTINFO, MNGO_NOINTERFACE, MNGO_NOERROR, MNGOF_TOPGAP, MNGOF_BOTTOMGAP): Define.
* 2008-07-24 techrazy <techrazy@users.sourceforge.net>Chris Sutcliffe2008-07-252-0/+6
| | | | * include/wingdi.h (OUT_PS_ONLY_PRECIS): Define.
* * mount.cc (mount_info::from_fstab): Change system_printf toCorinna Vinschen2008-07-242-1/+6
| | | | debug_printf on NtOpenFile failure.
* * shared.cc (user_shared_initialize): Fetch potentially changed CygwinCorinna Vinschen2008-07-2410-89/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | username from /etc/passwd before loading mount table. (shared_info::init_installation_root): New function fetching Cygwin's installation root dir and storing as native NT path in global shared memory. (shared_info::initialize): Call init_installation_root exactly once at first startup. * shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info. (CURR_SHARED_MAGIC): Ditto. (class shared_info): Add installation_root member. (shared_info::init_installation_root): Declare. * grp.cc (pwdgrp::read_group): Call pwdgrp::load with native WCHAR path. * passwd.cc (pwdgrp::read_passwd): Ditto. Avoid recursion. (etc::init): Take POBJECT_ATTRIBUTES instead of path_conv. * path.h (etc::init): Change prototype accordingly. * pwdgrp.h (class pwdgrp): Store path as UNICODE_STRING/PWCHAR instead of as path_conv. (pwdgrp::load): Accommodate prototype. * uinfo.cc (pwdgrp::load): Change argument type from char to wchar_t. Create native NT path here instead of calling path_conv. * mount.cc (find_root_from_cygwin_dll): Drop in favor of global initializaion in shared_info. (mount_info::init): Fetch native NT root dir from cygwin_shared. (mount_info::from_fstab): Expect native NT path and use native NT functions to access file. Convert username part in user fstab path according to special char transformation rules. * path.cc (tfx_chars): Convert slash to backslash. (transform_chars): Implement for path given as PWCHAR. (transform_chars): PUNICODE_STRING version calls PWCHAR version. Remove useless commented code.
* 2008-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-07-242-0/+8
| | | | | * libc/include/ctype.h (_ctype_): Restore for C++ backward compatability only.
* * include/lmaccess.h (struct _USER_INFO_4): Define.Corinna Vinschen2008-07-242-1/+51
| | | | | (struct _USER_INFO_23): Define. (struct _GROUP_INFO_3): Define.
* * mkgroup.c (main): Fix test for duplicate domain/machine request.Corinna Vinschen2008-07-233-9/+32
| | | | * mkpasswd.c (main): Ditto.
* * mkgroup.c: Rework to allow per-domain/per-machine id_offset.Corinna Vinschen2008-07-234-166/+192
| | | | | | | | | Add -b option to skip builtin groups. (main): Simplify code. * mkpasswd.c: Rework to allow per-domain/per-machine id_offset. (main): Simplify code. * utils.sgml: Explain changed mkgroup/mkpasswd -d/-D/-l/-L options. Add mkgroup -b option.
* * mkgroup.c: Consolidate variable names.Corinna Vinschen2008-07-234-44/+323
| | | | | | | | | | | | | | | | | | (enum_unix_groups): New function. (print_special): Use LookupAccountSidW instead of LookupAccountSidA. (current_group): Ditto. (usage): Add -U option. (longopts): Add --unix option. (opts): Add -U option. (main): Handle -U option. Call enum_unix_groups if set. * mkpasswd.c: Consolidate variable names. (current_user): Use LookupAccountSidW instead of LookupAccountSidA. (enum_unix_users): New function. (usage): Add -U option. (longopts): Add --unix option. (opts): Add -U option. (main): Handle -U option. Call enum_unix_groups if set. * utils.sgml: Add -U option text to mkgroup and mkpasswd description.
* * spawn.cc (spawn_guts): Fix previous patch for UNC paths.Corinna Vinschen2008-07-232-1/+5
|
* * mkgroup.c (enum_groups): Create full qualified groupname usingCorinna Vinschen2008-07-223-2/+10
| | | | | domain or servername, depending on printing domain or machine accounts. * mkpasswd.c (enum_users): Ditto for users.
* * mkgroup.c (main): Remove special root group code. Only printCorinna Vinschen2008-07-222-24/+22
| | | | SYSTEM group in case of printing local machine or local domain groups.
* Remove erroneous ChangeLog entry.Corinna Vinschen2008-07-221-11/+0
|
* * spawn.cc (spawn_guts): Remove long path prefix from win32 pathCorinna Vinschen2008-07-222-0/+19
| | | | before calling CreateProcess if path length is < MAX_PATH.
* * Makefile.in (cygcheck.exe): Link against ntdll.Corinna Vinschen2008-07-229-928/+925
| | | | | | | | | | | | | | | | | | | | * bloda.cc: Use statically linked functions throughout. * cygpath.cc: Drop 9x considerations. * mkgroup.c: Revamp. Redefine -l and -d options to take optional machine and domain parameters. Redefine -c to work always, using token information. Add -L, -D, -C to create unique groupnames in domain\group syntax. Add -S option to define domain\group separator char. Ignore -u and -s options. * mkpasswd.c: Revamp. Redefine -l and -d options to take optional machine and domain parameters. Redefine -c to work always, using token information. Add -L, -D, -C to create unique usernames in domain\user syntax. Add -S option to define domain\user separator char. Ignore -g and -s options. Prefer to take homedir from $HOME over $HOMEDRIVE/$HOMEPATH. * path.cc (oopts): Add "acl", "noacl", "posix=0" and "posix=1" options. (getmntent): Accomodate throughout. * ps.cc: Fix copyright dates. * utils.sgml: Fix text for mkgroup and mkpasswd.
* * include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.Corinna Vinschen2008-07-222-0/+7
|
* 2008-07-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-07-2113-24/+44
| | | | | | | | | | | | | | | | | | * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one less than the old __ctype_ptr. * libc/ctype/isalnum.c: Use __ctype_ptr__. * libc/ctype/isalpha.c: Ditto. * libc/ctype/iscntrl.c: Ditto. * libc/ctype/isdigit.c: Ditto. * libc/ctype/islower.c: Ditto. * libc/ctype/isprint.c: Ditto. * libc/ctype/ispunct.c: Ditto. * libc/ctype/isspace.c: Ditto. * libc/ctype/isupper.c: Ditto. * libc/ctype/isxdigit.c: Ditto. * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__ and add declaration of __ctype_ptr__. Remove older ctype table pointers from here even though they can still work.
* * Makefile.in (cygcheck.exe): Link against ntdll.Corinna Vinschen2008-07-211-0/+11
| | | | | | | | | | * bloda.cc: link against ntdll functions statically. * cygpath.cc (get_user_folder): Drop 9x code. (print_version): Fix copyright. * mkgroup.c: Remove 9x code. * mkpasswd.c: Ditto. * path.cc (oopts): Add new mount options. * ps.cc: Fix copyright.
* * bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.Luis Machado2008-07-212-0/+6
| | | | | | | | | * bfd/elf.c (elfcore_grok_ppc_vsx): New function. (elfcore_write_ppc_vsx): New function (elfcore_grok_note): Handle VSX notes. (elfcore_write_register_note): Handle VSX notes. * include/elf/common.h: Define NT_PPC_VSX. * binutils/readelf.c (get_note_type): Handle VSX notes.
* * autoload.cc (WNetGetProviderNameA): Define.Corinna Vinschen2008-07-193-34/+101
| | | | | | | | | | | | (WNetGetResourceParentA): Remove. * fhandler_netdrive.cc (struct net_hdls): New structure to keep WNet handles. Stored in dir->__handle throughout. (thread_netdrive): Rewrite to enumerate all servers in all accessible domains and workgroups. (fhandler_netdrive::readdir): Simplify toplevel code. Lowercase all server names in toplevel. (fhandler_netdrive::rewinddir): Close all WNet handles and free net_hdls structure.