]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago2006-11-22 Luca Barbato <lu_zero@gentoo.org>
Jeff Johnston [Wed, 22 Nov 2006 21:20:31 +0000 (21:20 +0000)]
2006-11-22  Luca Barbato  <lu_zero@gentoo.org>

        * spu/syscalls.c: Include spu_intrinsics.h to provide vector keyword.

17 years ago2006-11-22 Luca Barbato <lu_zero@gentoo.org>
Jeff Johnston [Wed, 22 Nov 2006 21:19:56 +0000 (21:19 +0000)]
2006-11-22  Luca Barbato  <lu_zero@gentoo.org>

        * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
        * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
        * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
        * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
        * libc/machine/spu/strncat.c: Explicit cast.
        * libc/machine/spu/strncmp.c: Use spu_splats.
        * libc/machine/spu/strncpy.c: Explicit cast.
        * libc/machine/spu/strrchr.c: Use spu_splats.
        * libc/machine/spu/strspn.c: Use spu_splats.

17 years ago * Makefile.in: Add aclocal.m4 to source release.
Danny Smith [Tue, 21 Nov 2006 09:36:00 +0000 (09:36 +0000)]
* Makefile.in: Add aclocal.m4 to source release.

17 years ago * Makefile.in: Add aclocal.m4:to source release.
Danny Smith [Tue, 21 Nov 2006 09:30:15 +0000 (09:30 +0000)]
* Makefile.in:  Add aclocal.m4:to source release.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.

17 years ago2006-11-18 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 18 Nov 2006 22:39:52 +0000 (22:39 +0000)]
2006-11-18  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.8.
        * Makefile.in: Ditto.

17 years ago2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 18 Nov 2006 22:26:49 +0000 (22:26 +0000)]
2006-11-18  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Include/_mingw.h: Increment version to 3.11.
        * Makefile.in: Ditto.

17 years ago2006-11-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Nov 2006 19:18:02 +0000 (19:18 +0000)]
2006-11-17  Jeff Johnston  <jjohnstn@redhat.com>

        * mn10300/Makefile.in: Add spaces after do in "for" loop.

17 years ago2006-11-16 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 17 Nov 2006 10:35:45 +0000 (10:35 +0000)]
2006-11-16  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence.
(unstage): Test for stage_last presence.

PR bootstrap/29802
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Add HOST_SUBDIR in STAGE_PREFIX.
* Makefile.in: Regenerate.

17 years ago2006-11-15 Till Straumann <strauman@slac.stanford.edu>
Jeff Johnston [Wed, 15 Nov 2006 20:10:25 +0000 (20:10 +0000)]
2006-11-15  Till Straumann  <strauman@slac.stanford.edu>

        * libc/time/tzset_r.c (_tzset_r): Initialize local variable.

17 years ago* Makefile.tpl (clean-stage*): Sync with GCC (clean).
DJ Delorie [Tue, 14 Nov 2006 23:26:39 +0000 (23:26 +0000)]
* Makefile.tpl (clean-stage*): Sync with GCC (clean).
* Makefile.in: Sync with GCC.
* configure.in: Sync with GCC (mpfr, gmp).
* configure: Sync with GCC.

17 years ago2006-11-14 Eric Blake <ebb9@byu.net>
Jeff Johnston [Tue, 14 Nov 2006 21:29:26 +0000 (21:29 +0000)]
2006-11-14  Eric Blake  <ebb9@byu.net>

        * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
        (chclass): ' is a flag.  j, t, and z are modifiers.

17 years ago* peXXigen.c: Updates for PE/COFF V8.0, and clarification
Nick Clifton [Tue, 14 Nov 2006 19:03:32 +0000 (19:03 +0000)]
* peXXigen.c: Updates for PE/COFF V8.0, and clarification
  (dir_names): Added CLR Runtime Header to dir_names[].
  (_bfd_XX_print_private_bfd_data_common): Added EFI_ROM and XBOX subsystem names
  (_bfd_XXi_swap_aouthdr_in, _bfd_XXi_swap_aouthdr_out)
  (pe_print_idata, pe_print_edata)
  (_bfd_XX_bfd_copy_private_bfd_data_common)
  (_bfd_XXi_final_link_postscript): Use #DEFINEs for index into DataDirectory.
* pe.h: Added defines for IMAGE_SUBSYSTEM_EFI_ROM and IMAGE_SUBSYSTEM_XBOX.
* internal.h: Added defines for PE directory entry types.
  NB: in internal.h because IMAGE_NUMBEROF_DIRECTORY_ENTRYIES is in pe.h

17 years ago * tls.m4 (GCC_CHECK_TLS): Fall back to a link test.
Daniel Jacobowitz [Tue, 14 Nov 2006 03:32:36 +0000 (03:32 +0000)]
* tls.m4 (GCC_CHECK_TLS): Fall back to a link test.

17 years agoMerge ChangeLog and multi.m4 from GCC repository.
Geoffrey Keating [Tue, 14 Nov 2006 02:04:57 +0000 (02:04 +0000)]
Merge ChangeLog and multi.m4 from GCC repository.

17 years ago2006-11-13 Daniel Schlyder <thrug@users.sourceforge.net>
Danny Smith [Mon, 13 Nov 2006 02:11:45 +0000 (02:11 +0000)]
2006-11-13  Daniel Schlyder  <thrug@users.sourceforge.net>

* include/winnt.h (VER_SUITE_EMBEDDEDNT, VER_SUITE_SINGLEUSERTS,
VER_SUITE_STORAGE_SERVER, VER_SUITE_COMPUTE_SERVER): Define.

* include/winuser.h (SM_STARTER, SM_SERVERR2): Define.

17 years ago2006-11-08 Jie Zhang <jie.zhang@analog.com>
Jeff Johnston [Thu, 9 Nov 2006 16:25:54 +0000 (16:25 +0000)]
2006-11-08  Jie Zhang  <jie.zhang@analog.com>

        * configure.in: Remove target-libgloss from noconfigdirs for
        bfin-*-*.
        * configure: Regenerated.

17 years agoChange Jie Zhang's e-mail address to work address.
Jeff Johnston [Thu, 9 Nov 2006 16:24:43 +0000 (16:24 +0000)]
Change Jie Zhang's e-mail address to work address.

17 years agoChange Jie Zhang's e-mail address to work e-mail.
Jeff Johnston [Thu, 9 Nov 2006 16:24:06 +0000 (16:24 +0000)]
Change Jie Zhang's e-mail address to work e-mail.

17 years ago * autoload.cc (EqualPrefixSid): Define.
Corinna Vinschen [Thu, 9 Nov 2006 15:24:34 +0000 (15:24 +0000)]
* autoload.cc (EqualPrefixSid): Define.
* security.cc (create_token): Drop grps_buf.  Use alloca instead.
Only add the MIC SID to the TOKEN_GROUPS list for the NtCreateToken
call.  If the subauthentication token exists, use its MIC SID.
Set SID Attributes for the MIC SID to 0.

17 years ago [ mingw-Bugs-1590623 ]
Danny Smith [Wed, 8 Nov 2006 21:58:18 +0000 (21:58 +0000)]
[ mingw-Bugs-1590623 ]
* include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
in C99 mode.

17 years ago2006-11-08 Jie Zhang <jzhang918@gmail.com>
Jeff Johnston [Wed, 8 Nov 2006 20:28:29 +0000 (20:28 +0000)]
2006-11-08  Jie Zhang  <jzhang918@gmail.com>

        * configure.in: Remove target-libgloss from noconfigdirs for
        bfin-*-*.
        * configure: Regenerated.

17 years agogas/
H.J. Lu [Wed, 8 Nov 2006 19:56:02 +0000 (19:56 +0000)]
gas/

2006-11-08  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (CpuPNI): Removed.
(CpuUnknownFlags): Replace CpuPNI with CpuSSE3.
* config/tc-i386.c (md_assemble): Likewise.

include/opcode/

2006-11-08  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Replace CpuPNI with CpuSSE3.

17 years ago2006-11-08 Jie Zhang <jzhang918@gmail.com>
Jeff Johnston [Wed, 8 Nov 2006 19:36:56 +0000 (19:36 +0000)]
2006-11-08  Jie Zhang  <jzhang918@gmail.com>

        * bfin/configure.in: New.
        * bfin/crt0.S: New.
        * bfin/Makefile.in: New.
        * bfin/syscalls.c: New.
        * bfin/aclocal.m4: Generate.
        * bfin/configure: Ditto.
        * configure.in: Add support for bfin-*-*.
        * configure: Regenerate.
        * syscall.h (SYS_argc): Define.
        (SYS_argnlen): Define.
        (SYS_argn): Define.

17 years ago2006-11-08 Jie Zhang <jzhang918@gmail.com>
Jeff Johnston [Wed, 8 Nov 2006 19:26:43 +0000 (19:26 +0000)]
2006-11-08  Jie Zhang  <jzhang918@gmail.com>

        * configure.host: Add support for bfin.
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
        * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
        * libc/machine/bfin/aclocal.m4: Generate.
        * libc/machine/bfin/configure.in: New.
        * libc/machine/bfin/configure: Generate.
        * libc/machine/bfin/Makefile.am: New.
        * libc/machine/bfin/Makefile.in: Generate.
        * libc/machine/bfin/setjmp.S: New.
        * libc/machine/bfin/longjmp.S: New.
        * libc/machine/configure.in: Add bfin support.
        * libc/machine/configure: Generate.

17 years ago * sec_helper.cc (sid_auth): Remove.
Corinna Vinschen [Wed, 8 Nov 2006 11:38:05 +0000 (11:38 +0000)]
* sec_helper.cc (sid_auth): Remove.
(well_known_this_org_sid): New well known sid.
(SECURITY_MANDATORY_INTEGRITY_AUTHORITY): Define.
(mandatory_medium_integrity_sid): New well known sid.
(mandatory_high_integrity_sid): Ditto.
(mandatory_system_integrity_sid): Ditto.
(cygsid::get_sid): Use local SID_IDENTIFIER_AUTHORITY.  Allow all
authorities fitting in a UCHAR.
* security.cc (get_token_group_sidlist): Always add the local
group to the token.  Add comment.  Add "This Organization" group
if available in incoming group list.
(get_server_groups): Only add world and authenticated users groups
if not already in list.
(create_token): Add matching mandatory integrity SID to group list
on systems supporting Mandatory Integrity Control.
* security.h (well_known_this_org_sid): Define.
(mandatory_medium_integrity_sid): Define.
(mandatory_high_integrity_sid): Define.
(mandatory_system_integrity_sid): Define.
* wincap.h: Define has_mandatory_integrity_control throughout.
* wincap.cc: Ditto.

17 years ago * fhandler.cc (check_posix_perm): Moved here from syscalls.cc.
Corinna Vinschen [Tue, 7 Nov 2006 17:59:54 +0000 (17:59 +0000)]
* fhandler.cc (check_posix_perm): Moved here from syscalls.cc.
(fhandler_base::fpathconf): New method implementing (f)pathconf.
* fhandler.h (class fhandler_base): Declare fpathconf method.
* path.cc (path_conv::check): Replace MAX_LINK_DEPTH with SYMLOOP_MAX.
* path.h (MAX_LINK_DEPTH): Delete.
* syscalls.cc (check_posix_perm): Move to fhandler.cc.
(fpathconf): Call fhandler's fpathconf method.
(pathconf): Build fhandler and call fhandler's fpathconf method.
* sysconf.cc (sysconf): Reorder switch according to order of flags
in sys/unistd.h.  Add handling for some missing flags.
* include/limits.h: Reorder according to SUSv3 description.  Add some
missing definitions.  Add comments.
* include/sys/syslimits.h: New file overriding newlib's syslimits.h
file.

17 years ago * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
Corinna Vinschen [Tue, 7 Nov 2006 15:33:40 +0000 (15:33 +0000)]
* libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
(_PC_FILESIZEBITS): Add definition.
(_PC_2_SYMLINKS): Ditto.
(_PC_SYMLINK_MAX): Ditto.

17 years ago * dtable.cc (build_fh_pc): Add missing DEV_SD1_MAJOR case (Thanks to
Corinna Vinschen [Mon, 6 Nov 2006 13:46:24 +0000 (13:46 +0000)]
* dtable.cc (build_fh_pc): Add missing DEV_SD1_MAJOR case (Thanks to
Joe Loh for noticing).

17 years ago * path.cc (symlink_info::posixify): Fix comment.
Corinna Vinschen [Thu, 2 Nov 2006 13:39:44 +0000 (13:39 +0000)]
* path.cc (symlink_info::posixify): Fix comment.

17 years ago * path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags.
Corinna Vinschen [Thu, 2 Nov 2006 12:19:16 +0000 (12:19 +0000)]
* path.cc (symlink_info::check): Eliminate PATH_REP bit from pflags.

17 years ago * path.cc (symlink_info::posixify): New mothod converting NT and DOS
Corinna Vinschen [Thu, 2 Nov 2006 11:45:03 +0000 (11:45 +0000)]
* path.cc (symlink_info::posixify): New mothod converting NT and DOS
paths in symlinks to POSIX.
(symlink_info::check_shortcut): Allocate buf allowing for a trailing 0.
Call posixify on the result.
(symlink_info::check_sysfile): Read from file into local buffer.
Eliminate old b16 considerations.  Call posixify on the result.
(symlink_info::check_reparse_point): Don't use PrintName but
SubstituteName which is relevant for Windows' path handling.
Call posixify on the result.

17 years ago * include/winuser.h (LR_DEFAULTSIZE): Remove duplicate.
Danny Smith [Thu, 2 Nov 2006 00:54:46 +0000 (00:54 +0000)]
* include/winuser.h (LR_DEFAULTSIZE): Remove duplicate.

C99 'extern inline' patrol.
* include/winnt.h (GetCurrentFiber): Remove extern declaration.  Make
inline static.
(GetFiberData): Likewise.
* lib/kernel32.c: Remove.
* lib/Makefile.in: Remove reference to kernel32.[co].

17 years ago * security.h (cygpriv_idx): Add privileges new in Vista.
Corinna Vinschen [Wed, 1 Nov 2006 09:00:14 +0000 (09:00 +0000)]
* security.h (cygpriv_idx): Add privileges new in Vista.
* security.cc (sys_privs): Ditto.
* sec_helper.cc (cygpriv): Ditto.  Fix comment.

17 years ago * include/winnt.h (SE_RELABEL_NAME): Define.
Corinna Vinschen [Wed, 1 Nov 2006 08:57:57 +0000 (08:57 +0000)]
* include/winnt.h (SE_RELABEL_NAME): Define.
(SE_INCREASE_WORKING_SET_NAME): Define.
(SE_TIME_ZONE_NAME): Define.
(SE_CREATE_SYMBOLIC_LINK_NAME): Define.

17 years ago2006-10-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 31 Oct 2006 20:21:56 +0000 (20:21 +0000)]
2006-10-30  Paul Brook  <paul@codesourcery.com>

binutils/
* objdump.c (disassemble_section): Set info->symtab_pos.
(disassemble_data): Set info->symtab and info->symtab_size.

include/
* dis-asm.h (disassemble_info): Add symtab, symtab_pos and
symtab_size.

opcodes/
* arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
(get_sym_code_type): New function.
(print_insn): Search for mapping symbols.

17 years ago * cygheap.h (struct user_heap_info): Add slop member.
Corinna Vinschen [Tue, 31 Oct 2006 18:41:16 +0000 (18:41 +0000)]
* cygheap.h (struct user_heap_info): Add slop member.
* heap.cc (heap_init): Add slop factor to heap allocation.  Add
comment.
* mmap.cc (MapViewNT): Allocate memory maps top down.
(fhandler_dev_zero::mmap): Ditto.
* shared.cc (shared_info::heap_slop_size): New method.
(shared_info::heap_chunk_size): Don't use debug_printf at early stage.
* shared_info.h (SHARED_INFO_CB): Accomodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add heap_slop member.  Declare heap_slop_size.
* wincap.h: Define heapslop throughout.
* wincap.cc: Ditto.

17 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
Corinna Vinschen [Tue, 31 Oct 2006 11:40:47 +0000 (11:40 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
directory attribute for reparse points to avoid mistreating.
(fhandler_base::fstat_by_name): Ditto.
* path.cc (symlink_info::check_reparse_point): New method testing
reparse points for symbolic links.
(symlink_info::check_shortcut): Move file attribute tesat to calling
function.
(symlink_info::check): Add handling for reparse points.
* path.h (enum path_types): Add PATH_REP to denote reparse point based
symlinks.
(path_conv::is_rep_symlink): New method.
* syscalls.cc (unlink): Handle reparse points.

17 years ago * include/winnt.h (IO_REPARSE_TAG_SYMLINK): Define.
Corinna Vinschen [Tue, 31 Oct 2006 11:39:58 +0000 (11:39 +0000)]
* include/winnt.h (IO_REPARSE_TAG_SYMLINK): Define.
(struct _REPARSE_DATA_BUFFER): Add missing Flags field to
SymbolicLinkReparseBuffer substructure.

17 years ago* tc-score.c (data_op2): Check invalid operands.
Nick Clifton [Tue, 31 Oct 2006 09:54:41 +0000 (09:54 +0000)]
* tc-score.c (data_op2): Check invalid operands.
  (my_get_expression): Const operand of some instructions can not be symbol in assembly.
  (get_insn_class_from_type): Handle instruction type Insn_internal.
  (do_macro_ldst_label): Modify inst.type.
  (Insn_PIC): Delete.
* score-inst.h (enum score_insn_type): Add Insn_internal.
* tc-score.c (data_op2): The immediate value in lw is 15 bit signed.
* score-dis.c (print_insn): Correct the error code to print correct PCE instruction disassembly.

17 years agobfd/
H.J. Lu [Mon, 30 Oct 2006 23:25:51 +0000 (23:25 +0000)]
bfd/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* elf-bfd.h (elf_obj_tdata): Add symbuf.
(_bfd_elf_section_already_linked): Add struct bfd_link_info *.
(_bfd_elf_check_kept_section): Likewise.
(bfd_elf_match_symbols_in_sections): Likewise.

* elf.c (assign_section_numbers): Updated to add
struct bfd_link_info *.
(bfd_elf_match_symbols_in_sections): Updated. Cache symbol
buffer if info->reduce_memory_overheads is false.

* elflink.c (match_group_member): Updated to add
struct bfd_link_info *.
(_bfd_elf_check_kept_section): Likewise.
(elf_link_input_bfd): Likewise.
(_bfd_elf_section_already_linked): Likewise.
(bfd_elf_final_link): Free symbol buffer if
info->reduce_memory_overheads is false.

* libbfd-in.h (_bfd_nolink_section_already_linked): Add
struct bfd_link_info *.
(_bfd_generic_section_already_linked): Likewise.
* libbfd.h: Regenerated.

* linker.c (bfd_section_already_linked): Add
struct bfd_link_info *.
(_bfd_generic_section_already_linked): Likewise.
* targets.c (bfd_target): Add struct bfd_link_info * to
_section_already_linked.
* bfd-in2.h: Regenerated.

include/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* bfdlink.h (bfd_link_info): Add reduce_memory_overheads.

ld/

2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3111
* ld.h (args_type): Remove reduce_memory_overheads.

* ldlang.c (lang_map): Updated.
(section_already_linked): Likewise.
(print_input_section): Likewise.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.

17 years ago2006-10-29 Daniel Atallah <datallah@users.sourceforge.net>
Danny Smith [Sun, 29 Oct 2006 22:37:10 +0000 (22:37 +0000)]
2006-10-29  Daniel Atallah  <datallah@users.sourceforge.net>

* lib/ws2_32.def (WSANSPIoctl): Add to lib.

17 years agoinclude/elf/
Richard Sandiford [Sat, 28 Oct 2006 10:13:49 +0000 (10:13 +0000)]
include/elf/
* mips.h (R_MIPS_GLOB_DAT): Define
(R_MIPS_max): Bump by 1.

bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Add R_MIPS_GLOB_DAT.
* elfn32-mips.c (elf_mips_howto_table_rel): Likewise.
(elf_mips_howto_table_rela): Likewise.
* elf64-mips.c (mips_elf64_howto_table_rel): Likewise.
(mips_elf64_howto_table_rela): Likewise.

17 years ago2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Fri, 27 Oct 2006 23:02:00 +0000 (23:02 +0000)]
2006-10-27  Joel Schopp  <jschopp@austin.ibm.com>

        * libc/machine/spu/memcpy.c: Override generic function with vectorized
        version optimized for the cell spu.
        * libc/machine/spu/memmove.c: Ditto.
        * libc/machine/spu/memset.c: Ditto.
        * libc/machine/spu/strcat.c: Ditto.
        * libc/machine/spu/strchr.c: Ditto.
        * libc/machine/spu/strcmp.c: Ditto.
        * libc/machine/spu/strcpy.c: Ditto.
        * libc/machine/spu/strcspn.c: Ditto.
        * libc/machine/spu/strlen.c: Ditto.
        * libc/machine/spu/strncat.c: Ditto.
        * libc/machine/spu/strncmp.c: Ditto.
        * libc/machine/spu/strncpy.c: Ditto.
        * libc/machine/spu/strpbrk.c: Ditto.
        * libc/machine/spu/strrchr.c: Ditto.
        * libc/machine/spu/strspn.c: Ditto.
        * libc/machine/spu/strxfrm.c: Ditto.
        * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
        removing altivec style initializers.
        * libc/machine/spu/Makefile.am: Add new files to list so they build
        * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am

17 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Oct 2006 23:00:35 +0000 (23:00 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add spu license.
        * COPYING.LIBGLOSS: Ditto.

17 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Oct 2006 22:57:03 +0000 (22:57 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add spu license.

17 years ago2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Oct 2006 19:22:57 +0000 (19:22 +0000)]
2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>

        * README: Add a brief section on how to regenerate
        configuration files in newlib.

17 years ago * shared.cc (open_shared): Drop useless attempt from 2006-08-11.
Corinna Vinschen [Fri, 27 Oct 2006 10:51:25 +0000 (10:51 +0000)]
* shared.cc (open_shared): Drop useless attempt from 2006-08-11.

17 years ago * dcrt0.cc (__api_fatal): Drop spare argument to __small_sprintf.
Corinna Vinschen [Fri, 27 Oct 2006 10:41:51 +0000 (10:41 +0000)]
* dcrt0.cc (__api_fatal): Drop spare argument to __small_sprintf.
* smallprint.c (__small_vsprintf): Preserve GetLastError value.
* winsup.h (api_fatal): Simplify.  Drop duplicate filename arg.

17 years ago2006-10-26 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 27 Oct 2006 01:02:29 +0000 (01:02 +0000)]
2006-10-26  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/Makefile.in: Fix order for 'all' rule.

17 years ago2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
Jeff Johnston [Wed, 25 Oct 2006 18:46:40 +0000 (18:46 +0000)]
2006-10-25  Vladimir Prus  <vladimir@codesourcery.com>

        * libc/include/math.h: (exception): Add a comment
        telling fixincludes that we handle C vs. C++ issue.

17 years agoNew Cell SPU port.
Alan Modra [Wed, 25 Oct 2006 06:49:18 +0000 (06:49 +0000)]
New Cell SPU port.

17 years agoAdd powerpc cell support.
Alan Modra [Tue, 24 Oct 2006 01:27:28 +0000 (01:27 +0000)]
Add powerpc cell support.

17 years agoFix AMDFAM10 POPCNT instruction
Michael Meissner [Mon, 23 Oct 2006 22:53:28 +0000 (22:53 +0000)]
Fix AMDFAM10 POPCNT instruction

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix comment.
Corinna Vinschen [Mon, 23 Oct 2006 16:41:10 +0000 (16:41 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix comment.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Accomodate
Corinna Vinschen [Mon, 23 Oct 2006 15:13:55 +0000 (15:13 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Accomodate
buggy RestartScan behaviour of Windows 2000.
* wincap.h: Define has_buggy_restart_scan throughout.
* wincap.cc: Ditto.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::facl): Fix whitespace.
Corinna Vinschen [Sun, 22 Oct 2006 19:31:33 +0000 (19:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::facl): Fix whitespace.
* external.cc: Update copyright.
* fhandler.cc: Ditto.
* sec_helper.cc: Ditto.
* security.h: Ditto.
* security.cc: Ditto.
(check_registry_access): Return -1 if W_OK is requested.

17 years ago * external.cc (cygwin_internal): Use security_descriptor::copy method.
Corinna Vinschen [Sun, 22 Oct 2006 14:57:43 +0000 (14:57 +0000)]
* external.cc (cygwin_internal): Use security_descriptor::copy method.
* sec_helper.cc (security_descriptor::malloc): Use own free method.
Set type.
(security_descriptor::realloc): Handle the case that psd has been
allocated using LocalAlloc.  Set type.
(security_descriptor::free): Ditto.
* security.cc (get_nt_attribute): Remove.
(get_reg_security): Remove.
(get_nt_object_security): Use GetSecurityInfo which handles all
securable objects.
(get_nt_object_attribute): Remove.
(get_object_attribute): Call get_nt_object_security instead of
get_nt_object_attribute.
(get_file_attribute): Ditto.
(check_registry_access): Call get_nt_object_security instead of
get_reg_security.
* security.h (cygpsid::operator PSID): Make method const, not the
result.
(class security_descriptor): Add type member.  Accomodate throughout.
(security_descriptor::copy): New method.
(security_descriptor::operator PSECURITY_DESCRIPTOR *): New operator.

17 years ago * fhandler.cc (fhandler_base::fhaccess): Check if opening registry
Corinna Vinschen [Sun, 22 Oct 2006 09:38:47 +0000 (09:38 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Check if opening registry
actually created a handle.  This handles the registry root dir.
* fhandler_registry.cc (fhandler_registry::open): Set io_handle in
case of opening one of the predefined registry keys.

17 years ago * regtool.cc (key_type): Drop.
Corinna Vinschen [Sat, 21 Oct 2006 17:19:29 +0000 (17:19 +0000)]
* regtool.cc (key_type): Drop.
(REG_AUTO): Define.
(value_type): Replace key_type.  Use REG_xxx values directly.
Accomodate change throughout.
(longopts): Add --dword, --dword-le, --none, --qword and --hex options.
(opts): Add -d, -D, -n, -Q and -x options.
(types): Array to convert REG_xxx into strings.
(hex): New variable to keep value of --hex option.
(usage): Accomodate new options.  Print only the necessary by default.
Only be verbose in case of -h/--help option.
(cmd_list): Use key separator from -K option when printing.
Print value type when verbose option is given.  Handle so far not
handled REG_xxx types.
(cmd_set): Avoid SEGV due to missing argument.  Handle so far not
handled REG_xxx types.
(cmd_get): Handle --binary option type agnostic.  Handle so far not
handled REG_xxx types.
(main): Handle new options.

17 years ago * fhandler.cc (fhandler_base::fhaccess): Call check_registry_access
Corinna Vinschen [Sat, 21 Oct 2006 11:05:32 +0000 (11:05 +0000)]
* fhandler.cc (fhandler_base::fhaccess): Call check_registry_access
for registry keys/values if ntsec is on.
* security.cc (check_access): New static function derived from
check_file_access, but object type agnostic.
(check_file_access): Only do file specific stuff.  Call check_access.
(check_registry_access): New access check function for registry keys/
values.
* security.h (check_registry_access): Declare.

17 years ago * fhandler_registry.cc (fhandler_registry::fstat): Set restrictive
Corinna Vinschen [Sat, 21 Oct 2006 10:58:35 +0000 (10:58 +0000)]
* fhandler_registry.cc (fhandler_registry::fstat): Set restrictive
permission and ownership if key can't be opened for reading security.
(open_key): If opening key fails, retry opening with backup intent.

17 years ago * net.cc (cygwin_getnameinfo): Fix typo in comment.
Corinna Vinschen [Fri, 20 Oct 2006 12:57:25 +0000 (12:57 +0000)]
* net.cc (cygwin_getnameinfo): Fix typo in comment.

17 years agoFix score bugs
Nick Clifton [Thu, 19 Oct 2006 15:47:34 +0000 (15:47 +0000)]
Fix score bugs

17 years ago * fhandler.h (fhandler_base::set_name): Make virtual.
Corinna Vinschen [Thu, 19 Oct 2006 10:01:03 +0000 (10:01 +0000)]
* fhandler.h (fhandler_base::set_name): Make virtual.
(class fhandler_registry): Add wow64 and prefix_len members.
Declare set_name method.
* fhandler_proc.cc (PROC_REGISTRY32): Define.
(PROC_REGISTRY64): Define.
(proc_listing): Add "registry32" and "registry64" elements.
(proc_fhandlers): Add corresponding FH_REGISTRY values.
* fhandler_registry.cc (registry_len): Drop static value in favor of
class member prefix_len.  Use preifx_len instead of registry_len
throughout.
(fhandler_registry::set_name): Define.  Set wow64 and prefix_len
according to directory prefix.
(fhandler_registry::fhandler_registry): Set wow64 and prefix_len to
default values.
(open_key): Add wow64 argument.  Handle wow64 in call to RegOpenKeyEx.
Use fhandler_registry member wow64 in this place throughout.

17 years ago * fhandler_proc.cc: Drop superfluous definition of _WIN32_WINNT.
Corinna Vinschen [Thu, 19 Oct 2006 09:15:26 +0000 (09:15 +0000)]
* fhandler_proc.cc: Drop superfluous definition of _WIN32_WINNT.
* miscfuncs.cc: Ditto.
* sched.cc: Ditto.

17 years ago * regtool.cc (longopts): Add --wow32 option.
Corinna Vinschen [Thu, 19 Oct 2006 09:08:44 +0000 (09:08 +0000)]
* regtool.cc (longopts): Add --wow32 option.
(opts): Add -W option.
(usage): Add text for --wow32/-W option.
(main): Handle --wow32/-W option.
* utils.sgml: Document the new -W option.

17 years ago * Fix ChangeLog entry to mention full path of changed file.
Corinna Vinschen [Thu, 19 Oct 2006 08:36:02 +0000 (08:36 +0000)]
* Fix ChangeLog entry to mention full path of changed file.

17 years ago * glob.c: Remove.
Corinna Vinschen [Tue, 17 Oct 2006 17:34:56 +0000 (17:34 +0000)]
* glob.c: Remove.
* glob.cc: New file.  Latest glob version from FreeBSD plus Cygwin
specific changes (__stat64/__stat32, ignore_case_with_glob,
drop collate functions).
(glob3): Return GLOB_ABORTED in case directory is unreadable and
GLOB_ERR is set, as demanded by SUSv3.
* glob.h: Import latest version from FreeBSD.

17 years ago bfd/
Mark Shinwell [Tue, 17 Oct 2006 15:46:21 +0000 (15:46 +0000)]
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Change offset for
R_THM_CALL to 25 and remove FIXME comment.
(using_thumb2): New function.
(elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.

include/
* elf/arm.h: Define TAG_CPU_ARCH_* constants.

ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb1-bl, thumb2-bl,
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests.
* ld-arm/thumb1-bl.d: New.
* ld-arm/thumb1-bl.s: New.
* ld-arm/thumb2-bl-as-thumb1-bad.d: New.
* ld-arm/thumb2-bl-as-thumb1-bad.s: New.
* ld-arm/thumb2-bl-bad.d: New.
* ld-arm/thumb2-bl-bad.s: New.
* ld-arm/thumb2-bl.d: New.
* ld-arm/thumb2-bl.s: New.

17 years ago * winsup.h (WINVER): Define instead of _WIN32_WINNT. Set to 0x0502.
Corinna Vinschen [Tue, 17 Oct 2006 13:55:05 +0000 (13:55 +0000)]
* winsup.h (WINVER): Define instead of _WIN32_WINNT.  Set to 0x0502.
(_NO_W32_PSEUDO_MODIFIERS): Define.

17 years ago2006-10-17 Brooks Moses <bmoses@stanford.edu>
DJ Delorie [Tue, 17 Oct 2006 04:23:49 +0000 (04:23 +0000)]
2006-10-17  Brooks Moses  <bmoses@stanford.edu>
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.

17 years ago * regtool.cc (KEY_WOW64_64KEY): Drop definition. Instead define
Corinna Vinschen [Mon, 16 Oct 2006 19:34:27 +0000 (19:34 +0000)]
* regtool.cc (KEY_WOW64_64KEY): Drop definition.  Instead define
WINVER to 0x0502 before including windows.h.

17 years ago * regtool.cc (KEY_WOW64_64KEY): Define.
Corinna Vinschen [Mon, 16 Oct 2006 18:00:06 +0000 (18:00 +0000)]
* regtool.cc (KEY_WOW64_64KEY): Define.
(longopts): Add --wow64 option.
(opts): Add -w option.
(wow64): New variable to control usage of KEY_WOW64_64KEY access flag.
(usage): Add text for --wow64/-w option.
(print_version): Fix copyright.
(find_key): Use wow64 value in calls to RegOpenKeyEx and RegCreateKeyEx.
(cmd_add): Use wow64 value in call to RegCreateKeyEx.
(regDeleteKeyEx): New function pointer to load RegDeleteKeyEx function
dynamically.
(cmd_remove): Load and use regDeleteKeyEx when wow64 is set.
(main): Handle --wow64/-w option.
* utils.sgml: Document the new -w option.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant
Corinna Vinschen [Mon, 16 Oct 2006 13:11:29 +0000 (13:11 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant
access check.

17 years ago * include/asm/byteorder.h: Fix copyright dates.
Corinna Vinschen [Mon, 16 Oct 2006 12:34:34 +0000 (12:34 +0000)]
* include/asm/byteorder.h: Fix copyright dates.
Fix typos in ChangeLog.

17 years ago Fix pathnames.
Corinna Vinschen [Mon, 16 Oct 2006 12:31:19 +0000 (12:31 +0000)]
Fix pathnames.

17 years ago * autoload.cc (PrivilegeCheck): Define.
Corinna Vinschen [Mon, 16 Oct 2006 12:26:59 +0000 (12:26 +0000)]
* autoload.cc (PrivilegeCheck): Define.
* fhandler.cc (fhandler_base::open): Always try opening with backup
resp. restore intent.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Always try
opening with backup intent.
(fhandler_disk_file::readdir): Ditto when trying to retrieve file id
explicitely.
* security.cc (check_file_access): Replace pbuf with correctly
PPRIVILEGE_SET typed pset.  Check explicitely for backup and/or restore
privileges when AccessCheck fails, to circumvent AccessCheck
shortcoming.  Add comment to explain.

17 years ago* winsup.h: Turn off DEBUGGING.
Christopher Faylor [Fri, 13 Oct 2006 12:49:18 +0000 (12:49 +0000)]
* winsup.h: Turn off DEBUGGING.

17 years ago * Makefile.in (CFLAGS): Drop -nostdinc.
Corinna Vinschen [Fri, 13 Oct 2006 11:55:05 +0000 (11:55 +0000)]
* Makefile.in (CFLAGS): Drop -nostdinc.
* cygsuba.c: Reorder includes to allow building with VC++.
* make-64bit-version-with-visual-c.bat: New file.

17 years ago * autoload.cc (Wow64DisableWow64FsRedirection): Define.
Corinna Vinschen [Fri, 13 Oct 2006 11:10:28 +0000 (11:10 +0000)]
* autoload.cc (Wow64DisableWow64FsRedirection): Define.
(Wow64RevertWow64FsRedirection): Define.
* security.cc (cygsuba_installed): New shared variable to store result
of cygsuba.dll installation test.
(subauth): Check if cygsuba.dll has been installed and registered
before issuing the (sub)authentication.

17 years ago * security.cc (create_token): Fix condition for source identifier.
Corinna Vinschen [Thu, 12 Oct 2006 15:38:26 +0000 (15:38 +0000)]
* security.cc (create_token): Fix condition for source identifier.

17 years ago * include/winuser.h (LR_DEFAULTSIZE, LR_VGACOLOUR): Define.
Danny Smith [Thu, 12 Oct 2006 04:25:56 +0000 (04:25 +0000)]
* include/winuser.h (LR_DEFAULTSIZE, LR_VGACOLOUR): Define.

17 years ago2006-10-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 11 Oct 2006 19:30:34 +0000 (19:30 +0000)]
2006-10-11  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.

17 years ago2006-10-11 Yang Tse <yangsita@gmail.com>
Jeff Johnston [Wed, 11 Oct 2006 19:20:31 +0000 (19:20 +0000)]
2006-10-11  Yang Tse  <yangsita@gmail.com>

        * setjmp.h: Use __extension__ keyword for gcc's braced-groups.

17 years ago * select.cc (struct socketinf): Convert ser_num and w4 to dynamically
Corinna Vinschen [Wed, 11 Oct 2006 16:21:12 +0000 (16:21 +0000)]
* select.cc (struct socketinf): Convert ser_num and w4 to dynamically
allocated arrays.  Add max_w4 member to keep track.
(thread_socket): Make timeout depending on number of sockets to wait
for.  Loop WFMO over all sockets.
(start_thread_socket): Handle any number of sockets.  Fix typo.  Don't
close socket event in out of memory condition.
(socket_cleanup): Free ser_num and w4.

17 years ago * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
Corinna Vinschen [Wed, 11 Oct 2006 08:04:50 +0000 (08:04 +0000)]
* libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.

17 years ago2006-10-10 Thiemo Seufer <ths@mips.com>
Jeff Johnston [Tue, 10 Oct 2006 18:27:56 +0000 (18:27 +0000)]
2006-10-10  Thiemo Seufer  <ths@mips.com>

        * mips/Makefile.in: Add INCLUDES to local compile rules.

17 years agoRemoved.
Jeff Johnston [Tue, 10 Oct 2006 15:52:39 +0000 (15:52 +0000)]
Removed.

17 years ago * path.cc (path_conv::get_nt_native_path): Properly detect \\?\ paths.
Corinna Vinschen [Mon, 9 Oct 2006 14:01:52 +0000 (14:01 +0000)]
* path.cc (path_conv::get_nt_native_path): Properly detect \\?\ paths.
(mount_info::conv_to_win32_path): Update comment.
* fhandler_disk_file.cc (path_conv::ndisk_links): Use backslashes
to make NT kernel functions work for \\?\GLOBALROOT paths.

17 years ago * devices.in: Raise number of handled serial ports to 64.
Corinna Vinschen [Mon, 9 Oct 2006 08:27:23 +0000 (08:27 +0000)]
* devices.in: Raise number of handled serial ports to 64.
* devices.cc: Regenerate.

17 years ago.
Christopher Faylor [Fri, 6 Oct 2006 22:32:09 +0000 (22:32 +0000)]
.

17 years ago2006-10-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 6 Oct 2006 20:34:49 +0000 (20:34 +0000)]
2006-10-06  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.in: Add CFLAGS_FOR_TARGET and CCASFLAGS to
        FLAGS_TO_PASS.

17 years ago * cygcheck.cc (get_word, get_dword): Move to path.cc.
Corinna Vinschen [Thu, 5 Oct 2006 17:24:13 +0000 (17:24 +0000)]
* cygcheck.cc (get_word, get_dword): Move to path.cc.
(LINK_EXTENSION): New macro.
(check_existence): New static function.
(find_on_path): Check for symbolic links if asked.
(dll_info): New error handling.
(track_down): Only call dll_info() for executables, display
an error for symlinks, and print magic number for others.
(find_app_on_path): New static function.
(cygcheck, dump_sysinfo): Call find_app_on_path() instead of
find_on_path().
* path.cc (cmp_shortcut_header): New static function.
(get_word, get_dword): Moved from cygcheck.cc.
(EXE_MAGIC, SHORTCUT_MAGIC, SYMLINK_COOKIE, SYMLINK_MAGIC): New
macros.
(is_exe, is_symlink, readlink): New functions.
* path.h (is_exe, is_symlink, readlink): Declare.
(get_word, get_dword): Ditto.

17 years ago * include/winreg.h (RegDeleteKeyEx{A|W}): Add prototype and UNICODE
Danny Smith [Thu, 5 Oct 2006 07:36:06 +0000 (07:36 +0000)]
* include/winreg.h (RegDeleteKeyEx{A|W}): Add prototype and UNICODE
mappings.
(KEY_WOW64_32KEY, KEY_WOW64_64KEY): Define.
* lib/advapi.def (RegDeleteKeyEx{A|W}): Export.

17 years ago * Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
Corinna Vinschen [Wed, 4 Oct 2006 12:52:42 +0000 (12:52 +0000)]
* Makefile.in: Semi-revert semi-reversion of 2006-08-30 change, now
correctly parenthesized.

17 years ago * include/winnt.h (CASSERT): Define.
Danny Smith [Wed, 4 Oct 2006 08:57:27 +0000 (08:57 +0000)]
* include/winnt.h (CASSERT): Define.

[mingw-Bugs-1568067]
* include/winuser.h: (DISP_CHANGE_BADDUALVIEW): Define.
* include/wingdi.h: (DM_POSITION): Define.

17 years ago2006-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 3 Oct 2006 16:33:50 +0000 (16:33 +0000)]
2006-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * arm/linux-syscalls0.c: Rewrite bx insn architecture flag check         to avoid use of __ARM_ARCH__.

17 years ago * lib/rpcrt4.def: Remove "_imp__"-prefixed export symbols.
Danny Smith [Tue, 3 Oct 2006 08:43:40 +0000 (08:43 +0000)]
* lib/rpcrt4.def: Remove "_imp__"-prefixed export symbols.
* lib/user32.def: Likewise.

17 years ago2006-10-02 Nick Clifton <nickc@redhat.com>
Jeff Johnston [Mon, 2 Oct 2006 19:57:46 +0000 (19:57 +0000)]
2006-10-02  Nick Clifton  <nickc@redhat.com>

        * arm/linux-syscalls0.c: Add arm architecture flag
        checks around bx insn.

17 years ago * tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
Tom Tromey [Mon, 2 Oct 2006 18:03:18 +0000 (18:03 +0000)]
* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.

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