]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
16 years ago * mkgroup.c (main): Fix test for duplicate domain/machine request.
Corinna Vinschen [Wed, 23 Jul 2008 20:12:12 +0000 (20:12 +0000)]
* mkgroup.c (main): Fix test for duplicate domain/machine request.
* mkpasswd.c (main): Ditto.

16 years ago * mkgroup.c: Rework to allow per-domain/per-machine id_offset.
Corinna Vinschen [Wed, 23 Jul 2008 18:09:50 +0000 (18:09 +0000)]
* mkgroup.c: Rework to allow per-domain/per-machine id_offset.
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.

16 years ago * mkgroup.c: Consolidate variable names.
Corinna Vinschen [Wed, 23 Jul 2008 11:41:10 +0000 (11:41 +0000)]
* mkgroup.c: Consolidate variable names.
(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.

16 years ago * spawn.cc (spawn_guts): Fix previous patch for UNC paths.
Corinna Vinschen [Wed, 23 Jul 2008 10:17:04 +0000 (10:17 +0000)]
* spawn.cc (spawn_guts): Fix previous patch for UNC paths.

16 years ago * mkgroup.c (enum_groups): Create full qualified groupname using
Corinna Vinschen [Tue, 22 Jul 2008 20:47:14 +0000 (20:47 +0000)]
* mkgroup.c (enum_groups): Create full qualified groupname using
domain or servername, depending on printing domain or machine accounts.
* mkpasswd.c (enum_users): Ditto for users.

16 years ago * mkgroup.c (main): Remove special root group code. Only print
Corinna Vinschen [Tue, 22 Jul 2008 20:12:02 +0000 (20:12 +0000)]
* mkgroup.c (main): Remove special root group code.  Only print
SYSTEM group in case of printing local machine or local domain groups.

16 years agoRemove erroneous ChangeLog entry.
Corinna Vinschen [Tue, 22 Jul 2008 17:31:35 +0000 (17:31 +0000)]
Remove erroneous ChangeLog entry.

16 years ago * spawn.cc (spawn_guts): Remove long path prefix from win32 path
Corinna Vinschen [Tue, 22 Jul 2008 16:59:59 +0000 (16:59 +0000)]
* spawn.cc (spawn_guts): Remove long path prefix from win32 path
before calling CreateProcess if path length is < MAX_PATH.

16 years ago * Makefile.in (cygcheck.exe): Link against ntdll.
Corinna Vinschen [Tue, 22 Jul 2008 14:40:05 +0000 (14:40 +0000)]
* Makefile.in (cygcheck.exe): Link against ntdll.
* 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.

16 years ago * include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.
Corinna Vinschen [Tue, 22 Jul 2008 10:38:18 +0000 (10:38 +0000)]
* include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.

16 years ago2008-07-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 21 Jul 2008 21:28:34 +0000 (21:28 +0000)]
2008-07-21  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

16 years ago * Makefile.in (cygcheck.exe): Link against ntdll.
Corinna Vinschen [Mon, 21 Jul 2008 13:44:42 +0000 (13:44 +0000)]
* Makefile.in (cygcheck.exe): Link against ntdll.
* 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.

16 years ago * bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.
Luis Machado [Mon, 21 Jul 2008 05:33:37 +0000 (05:33 +0000)]
* bfd/elf-bfd.h: Declare elfcore_write_ppc_vsx.
* 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.

16 years ago * autoload.cc (WNetGetProviderNameA): Define.
Corinna Vinschen [Sat, 19 Jul 2008 12:26:09 +0000 (12:26 +0000)]
* autoload.cc (WNetGetProviderNameA): Define.
(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.

16 years ago2008-07-18 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 18 Jul 2008 16:36:22 +0000 (16:36 +0000)]
2008-07-18  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcpy.h: Fix error in previous patch.

16 years ago * fhandler.cc (fhandler_base::open): Rename x to fh. On Samba, always
Corinna Vinschen [Fri, 18 Jul 2008 12:21:22 +0000 (12:21 +0000)]
* fhandler.cc (fhandler_base::open): Rename x to fh.  On Samba, always
create file with NULL security descriptor and set the permissions
afterwards.  Explain why.

16 years ago * cygwinenv.sgml: Move binmode option to list of removed options.
Corinna Vinschen [Fri, 18 Jul 2008 08:17:28 +0000 (08:17 +0000)]
* cygwinenv.sgml: Move binmode option to list of removed options.

16 years ago * environ.cc (known): Remove "binmode" option.
Corinna Vinschen [Fri, 18 Jul 2008 08:16:40 +0000 (08:16 +0000)]
* environ.cc (known): Remove "binmode" option.
* fhandler.cc (binmode): Remove.
(fhandler_base::set_flags): Accommodate binmode removal.
* path.h (path_conv::set_binary): Remove.
* pipe.cc (pipe): Create pipes always as binary pipes.
* winsup.h (binmode): Remove declaration.

16 years ago2008-07-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Jul 2008 20:56:51 +0000 (20:56 +0000)]
2008-07-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
        __STDC_VERSION__ < 199901L and __GNUC__ >= 2.

16 years ago2008-07-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 17 Jul 2008 19:04:26 +0000 (19:04 +0000)]
2008-07-17  Ken Werner  <ken.werner@de.ibm.com>

        * spu/syscalls.c: Check and set the errno value.

16 years ago2008-07-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 17 Jul 2008 19:00:44 +0000 (19:00 +0000)]
2008-07-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcpy.h: Pad null bytes if necessary.

16 years ago * mount.cc (do_mount): Remove MOUNT_ENC code.
Corinna Vinschen [Thu, 17 Jul 2008 15:07:48 +0000 (15:07 +0000)]
* mount.cc (do_mount): Remove MOUNT_ENC code.
(oopts): Remove "managed" option.
(mount_commands): Drop "managed" handling.
* path.cc (oopts): Remove "managed" option.
(getmntent): Remove MOUNT_ENC code.

16 years ago * mount.cc (mount_info::from_fstab_line): Default to binary mount.
Corinna Vinschen [Thu, 17 Jul 2008 14:14:34 +0000 (14:14 +0000)]
* mount.cc (mount_info::from_fstab_line): Default to binary mount.

16 years ago * Revamp documentation for Cygwin 1.7, part 1.
Corinna Vinschen [Thu, 17 Jul 2008 11:49:45 +0000 (11:49 +0000)]
* Revamp documentation for Cygwin 1.7, part 1.

16 years ago * utils.sgml: Add id's to all examples.
Corinna Vinschen [Thu, 17 Jul 2008 10:32:03 +0000 (10:32 +0000)]
* utils.sgml: Add id's to all examples.

16 years ago * path.cc (allow_winsymlinks): Revert default to create system bit
Corinna Vinschen [Wed, 16 Jul 2008 21:08:22 +0000 (21:08 +0000)]
* path.cc (allow_winsymlinks): Revert default to create system bit
symlinks for speed.

16 years ago Add case-sensitivity.
Corinna Vinschen [Wed, 16 Jul 2008 20:20:45 +0000 (20:20 +0000)]
Add case-sensitivity.
Unconditionally handle mount points case-sensitive.
Unconditionally handle virtual paths case-sensitive.
Unconditionally handle registry paths case-insensitive.
Otherwise, accommodate case-sensitivity of given path throughout.
* cygheap.cc (cygheap_root::set): Get additional caseinsensitive
parameter and store it.
* cygheap.h (struct cygheap_root_mount_info): Add member
caseinsensitive.
* dlfcn.cc (get_full_path_of_dll): Drop PC_NOFULL parameter from call
to path_conv::check.
* environ.cc (pcheck_case): Remove.
(check_case_init): Remove.
(known): Drop "check_case" option.
* exceptions.cc (open_stackdumpfile): Add comment.
* fhandler.cc (fhandler_base::get_default_fmode): Call pathmatch
instead of strcasematch.
* fhandler_disk_file.cc: Accommodate case-sensitivity of given path
throughout.
(__DIR_mounts::check_mount): Unconditionally check virtual paths
case-sensitive.
(fhandler_disk_file::link): Drop case clash handling.
(fhandler_disk_file::open): Ditto.
(fhandler_disk_file::readdir_helper): Drop managed mount code.
* mount.cc: Remove managed mount code and datastructures.
(struct opt): Remove "managed" option.  Add "posix=0" and "posix=1"
options.
(fillout_mntent): Remove "managed" output.  Add "posix" output.
* path.cc (struct symlink_info): Remove case_clash member and
case_check method.
(pcheck_case): Remove.
(path_prefix_p): Take additional bool parameter "caseinsensitive".
(pathnmatch): Ditto.
(pathmatch): Ditto.
(mkrelpath): Ditto.
(fs_info::update): Set caseinsensitive flag according to file system
name and FILE_CASE_SENSITIVE_SEARCH flag.  Add comment.
(tfx_chars_managed): Remove.
(transform_chars): Drop "managed" parameter.  Always use tfx_chars.
(get_nt_native_path): Drop "managed" parameter.  Make sure drive letters
are always upper case.
(getfileattr): Change second parameter to denote caseinsensitivity.
(path_conv::check): Initialize caseinsensitive to OBJ_CASE_INSENSITIVE.
Set caseinsensitive according to global obcaseinsensitive flag, file
system case sensitivity and MOUNT_NOPOSIX mount flag.
Drop case_clash and all the related code.
(symlink_worker): Drop case clash handling.
(symlink_info::set): Drop setting case_clash.
(symlink_info::case_check): Remove.
(cwdstuff::set): Add comment.
(etc::init): Take path_conv instead of PUNICODE_STRING as parameter to
allow case sensitivity.
* path.h (enum pathconv_arg): Drop PC_SYM_IGNORE.
(enum case_checking): Remove.
(enum path_types): Drop PATH_ENC, add PATH_NOPOSIX flag.
(struct fs_info): Add caseinsensitive flag and accessor methods.
(class path_conv): Add caseinsensitive member and define
objcaseinsensitive method.  Drop case_clash member and isencoded method.
(pathmatch): Change prototype according to above change.
(pathnmatch): Ditto.
(path_prefix_p): Ditto.
(get_nt_native_path): Ditto.
(class etc): Ditto.
(fnunmunge): Remove prototype.
* shared.cc (shared_info::init_obcaseinsensitive): Initialize
obcaseinsensitive flag from obcaseinsensitive registry value.
(shared_info::initialize): Call init_obcaseinsensitive here by the
first process creating the shared memory.
* shared_info.h (mount_item::fnmunge): Remove.
(shared_info::obcaseinsensitive): Rename from obcaseinsensitivity.
(shared_info::init_obcaseinsensitive): Declare.
* syscalls.cc (try_to_bin): Add comment.
* include/sys/mount.h (MOUNT_ENC): Remove flag.
(MOUNT_NOPOSIX): Add flag.

16 years ago * cyglsa-config: Always create a /bin/cyglsa directory and copy the
Corinna Vinschen [Wed, 16 Jul 2008 19:33:54 +0000 (19:33 +0000)]
* cyglsa-config: Always create a /bin/cyglsa directory and copy the
LSA DLL there.  Register this copy in the registry.

16 years ago * fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
Corinna Vinschen [Tue, 15 Jul 2008 11:42:45 +0000 (11:42 +0000)]
* fhandler_tape.cc (mtinfo::initialize): Remove synchronization stuff.
Just initialize drive data.
* mtinfo.h (MTINFO_MAGIC): Remove.
(MTINFO_VERSION): Remove.
(class mtinfo): Remove magic and version members.
* shared.cc (shared_info::initialize): Move call to
get_session_parent_dir so that the dir creation is only called once.
Move call to mt.initialize so that it's called only by the first
process creating the shared memory.
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add obcaseinsensitivity member.

16 years ago * cyglsa.c: Include ntddk.h again, but only if __MINGW32__ is defined.
Corinna Vinschen [Tue, 15 Jul 2008 09:43:48 +0000 (09:43 +0000)]
* cyglsa.c: Include ntddk.h again, but only if __MINGW32__ is defined.
* cyglsa64.dll: Regenerate.
* make-64bit-version-with-visual-c.bat: Fix comment.

16 years ago * fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
Corinna Vinschen [Mon, 14 Jul 2008 20:46:27 +0000 (20:46 +0000)]
* fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
and _PC_POSIX_SECURITY, return true for NFS, too.

16 years ago Throughout drop allow_ntsec and allow_smbntsec handling.
Corinna Vinschen [Mon, 14 Jul 2008 20:22:03 +0000 (20:22 +0000)]
Throughout drop allow_ntsec and allow_smbntsec handling.
* environ.cc (set_ntsec): Remove.
(set_smbntsec): Remove.
(known): Remove ntsec and smbntsec options.
* external.cc (check_ntsec): Return true if no filename is given.
* mount.cc (oopts): Add "acl" and "noacl" options.  Set MOUNT_NOACL
flag accordingly.
(fillout_mntent): Handle MOUNT_NOACL flag.
* path.h (enum path_types): Add PATH_NOACL.
* security.cc (allow_ntsec): Remove.
(allow_smbntsec): Remove.
* security.h (allow_ntsec): Drop declaration.
(allow_smbntsec): Drop declaration.
* include/sys/mount.h (MOUNT_NOACL): Define.

16 years ago * miscfuncs.cc (cygwin_strncasecmp): Fix bug which results in
Corinna Vinschen [Mon, 14 Jul 2008 19:58:16 +0000 (19:58 +0000)]
* miscfuncs.cc (cygwin_strncasecmp): Fix bug which results in
prematurely truncated strings.  Simplify target length argument to
sys_mbstowcs.

16 years ago * autoload.cc (GetExtendedTcpTable): Define.
Corinna Vinschen [Mon, 14 Jul 2008 15:56:11 +0000 (15:56 +0000)]
* autoload.cc (GetExtendedTcpTable): Define.
* fhandler_socket.cc (address_in_use): Take const struct sockaddr
pointer as argument.  Implement additional AF_INET6 table check.
(fhandler_socket::bind): Drop AF_INET test before calling
address_in_use.
* net.cc (ipv4_getnameinfo): Return EAI_FAMILY instead of 1 if
called with unsupported af_family.

16 years ago * include/iphlpapi.h (GetExtendedTcpTable): Add prototype.
Corinna Vinschen [Mon, 14 Jul 2008 15:55:48 +0000 (15:55 +0000)]
* include/iphlpapi.h (GetExtendedTcpTable): Add prototype.
* include/iprtrmib.h (TCP_TABLE_CLASS, MIB_TCPROW_OWNER_PID,
MIB_TCPTABLE_OWNER_PID, MIB_TCP6ROW_OWNER_PID,
MIB_TCP6TABLE_OWNER_PID): Define.
* lib/iphlpapi.def (GetExtendedTcpTable): Export.

16 years ago * cyglsa.c: Don't include ntddk.h.
Corinna Vinschen [Sun, 13 Jul 2008 13:14:41 +0000 (13:14 +0000)]
* cyglsa.c: Don't include ntddk.h.
(RtlInitEmptyUnicodeString): Use Visual-C compatible "__inline" instead
of "inline".
(uni_alloc): Change second argument to USHORT.
(printf): Move definition of ap to make Visual-C++ happy.
(LsaApLogonUserEx): Compute size of datastructure returned to
LSA on 64 bit systems correctly to avoid heap corruption.
* cyglsa64.dll: Regenerate.
* make-64bit-version-with-visual-c.bat: Accommodate newer Microsoft
toolchains.  Add more comment.
* mslsa.def: Export LsaApLogonUserEx instead of LsaApLogonUser.

16 years agoFix usage of recently fixed Interlocked* functions.
Eric Blake [Sat, 12 Jul 2008 18:09:17 +0000 (18:09 +0000)]
Fix usage of recently fixed Interlocked* functions.

* winbase.h (ilockincr, ilockdecr, ilockexch, ilockcmpexch): Add
volatile qualifier, to match Interlocked* functions.

16 years agoRevert my last change since it has not been approved.
Jie Zhang [Sat, 12 Jul 2008 08:54:12 +0000 (08:54 +0000)]
Revert my last change since it has not been approved.

16 years ago bfd/
Jie Zhang [Fri, 11 Jul 2008 19:24:39 +0000 (19:24 +0000)]
bfd/
* elf.c (_bfd_elf_map_sections_to_segments): Don't put
executable sections into the same segment with other
read only sections if --sep-code.
* elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
(elf32_bfin_data_in_l1): New variable.
(elf32_bfin_final_write_processing): New.
(elf32_bfin_special_sections[]): New.
(elf_backend_final_write_processing): Define.
(elf_backend_special_sections): Define.

binutils/
* readelf.c (get_machine_flags): Deal with Blackfin specific
flags.

include/
* bfdlink.h (struct bfd_link_info): Add sep_code member
variable.
* elf/bfin.h (EF_BFIN_CODE_IN_L1): Define.
(EF_BFIN_DATA_IN_L1): Define.

ld/
* Makefile.am (eelf32bfin.c): Depend on bfin.em.
(eelf32bfinfd.c): Likewise.
* Makefile.in: Regenerate.
* gen-doc.texi: Set Blackfin.
* ld.texinfo: Document --sep-code and Blackfin specific
options.
* ldmain.c (main): Initialize link_info.sep_code.
* lexsup.c (enum option_values): Add OPTION_SEP_CODE.
(ld_options[]): Add --sep-code.
(parse_args): Deal with --sep-code.
* emulparams/bfin.sh (EXTRA_EM_FILE): Define.
* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
* emultempl/bfin.em: New file.

16 years ago * select.cc (peek_pipe): Temporarily revert patch from 2008-05-30.
Corinna Vinschen [Fri, 11 Jul 2008 16:37:29 +0000 (16:37 +0000)]
* select.cc (peek_pipe): Temporarily revert patch from 2008-05-30.

16 years ago * mh-mingw (LDFLAGS): Append to rather than replacing previous
Joseph Myers [Fri, 11 Jul 2008 11:15:59 +0000 (11:15 +0000)]
* mh-mingw (LDFLAGS): Append to rather than replacing previous
value.

16 years ago * cyglsa.c (LsaApLogonUserEx): Accommodate the fact that authinf->domain
Corinna Vinschen [Fri, 11 Jul 2008 10:00:38 +0000 (10:00 +0000)]
* cyglsa.c (LsaApLogonUserEx): Accommodate the fact that authinf->domain
and authinf->username are now of type WCHAR.  Change sam_username and
sam_u size to be deifned in terms of MAX_DOMAIN_NAME_LEN instead of
INTERNET_MAX_HOST_NAME_LENGTH.

16 years ago Change length for domain buffers from INTERNET_MAX_HOST_NAME_LENGTH to
Corinna Vinschen [Fri, 11 Jul 2008 10:00:36 +0000 (10:00 +0000)]
Change length for domain buffers from INTERNET_MAX_HOST_NAME_LENGTH to
MAX_DOMAIN_NAME_LEN throughout.
* cyglsa.h (CYG_LSA_MAGIC): New value.
(cyglsa_t): Define username and domain as WCHAR arrays.
* errno.cc (errmap): Add mapping for ERROR_NONE_MAPPED.
* sec_auth.cc: Drop 'w' prefix from WCHAR string variable names where
appropriate.
(extract_nt_dom_user): Prefer resolving by SID before resolving by
domain\name pair.
(cygwin_logon_user): Don't print cleartext password in debug output.
Change comment.
(get_user_groups): Revert calls to LookupAccountNameW to use NULL
server instead of explicit server name, according to MSDN.
(get_user_local_groups): Ditto.
(get_server_groups): Fetch domain and user name from usersid per
LookupAccountSidW instead of calling extract_nt_dom_user.
(lsaauth): Fetch domain and user name from usersid per LookupAccountSidW
instead of calling extract_nt_dom_user.
* sec_helper.cc (cygpriv): Convert to wchar_t pointer array.
(privilege_luid): Convert first parameter to  PWCHAR.
(privilege_name): Return wchar_t pointer.
(set_privileges): Accommodate debug output.
* security.h (privilege_luid): Change prototype accordingly.

16 years agoinclude/elf/
Richard Sandiford [Thu, 10 Jul 2008 19:05:28 +0000 (19:05 +0000)]
include/elf/
* mips.h (ELF_ST_IS_MIPS16, ELF_ST_SET_MIPS16): New macros.

bfd/
* elfxx-mips.c (mips_elf_check_mips16_stubs): Use ELF_ST_IS_MIPS16.
(mips_elf_calculate_relocation): Likewise.
(_bfd_mips_elf_add_symbol_hook): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise.
(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.

opcodes/
* mips-dis.c (_print_insn_mips): Use ELF_ST_IS_MIPS16.

gas/
* config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
(mips_fix_adjustable): Likewise.
(mips_frob_file_after_relocs): Likewise.

gas/testsuite/
* gas/mips/mips16-vis-1.d, gas/mips/mips16-vis-1.s: New tests.
* gas/mips/mips.exp: Run them.

16 years ago * cyglsa.c: Revamp debugging output.
Corinna Vinschen [Thu, 10 Jul 2008 18:05:03 +0000 (18:05 +0000)]
* cyglsa.c: Revamp debugging output.
(LsaApInitializePackage): Open debugging output file here.
(LsaApLogonUserEx): Replace LsaApLogonUser.  Add debugging output.
Create machine name for accounting.  Add (disabled) code to fetch
a token from GetAuthDataForUser/ConvertAuthDataToToken.
* cyglsa.din: Relace LsaApLogonUser with LsaApLogonUserEx.

16 years ago * cyglsa.h (SECURITY_STRING): Define.
Corinna Vinschen [Thu, 10 Jul 2008 18:01:25 +0000 (18:01 +0000)]
* cyglsa.h (SECURITY_STRING): Define.
(enum _SECPKG_NAME_TYPE): Define.
(struct _SECPKG_CALL_INFO): Define.
(struct _LSA_SECPKG_FUNCS): Extend to full size.  Define unused
functions lazily.
(cygprf_t): Define.
* sec_auth.cc (lsaauth): Use actual primary group if no admins group.
Add (disabled) code to fetch token from profil data.

16 years ago * sec_auth.cc (verify_token): Allow builtin groups missing in a token
Corinna Vinschen [Wed, 9 Jul 2008 15:45:08 +0000 (15:45 +0000)]
* sec_auth.cc (verify_token): Allow builtin groups missing in a token
and it's still valid.  Explain why.

16 years ago * mkgroup.c: Use statically linked functions throughout, except for
Corinna Vinschen [Wed, 9 Jul 2008 14:32:29 +0000 (14:32 +0000)]
* mkgroup.c: Use statically linked functions throughout, except for
DsGetDcNameW.  Reformat.  Convert to use WCHAR for names throughout.
Use defines instead of constants throughout.
(MAX_SID_LEN): Define.
(load_netapi): Just load DsGetDcNameW pointer.
(psx_dir): Remove.
(uni2ansi): Remove.
(enum_local_users): Take server name and use in Net... call.
(DBGSID): Define datastructure.
(MAX_BUILTIN_SIDS): Define.
(builtin_sid_list): Define global sid list.
(builtin_sid_cnt): Define counter for global sid list.
(enum_local_groups): Take server name and use in Net... and Lookup...
calls.  Take offset argument.  Use MAX_PREFERRED_LENGTH in call to
NetLocalGroupEnum.  Check for duplicate builtin groups.
(enum_users): Take server name and use in Net... call.
(usage): Change text slightly.
(print_version): Fix copyright.
(main): Call enum_local_groups for domains as well.
* mkpasswd.c: Use statically linked functions throughout, except for
DsGetDcNameW.  Reformat.  Convert to use WCHAR for names throughout.
Use defines instead of constants throughout.
(MAX_SID_LEN): Define.
(load_netapi): Just load DsGetDcNameW pointer.
(uni2ansi): Use wcstombs.
(current_user): Replace "unused_by_nt/2000/xp" by
just "unused".
(enum_users): Ditto.
(print_version): Fix copyright.

16 years ago * autoload.cc (DsGetDcNameW): Replace DsGetDcNameA.
Corinna Vinschen [Wed, 9 Jul 2008 11:58:38 +0000 (11:58 +0000)]
* autoload.cc (DsGetDcNameW): Replace DsGetDcNameA.
* dcrt0.cc (child_info_spawn::handle_spawn): Drop artificial
supplementary group list from calling setgroups in parent.
* grp.cc (internal_getgroups): Drop 9x-only code.  Reformat.
* sec_auth.cc (get_logon_server): Do everything in WCHAR only.
(get_user_groups): Ditto.  Use wlogonserver in LookupAccountNameW
calls, too.
(is_group_member): Get logon server as first argument and use in call
to NetLocalGroupGetMembers.
(get_user_local_groups): Get logon server as first argument and use in
calls to NetLocalGroupEnum and LookupAccountNameW.  Revamp to work
more correctly in domain environments.
(get_server_groups): Accommodate aforementioned changed function calls.
* security.h (get_logon_server): Change prototype accordingly.
* uinfo.cc (cygheap_user::env_logsrv): Accommodate changed
get_logon_server call.

16 years ago * grp.cc (internal_getgroups): Also add integrity-enabled groups.
Corinna Vinschen [Wed, 9 Jul 2008 09:14:12 +0000 (09:14 +0000)]
* grp.cc (internal_getgroups): Also add integrity-enabled groups.

16 years ago * sec_auth.cc (verify_token): Disable code which returns false if
Corinna Vinschen [Wed, 9 Jul 2008 08:10:25 +0000 (08:10 +0000)]
* sec_auth.cc (verify_token): Disable code which returns false if
the token contains additional groups not requested by setgroups.
Explain why.

16 years ago2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
Jeff Johnston [Tue, 8 Jul 2008 20:36:27 +0000 (20:36 +0000)]
2008-07-08  Kenji Tanaka  <tanaka.ken2@jp.panasonic.com>

        * libc/machine/mn10300/memset.S: Fix bug where return value is
        incorrectly set if number of bytes set is a multiple of 4.

16 years ago * fhandler_socket.cc (fhandler_socket::bind): Don't run explicit
Corinna Vinschen [Tue, 8 Jul 2008 20:12:46 +0000 (20:12 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Don't run explicit
local socket test in SO_REUSEADDR case on systems supporting
enhanced socket security.  Explain why.  Only call address_in_use
for AF_INET sockets.
* net.cc (cygwin_setsockopt): Don't call setsockopt to set SO_REUSEADDR
on systems supporting enhanced socket security.  Add comment.
* wincap.h (wincaps::has_enhanced_socket_security): New element.
* wincap.cc: Implement above element throughout.

16 years ago * net.cc (ipv6_inited): Make NO_COPY.
Corinna Vinschen [Tue, 8 Jul 2008 12:37:44 +0000 (12:37 +0000)]
* net.cc (ipv6_inited): Make NO_COPY.

16 years ago2008-07-07 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Mon, 7 Jul 2008 18:40:13 +0000 (18:40 +0000)]
2008-07-07  Stan Shebs  <stan@codesourcery.com>

    * dis-asm.h (struct disassemble_info): Add endian_code field.

16 years ago * safe-ctype.h: Add #include of ctype.h before redefining
Joel Brobecker [Mon, 7 Jul 2008 17:09:31 +0000 (17:09 +0000)]
    * safe-ctype.h: Add #include of ctype.h before redefining
        the ctype.h macros.

16 years ago2008-07-07 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Mon, 7 Jul 2008 15:51:55 +0000 (15:51 +0000)]
2008-07-07  Hans-Peter Nilsson  <hp@axis.com>

        * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
        (strncpy): Cast src to uintptr_t before checking alignment with "&".

16 years ago2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
Danny Smith [Mon, 7 Jul 2008 07:58:33 +0000 (07:58 +0000)]
2008-07-06  Gregory McGarry   <gregorymcgarry@users.sourceforge.net>

        * include/ctype.h (_imp____mb_cur_max): Correct spelling.
(_imp____mb_cur_max_dll): Likewise.

16 years ago * safe-ctype.h: Remove #error when detecting that ctype.h has been
Joel Brobecker [Fri, 4 Jul 2008 17:11:29 +0000 (17:11 +0000)]
    * safe-ctype.h: Remove #error when detecting that ctype.h has been
        included. Redefine the various macros provided by ctype.h as
        undefined variables.

16 years ago * include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
Danny Smith [Fri, 4 Jul 2008 03:55:50 +0000 (03:55 +0000)]
    * include/stdio.h (swprintf, vswprintf): Guard with  #ifndef __STRICT_ANSI__
        * include/wchar.h (swprintf, vswprintf): Likewise.

16 years ago2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 2 Jul 2008 18:38:45 +0000 (18:38 +0000)]
2008-07-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/argz/argz_count.c: Include stddef.h to get size_t.
        * libc/argz/argz_extract.c: Ditto.
        * libc/argz/argz_stringify.c: Ditto.
        * libc/search/hash.h: Ditto.
        * libc/sys/linux/include/sched.h: Ditto.
        * libc/sys/linux/sys/types.h: Ditto.

16 years ago2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 2 Jul 2008 18:17:48 +0000 (18:17 +0000)]
2008-07-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
        source data is taken care of before loop unrolling.

16 years ago * path.cc (path_conv::is_binary): Fix test. Add comment.
Corinna Vinschen [Wed, 2 Jul 2008 14:00:27 +0000 (14:00 +0000)]
* path.cc (path_conv::is_binary): Fix test.  Add comment.

16 years agoAdd _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80
Keith Marshall [Tue, 1 Jul 2008 22:57:24 +0000 (22:57 +0000)]
Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80

16 years ago* Makefile.in: Temporarily add ability to generate pdfs.
Christopher Faylor [Tue, 1 Jul 2008 17:17:31 +0000 (17:17 +0000)]
* Makefile.in: Temporarily add ability to generate pdfs.

16 years ago* effectively.sgml: Correct subject-verb agreement, missing verb
Christopher Faylor [Fri, 27 Jun 2008 00:34:02 +0000 (00:34 +0000)]
* effectively.sgml: Correct subject-verb agreement, missing verb
(typo), preposition and (definite vs indefinite) article use.

16 years ago2008-06-25 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Wed, 25 Jun 2008 21:21:08 +0000 (21:21 +0000)]
2008-06-25  Brandon Sneed  <nivenh@sourceware.org>

* include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota,
GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead
of 0x0502.
Bug reported by Thomas Denk.

16 years ago2008-06-25 Brandon Sneed <nivenh@sourceware.org>
Brandon Sneed [Wed, 25 Jun 2008 20:53:31 +0000 (20:53 +0000)]
2008-06-25  Brandon Sneed  <nivenh@sourceware.org>

* include/winbase.h (InterlockedIncrement, InterlockedDecrement,
InterlockedCompareExchange, InterlockedExchange,
InterlockedCompareExchangePointer, InterlockedExchangeAdd,
InterlockedExchangePointer): Modified from PLONG to LONG volatile *.

16 years ago Fix strict-aliasing issues with _strtod_r and Storeinc.
Hans-Peter Nilsson [Wed, 25 Jun 2008 01:45:02 +0000 (01:45 +0000)]
Fix strict-aliasing issues with _strtod_r and Storeinc.
* libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
rv, rv0 from double to type U.  Use accessor macros dval, dword0
and dword1 for all accesses except for the ULtod call, where rv.i
replaces the pointer cast.
* libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
of access macros.  Tweak comment.
Remove #ifdef'd YES_ALIAS code.
(dword0, dword1, dval): Define in terms of uncast union member
access.  Ditto for _DOUBLE_IS_32BITS variants.
(Storeinc): Replace aliasing-flawed microoptimized definition with
alternative suggested in comment.  Remove now stale comment.

16 years ago * net.cc (cygwin_bindresvport_sa): Fix usage of last_used_bindresvport.
Corinna Vinschen [Tue, 24 Jun 2008 13:13:44 +0000 (13:13 +0000)]
* net.cc (cygwin_bindresvport_sa): Fix usage of last_used_bindresvport.

16 years agomerge from gcc
DJ Delorie [Tue, 24 Jun 2008 03:01:29 +0000 (03:01 +0000)]
merge from gcc

16 years ago * include/limits.h (PATH_MAX): Add comment.
Corinna Vinschen [Sat, 21 Jun 2008 20:24:45 +0000 (20:24 +0000)]
* include/limits.h (PATH_MAX): Add comment.
* include/cygwin/config.h (__FILENAME_MAX__): Define as 4096.  Add
comment.

16 years ago * libc/include/machine/setjmp.h (_longjmp): Define as function on
Corinna Vinschen [Sat, 21 Jun 2008 18:48:45 +0000 (18:48 +0000)]
* libc/include/machine/setjmp.h (_longjmp): Define as function on
Cygwin.
(_setjmp): Ditto.

16 years agoCommitted as obvious.
Danny Smith [Fri, 20 Jun 2008 03:19:15 +0000 (03:19 +0000)]
Committed as obvious.

* lib/ddk/hal.def (HalTranslateBusAddress): Correct suffix.
* lib/ddk/ntoskrnl.def (MmAllocateContiguousMemory): Correct suffix.
Bug reported by Brian Hawley.

16 years ago* faq-using.xml: Add more words about multiple cygwins.
Christopher Faylor [Fri, 20 Jun 2008 01:46:34 +0000 (01:46 +0000)]
* faq-using.xml: Add more words about multiple cygwins.

16 years ago * fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.
Corinna Vinschen [Thu, 19 Jun 2008 19:50:47 +0000 (19:50 +0000)]
* fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.

16 years ago* strsig.cc (strsignal): Return non-const buffer to allow building with recent
Christopher Faylor [Thu, 19 Jun 2008 00:02:13 +0000 (00:02 +0000)]
* strsig.cc (strsignal): Return non-const buffer to allow building with recent
newlib change.

16 years ago * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.
Ian Lance Taylor [Wed, 18 Jun 2008 23:20:43 +0000 (23:20 +0000)]
* src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.

16 years ago2008-06-18 Ian Lance Taylor <iant@google.com>
Ian Lance Taylor [Wed, 18 Jun 2008 20:06:36 +0000 (20:06 +0000)]
2008-06-18  Ian Lance Taylor  <iant@google.com>

* src-release (BINUTILS_SUPPORT_DIRS): Add depcomp.

16 years agoPer Posix, strsignal returns non-const char*.
Eric Blake [Wed, 18 Jun 2008 15:27:41 +0000 (15:27 +0000)]
Per Posix, strsignal returns non-const char*.

* libc/include/string.h (strsignal): Fix return type.

16 years ago common.h (EM_CR16): Correct value.
Swami Reddy M R [Wed, 18 Jun 2008 11:04:29 +0000 (11:04 +0000)]
  common.h (EM_CR16): Correct value.
  (EM_CR16): Rename to EM_CR16_OLD.

16 years ago common.h (EM_CR16): Correct value.
Swami Reddy M R [Wed, 18 Jun 2008 11:03:03 +0000 (11:03 +0000)]
   common.h (EM_CR16): Correct value.
   (EM_CR16): Rename to EM_CR16_OLD.

16 years ago * configure: Regenerate.
Ralf Wildenhues [Tue, 17 Jun 2008 23:14:40 +0000 (23:14 +0000)]
* configure: Regenerate.

config/
* override.m4: Use m4_version_prereq throughout.
(_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE): Backport from git
Autoconf: output pwd along with fatal errors, so the right
config.log file is hinted at more prominently.
(PARSE_ARGS): Push setting of ac_pwd in this diversion.
(_GCC_AUTOCONF_VERSION): New, define to 2.59 if not defined.
(_GCC_AUTOCONF_VERSION_CHECK): New macro, require use of Autoconf
version _GCC_AUTOCONF_VERSION throughout the tree.
(m4_wrap): New override, fix for Posix semantics of m4wrap.

binutils/
* configure: Regenerate.

opcodes/
* configure: Regenerate.

bfd/
* configure: Regenerate.

gas/
* configure: Regenerate.

gprof/
* configure: Regenerate.

ld/
* config.in: Regenerate.
* configure: Regenerate.

16 years ago * sec_auth.cc (DsGetDcNameA): Drop declaration.
Corinna Vinschen [Tue, 17 Jun 2008 18:54:16 +0000 (18:54 +0000)]
* sec_auth.cc (DsGetDcNameA): Drop declaration.
(DS_FORCE_REDISCOVERY): Drop definition.

16 years ago * include/dsgetdc.h (DS_FORCE_REDISCOVERY, DS_FORCE_REDISCOVERY,
Corinna Vinschen [Tue, 17 Jun 2008 18:53:21 +0000 (18:53 +0000)]
* include/dsgetdc.h (DS_FORCE_REDISCOVERY, DS_FORCE_REDISCOVERY,
DS_DIRECTORY_SERVICE_REQUIRED, DS_DIRECTORY_SERVICE_PREFERRED,
DS_GC_SERVER_REQUIRED, DS_PDC_REQUIRED, DS_BACKGROUND_ONLY,
DS_IP_REQUIRED, DS_KDC_REQUIRED, DS_TIMESERV_REQUIRED,
DS_WRITABLE_REQUIRED, DS_GOOD_TIMESERV_PREFERRED, DS_AVOID_SELF,
DS_ONLY_LDAP_NEEDED, DS_IS_FLAT_NAME, DS_IS_DNS_NAME,
DS_RETURN_DNS_NAME, DS_RETURN_FLAT_NAME): Define.
(DsGetDcNameW, DsGetDcNameA): Declare.
(DsGetDcName): Define.
* lib/netapi32.def (DsGetDcNameA, DsGetDcNameW): Export.

16 years ago2008-06-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Tue, 17 Jun 2008 17:28:20 +0000 (17:28 +0000)]
2008-06-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
        support.

16 years ago2008-06-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Tue, 17 Jun 2008 17:26:54 +0000 (17:26 +0000)]
2008-06-17  Ken Werner  <ken.werner@de.ibm.com>

        * spu/Makefile.in: Add new file.
        * spu/linux_syscalls.c: New file to add Linux syscall support.

16 years ago * app.c (do_scrub_chars): Do not UNGET an EOF value.
Nick Clifton [Tue, 17 Jun 2008 16:01:28 +0000 (16:01 +0000)]
    * app.c (do_scrub_chars): Do not UNGET an EOF value.

        * ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
        macro which does not trigger an array bounds warning in gcc.
        (PUT_SCNHDR_NLNNO): Likewise.
        (GET_SCNHDR_FLAGS): Likewise.
        (PUT_SCNHDR_FLAGS): Likewise.
        (GET_SCNHDR_PAGE): Likewise.
        (PUT_SCNHDR_PAGE): Likewise.

16 years ago* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisible
Christopher Faylor [Tue, 17 Jun 2008 15:38:17 +0000 (15:38 +0000)]
* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisible
since it is required to prevent console flashing.

16 years ago * include/resolv.h (_getshort): Drop declaration.
Corinna Vinschen [Tue, 17 Jun 2008 10:05:28 +0000 (10:05 +0000)]
* include/resolv.h (_getshort): Drop declaration.
(_getlong): Ditto.

16 years ago * configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when
Ralf Wildenhues [Mon, 16 Jun 2008 21:38:13 +0000 (21:38 +0000)]
* configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when
"$@" is still intact with both Autoconf 2.59 and 2.62.
* configure: Regenerate.

16 years ago * Makefile.tpl: Fix comment errors.
Ralf Wildenhues [Mon, 16 Jun 2008 21:30:58 +0000 (21:30 +0000)]
* Makefile.tpl: Fix comment errors.
* Makefile.in: Regenerate.

16 years ago2008-06-16 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 16 Jun 2008 18:54:17 +0000 (18:54 +0000)]
2008-06-16  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
* libc/machine/spu/sys/sched.h: Likewise.
* libc/machine/spu/sys/syscall.h: Likewise.

16 years ago2008-06-16 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 16 Jun 2008 18:51:10 +0000 (18:51 +0000)]
2008-06-16  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/mk_syscalls: Provide .type and .size directives
in generated assembler files.
* libc/machine/spu/fprintf.S: Regenerate.
* libc/machine/spu/fscanf.S: Regenerate.
* libc/machine/spu/printf.S: Regenerate.
* libc/machine/spu/scanf.S: Regenerate.
* libc/machine/spu/snprintf.S: Regenerate.
* libc/machine/spu/sprintf.S: Regenerate.
* libc/machine/spu/sscanf.S: Regenerate.
* libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
and .size directives.
* libc/machine/spu/setjmp.S (setjmp): Likewise.
(longjmp): Likewise.

16 years ago2008-06-16 Corrin Meyer <cjmeyer@gmail.com>
Jeff Johnston [Mon, 16 Jun 2008 18:42:40 +0000 (18:42 +0000)]
2008-06-16  Corrin Meyer  <cjmeyer@gmail.com>

        * m68k/cf-crt1.c[__mcf_family_m1qe]: Don't access CACR.

16 years agoCommitted as obvious.
Danny Smith [Sat, 14 Jun 2008 09:13:38 +0000 (09:13 +0000)]
Committed as obvious.

[mingw-Bugs-1801641]
* include/wchar.h (_wfdopen): Const-ify second arg.
* include/stdio.h (_wfdopen): Likewise.
Thanks to <tdragon at users dot sourceforge net>

16 years agoinclude/opcode/
Peter Bergner [Fri, 13 Jun 2008 20:16:00 +0000 (20:16 +0000)]
include/opcode/
* ppc.h (ppc_cpu_t): New typedef.
(struct powerpc_opcode <flags>): Use it.
(struct powerpc_operand <insert, extract>): Likewise.
(struct powerpc_macro <flags>): Likewise.

gas/
* config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
(ppc_insert_operand): Likewise.
(ppc_machine): Likewise.
* config/tc-ppc.h: #include "opcode/ppc.h"
(struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
(ppc_cpu): Update extern decl.

opcodes/
* ppc-dis.c (print_insn_powerpc): Update prototye to use new
ppc_cpu_t typedef.
(struct dis_private): New.
(POWERPC_DIALECT): New define.
(powerpc_dialect): Renamed to...
(powerpc_init_dialect): This.  Update to use ppc_cpu_t and
struct dis_private.
(print_insn_big_powerpc): Update for using structure in
info->private_data.
(print_insn_little_powerpc): Likewise.
(operand_value_powerpc): Change type of dialect param to ppc_cpu_t.
(skip_optional_operands): Likewise.
(print_insn_powerpc): Likewise.  Remove initialization of dialect.
* ppc-opc.c (extract_bat, extract_bba, extract_bdm, extract_bdp,
extract_bo, extract_boe, extract_fxm, extract_mb6, extract_mbe,
extract_nb, extract_nsi, extract_rbs, extract_sh6, extract_spr,
extract_sprg, extract_tbr insert_bat, insert_bba, insert_bdm,
insert_bdp, insert_bo, insert_boe, insert_fxm, insert_mb6, insert_mbe,
insert_nsi, insert_ral, insert_ram, insert_raq, insert_ras, insert_rbs,
insert_sh6, insert_spr, insert_sprg, insert_tbr): Change the dialect
param to be of type ppc_cpu_t.  Update prototype.

16 years ago * mount.cc (mount_info::get_cygdrive_info): Fix usage of user and
Corinna Vinschen [Fri, 13 Jun 2008 15:22:59 +0000 (15:22 +0000)]
* mount.cc (mount_info::get_cygdrive_info): Fix usage of user and
system arguments.  Strip trailing slash from path for backward
compatibility.

16 years ago * configure.ac (arm*-*-linux-gnueabi): Don't disable building
Julian Brown [Fri, 13 Jun 2008 13:05:13 +0000 (13:05 +0000)]
* configure.ac (arm*-*-linux-gnueabi): Don't disable building
    of libobjc for ARM EABI Linux.
    * configure: Regenerate.

16 years ago * mips.h: Document new field descriptors +Q.
Nick Clifton [Thu, 12 Jun 2008 21:44:53 +0000 (21:44 +0000)]
    * mips.h: Document new field descriptors +Q.
        (OP_SH_SEQI, OP_MASK_SEQI): New bit mask and shift count for SEQI.

opcodes/

        * mips-dis.c (print_insn_args): Handle field descriptor +Q.
        * mips-opc.c (mips_builtin_opcodes): Add Octeon instructions seq,
        seqi, sne and snei.

gas/

        * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
        (mips_ip): Likewise.
        (macro_build): Likewise.
        (CPU_HAS_SEQ): New macro.
        (macro2) <M_SEQ_I, M_SNE_I>: Use it.  Emit seq/sne and seqi/snei.

gas/testsuite/

        * gas/mips/octeon.s, gas/mips/octeon.d: Add tests for seq* and sne*.
        * gas/mips/octeon-ill.s, gas/mips/octeon-ill.s: Add tests for seqi
        and snei.

This page took 0.074225 seconds and 5 git commands to generate.