]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago* Makefile.in: Revert erroneous checkin.
Christopher Faylor [Wed, 26 Nov 2008 16:40:29 +0000 (16:40 +0000)]
* Makefile.in: Revert erroneous checkin.
* Makefile.common: Tweak to work better with new utils/mingw front-end.

15 years ago * passwd.c (longopts): Add --reg-store-pwd option.
Corinna Vinschen [Wed, 26 Nov 2008 10:19:09 +0000 (10:19 +0000)]
* passwd.c (longopts): Add --reg-store-pwd option.
(opts): Add -R option.
(usage): Add text for -R/--reg-store-pwd option.
(main): Fix size of local user and password string arrays.
Handle -R option.
* utils.sgml: Add text for passwd -R/--reg-store-pwd option.

15 years ago * Makefile.in (OBJS): Add setpwd.o.
Corinna Vinschen [Wed, 26 Nov 2008 10:18:53 +0000 (10:18 +0000)]
* Makefile.in (OBJS): Add setpwd.o.
* README: Explain new service to store passwords in the LSA registry
area.
* bsd_helper.cc (get_token_info): Make externally available.
* bsd_helper.h (get_token_info): Declare.
* client.cc (client_request::handle_request): Add case for
CYGSERVER_REQUEST_SETPWD request.
* setpwd.cc: New file implementing the CYGSERVER_REQUEST_SETPWD
request.

15 years ago * Makefile.in (DLL_OFILES): Add setlsapwd.o.
Corinna Vinschen [Wed, 26 Nov 2008 10:18:10 +0000 (10:18 +0000)]
* Makefile.in (DLL_OFILES): Add setlsapwd.o.
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
(request_code_t): Define CYGSERVER_REQUEST_SETPWD request type.
* cygserver_msg.h (client_request_msg::retval): Use default value of -1
for retval if msglen is 0.
* cygserver_sem.h (client_request_sem::retval): Ditto.
* cygserver_shm.h (client_request_shm::retval): Ditto.
* cygserver_setpwd.h: New file.
* external.cc (cygwin_internal): Implement new CW_SET_PRIV_KEY type.
* sec_auth.cc (open_local_policy): Make externally available.
Get ACCESS_MASK as argument.
(create_token): Accommodate change to open_local_policy.
(lsaauth): Ditto.
(lsaprivkeyauth): New function fetching token by retrieving
password stored in Cygwin or Interix LSA private data area and
calling LogonUser with it.
* security.h (lsaprivkeyauth): Declare.
(open_local_policy): Declare.
* setlsapwd.cc: New file implementing setting LSA private data password
using LsaStorePrivateData or by calling cygserver if available.
* syscalls.cc (seteuid32): Add workaround to get the original token
when switching back to the original privileged user, even if
setgroups group list is still active.  Add long comment to explain why.
Call lsaprivkeyauth first, only if that fails call lsaauth or
create_token.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_SET_PRIV_KEY.

15 years agoinclude/
Alan Modra [Wed, 26 Nov 2008 01:04:12 +0000 (01:04 +0000)]
include/
PR 7047
* bfdlink.h (struct bfd_elf_version_expr): Delete "symbol".
Add "literal".
bfd/
PR 7047
* configure.in: Bump version.
* configure: Regenerate.
* elflink.c (_bfd_elf_link_assign_sym_version): Continue matching
against version nodes when a global match is a wildcard.  Similarly
continue matching on local wildcard matches, rather than only
continuing for "*".  Have any global wildcard match override a
local wildcard match.  Correct logic hiding unversioned symbol.
(bfd_elf_size_dynamic_sections): Update for changes to struct
bfd_elf_version_expr.
ld/
PR 7047
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update
for changes to struct bfd_elf_version_expr.
* ldlang.c (lang_vers_match, version_expr_head_hash): Likewise.
(version_expr_head_eq, lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(lang_new_vers_pattern): Likewise.  Ensure "literal" is set when
no glob chars found in "pattern".
(realsymbol): Correct backslash quote logic.
* ld.texinfo (VERSION): Warn about global wildcards.

15 years ago* overview2.sgml: Reorganize and make minor wording changes.
Christopher Faylor [Tue, 25 Nov 2008 16:39:58 +0000 (16:39 +0000)]
* overview2.sgml: Reorganize and make minor wording changes.

15 years ago* overview2.sgml: Clarify unix-specific automatic updates section.
Christopher Faylor [Tue, 25 Nov 2008 16:20:30 +0000 (16:20 +0000)]
* overview2.sgml: Clarify unix-specific automatic updates section.

15 years ago * overview2.sgml: Add text that no automatic updates are provided.
Corinna Vinschen [Tue, 25 Nov 2008 09:54:50 +0000 (09:54 +0000)]
* overview2.sgml: Add text that no automatic updates are provided.

15 years ago * libc/stdio/gets.c (_gets_r): Lock stdin here and call
Corinna Vinschen [Tue, 25 Nov 2008 09:33:43 +0000 (09:33 +0000)]
* libc/stdio/gets.c (_gets_r): Lock stdin here and call
__sgetc_r instead of _getchar_r.

15 years ago * cris.h (R_CRIS_32_TPREL): Correct comment.
Hans-Peter Nilsson [Tue, 25 Nov 2008 03:08:13 +0000 (03:08 +0000)]
* cris.h (R_CRIS_32_TPREL): Correct comment.
(R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry.

15 years ago2008-11-24 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 24 Nov 2008 22:08:02 +0000 (22:08 +0000)]
2008-11-24  Craig Howland  <howland@LGSInnovations.com>

        * libc/stdlib/wcstoull_r.c:  Add EINVAL return for bad base value,
        include wchar.h for prototype, remove extraneous includes, use
        C99/POSIX ULLONG_MAX (but allow for poor limits.h).
        * libc/stdlib/wcstoull.c:  Fix usage comments (mistakes and to add
        base value check noted above), remove extraneous includes.
        * libc/stdio/asnprintf.c:  Add #include "local.h" to get function
        prototype for _svfprintf_r().
        * libc/stdio/vasnprintf.c:  Ditto.
        * libc/stdio/local.h:  Add function prototype for __submore().
        * libc/include/stdio.h:  Add function prototypes for _fseeko_r and
        _ftello_r.
        * libc/posix/namespace.h:  Commented out define for write to
        eliminate write() prototype being missing for collate.c (which is
        the only file that presently includes namespace.h).
        * libc/include/reent.h:  Added _rename_r.
        * libc/reent/renamer.c:  Corrected function prototypes in synopses.
        * libc/locale/ldpart.c:  Use struct stat64 when calling fstat64.

15 years ago2008-11-24 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 24 Nov 2008 21:27:33 +0000 (21:27 +0000)]
2008-11-24  Craig Howland  <howland@LGSInnovations.com>

        * libc/stdlib/wcstoull_r.c:  Add EINVAL return for bad base value,
        include wchar.h for prototype, remove extraneous includes, use
        C99/POSIX ULLONG_MAX (but allow for poor limits.h).
        * libc/stdlib/wcstoull.c:  Fix usage comments (mistakes and to add
        base value check noted above), remove extraneous includes.
        * libc/stdio/asnprintf.c:  Add #include "local.h" to get function
        prototype for _svfprintf_r().
        * libc/stdio/vasnprintf.c:  Ditto.
        * libc/stdio/local.h:  Add function prototype for __submore().
        * libc/include/stdio.h:  Add function prototypes for _fseeko_r and
        _ftello_r.
        * libc/posix/namespace.h:  Commented out define for write to
        eliminate write() prototype being missing for collate.c (which is
        the only file that presently includes namespace.h).
        * libc/include/reent.h:  Added _rename_r.
        * libc/reent/renamer.c:  Corrected function prototypes in synopses.
        * libc/locale/ldpart.c:  Use struct stat64 when calling fstat64.

15 years ago2008-11-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 24 Nov 2008 21:16:06 +0000 (21:16 +0000)]
2008-11-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/search/hash_func.c: Comment out unused static hash functions.
        * libc/reent/stat64r.c: New file.
        * libc/reent/Makefile.am: Add stat64r.c support.
        * libc/reent/Makefile.in: Regenerated.

15 years agoFix typo.
Jeff Johnston [Mon, 24 Nov 2008 21:14:29 +0000 (21:14 +0000)]
Fix typo.

15 years ago2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Mon, 24 Nov 2008 20:42:33 +0000 (20:42 +0000)]
2008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/posix/scandir.c: Fix memory leaks.

15 years ago2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Mon, 24 Nov 2008 20:11:42 +0000 (20:11 +0000)]
2008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/posix/Makefile.am: Compile readdir_r.c
        * libc/posix/Makefile.in: Regenerated.

15 years ago * libc/include/stdio.h (__SMOD): Remove definition of unused flag.
Corinna Vinschen [Mon, 24 Nov 2008 17:15:43 +0000 (17:15 +0000)]
* libc/include/stdio.h (__SMOD): Remove definition of unused flag.
* libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
* libc/stdio/findfp.c (std): Initialize _flags2.
(__sfp): Ditto.
* libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
* libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
* libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
* libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.

15 years ago2008-11-21 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Fri, 21 Nov 2008 22:13:32 +0000 (22:13 +0000)]
2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * xtensa-isa.c (xtensa_state_is_shared_or): New function.

2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag.
        * xtensa-isa.h (xtensa_state_is_shared_or): New prototype.

2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
        xtensa_state_is_shared_or to allow multiple opcodes within a
        single FLIX bundle to write to these special states.

15 years ago * fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Drop
Corinna Vinschen [Fri, 21 Nov 2008 13:46:17 +0000 (13:46 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Drop
initialization of bytes_to_read.  Set bytes_to_read to len in
non-buffered case.  Call read_bytes correctly with bytes_to_read
instead of len.

15 years ago * mmap.cc (MapView): Add NT status to debug output.
Corinna Vinschen [Fri, 21 Nov 2008 10:52:10 +0000 (10:52 +0000)]
* mmap.cc (MapView): Add NT status to debug output.

15 years ago2008-11-20 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 20 Nov 2008 20:23:24 +0000 (20:23 +0000)]
2008-11-20  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
        be in sync with current kernels.

15 years ago2008-11-20 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 20 Nov 2008 20:20:51 +0000 (20:20 +0000)]
2008-11-20  Ken Werner  <ken.werner@de.ibm.com>
            Patrick Mansfield  <patmans@us.ibm.com>
            Joel Schopp   <jschopp@austin.ibm.com>

        * libc/machine/spu/configure.in: Add __ea detection.
        * libc/machine/spu/Makefile.am: Add new files.
        * libc/machine/spu/include/ea.h: New file.
        * libc/machine/spu/ea_internal.h: Likewise.
        * libc/machine/spu/sys/mman.h: Likewise.
        * libc/machine/spu/mmap_ea.c: Likewise.
        * libc/machine/spu/munmap_ea.c: Likewise.
        * libc/machine/spu/mremap_ea.c: Likewise.
        * libc/machine/spu/msync_ea.c: Likewise.
        * libc/machine/spu/memchr_ea.c: Likewise.
        * libc/machine/spu/memcmp_ea.c: Likewise.
        * libc/machine/spu/memcpy_ea.c: Likewise.
        * libc/machine/spu/memmove_ea.c: Likewise.
        * libc/machine/spu/memset_ea.c: Likewise.
        * libc/machine/spu/malloc_ea.c: Likewise.
        * libc/machine/spu/realloc_ea.c: Likewise.
        * libc/machine/spu/calloc_ea.c: Likewise.
        * libc/machine/spu/free_ea.c: Likewise.
        * libc/machine/spu/posix_memalign_ea.c: Likewise.
        * libc/machine/spu/strcat_ea.c: Likewise.
        * libc/machine/spu/strchr_ea.c: Likewise.
        * libc/machine/spu/strcmp_ea.c: Likewise.
        * libc/machine/spu/strcpy_ea.c: Likewise.
        * libc/machine/spu/strcspn_ea.c: Likewise.
        * libc/machine/spu/strlen_ea.c: Likewise.
        * libc/machine/spu/strncat_ea.c: Likewise.
        * libc/machine/spu/strncmp_ea.c: Likewise.
        * libc/machine/spu/strncpy_ea.c: Likewise.
        * libc/machine/spu/strpbrk_ea.c: Likewise.
        * libc/machine/spu/strrchr_ea.c: Likewise.
        * libc/machine/spu/strspn_ea.c: Likewise.
        * libc/machine/spu/strstr_ea.c: Likewise.
        * libc/machine/spu/read_ea.c: Likewise.
        * libc/machine/spu/pread_ea.c: Likewise.
        * libc/machine/spu/readv_ea.c: Likewise.
        * libc/machine/spu/write_ea.c: Likewise.
        * libc/machine/spu/pwrite_ea.c: Likewise.
        * libc/machine/spu/writev_ea.c: Likewise.

15 years ago2008-11-20 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 20 Nov 2008 20:12:34 +0000 (20:12 +0000)]
2008-11-20  Ken Werner  <ken.werner@de.ibm.com>
            Patrick Mansfield  <patmans@us.ibm.com>
            Joel Schopp   <jschopp@austin.ibm.com>

        * spu/Makefile.in: Add new files.
        * spu/jsre.h: Add JSRE_MMAP, JSRE_MREMAP, JSRE_MSYNC and
        JSRE_MUNMAP opcodes.
        * spu/mmap_eaddr.c: New File.
        * spu/mremap_eaddr.c: Likewise.
        * spu/msync_eaddr.c: Likewise.
        * spu/munmap_eaddr.c: Likewise.

15 years ago2008-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Wed, 19 Nov 2008 21:05:31 +0000 (21:05 +0000)]
2008-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/include/sys/config.h[__mips__]: Don't bother
        setting __ATTRIBUTE_IMPURE_PTR__ here.
        [__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
        macro anymore.

15 years ago2008-11-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Nov 2008 20:56:22 +0000 (20:56 +0000)]
2008-11-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/bits/dirent.h: New header file.
        * libc/sys/linux/sys/dirent.h: Include <bits/dirent.h> instead of
        <linux/dirent.h>.
        * libc/posix/Makefile.am: Remove reallocf.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/reallocf.c: Moved to...
        * libc/stdlib/reallocf.c: Here
        * libc/stdlib/malloc.c: Add reallocf documentation.
        * libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
        * libc/stdlib/Makefile.am: Add reallocf.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/posix/_isatty.c: Set errno.

15 years ago2008-11-19 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Wed, 19 Nov 2008 20:04:09 +0000 (20:04 +0000)]
2008-11-19  Craig Howland  <howland@LGSInnovations.com>

        * libc/unix/collate.c (__collate_err): simplify to remove unnecessary
        strdup() and strlen() calls, also getting rid of a compiler warning.

15 years ago2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 19 Nov 2008 19:48:31 +0000 (19:48 +0000)]
2008-11-19  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/sys/config.h: Don't put
        __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.

15 years agoinclude/
Bob Wilson [Wed, 19 Nov 2008 18:25:19 +0000 (18:25 +0000)]
include/
* xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
(XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR)
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1.
(XCHAL_NUM_AREGS): Change to 32.
(XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K.
(XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32.
(XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5.
(XCHAL_DCACHE_IS_WRITEBACK): Change to 1.
(XCHAL_DEBUGLEVEL): Change to 6.
bfd/
* xtensa-modules.c (sysregs): Add MMID, VECBASE, EPC5, EPC6, EPC7,
EXCSAVE5, EXCSAVE6, EXCSAVE7, EPS5, EPS6, EPS7, CPENABLE,
SCOMPARE1, and THREADPTR registers.
(NUM_SYSREGS, MAX_USER_REG): Update.
(states): Change width of INTERRUPT, WindowBase, WindowStart, and
INTENABLE.  Add VECBASE, EPC5, EPC6, EPC7, EXCSAVE5, EXCSAVE6,
EXCSAVE7, EPS6, EPS6, EPS7, THREADPTR, CPENABLE, and SCOMPARE1 states.
(NUM_STATES): Update.
(enum xtensa_state_id): Add entries for new states.
(enum xtensa_field_id): Add entries for xt_wbr15_imm and xt_wbr18_imm
fields, along with functions to extract and set them.
(regfiles): Change number of AR registers to 32.
(Operand_ar0_encode, Operand_ar4_encode, Operand_ar8_encode,
Operand_ar12_encode, Operand_ars_entry_encode): Update register mask.
(operands): Add entries for tp7, xt_wbr15_label, xt_wbr18_label,
xt_wbr15_imm, and xt_wbr18_imm operands, along with functions to
encode and decode them.
(enum xtensa_operand_id): Add entries for new operands.
(Iclass_xt_iclass_rfi_stateArgs): Add EPC5, EPC6, EPC7, EPS5, EPS6, and
EPC7 states.
(Iclass_xt_iclass_rfdo_stateArgs): Replace EPC4 and EPS4 by EPC6 and
EPS6, respectively.
(iclasses): Add entries for rur_threadptr, wur_threadptr,
xt_iclass_wsr_176, xt_iclass_rsr_epc5, xt_iclass_wsr_epc5,
xt_iclass_xsr_epc5, xt_iclass_rsr_excsave5, xt_iclass_wsr_excsave5,
xt_iclass_xsr_excsave5, xt_iclass_rsr_epc6, xt_iclass_wsr_epc6,
xt_iclass_xsr_epc6, xt_iclass_rsr_excsave6, xt_iclass_wsr_excsave6,
xt_iclass_xsr_excsave6, xt_iclass_rsr_epc7, xt_iclass_wsr_epc7,
xt_iclass_xsr_epc7, xt_iclass_rsr_excsave7, xt_iclass_wsr_excsave7,
xt_iclass_xsr_excsave7, xt_iclass_rsr_eps5, xt_iclass_wsr_eps5,
xt_iclass_xsr_eps5, xt_iclass_rsr_eps6, xt_iclass_wsr_eps6,
xt_iclass_xsr_eps6, xt_iclass_rsr_eps7, xt_iclass_wsr_eps7,
xt_iclass_xsr_eps7, xt_iclass_rsr_vecbase, xt_iclass_wsr_vecbase,
xt_iclass_xsr_vecbase, xt_iclass_mul16, xt_iclass_wsr_mmid,
xt_iclass_icache_lock, xt_iclass_dcache_lock, xt_iclass_rsr_cpenable,
xt_iclass_wsr_cpenable, xt_iclass_xsr_cpenable, xt_iclass_clamp,
xt_iclass_minmax, xt_iclass_sx, xt_iclass_l32ai, xt_iclass_s32ri,
xt_iclass_s32c1i, xt_iclass_rsr_scompare1, xt_iclass_wsr_scompare1,
xt_iclass_xsr_scompare1, xt_iclass_div, and xt_iclass_mul32, along
with corresponding argument and state argument arrays.  Change
number of state arguments for xt_iclass_rfi.  Add arguments for
xt_iclass_rfdo.
(enum xtensa_iclass_id): Add entries for new iclasses.
(opcodes): Add entries for RUR_THREADPTR, WUR_THREADPTR, WSR_176,
RSR_EPC5, WSR_EPC5, XSR_EPC5, RSR_EXCSAVE5, WSR_EXCSAVE5, XSR_EXCSAVE5,
RSR_EPC6, WSR_EPC6, XSR_EPC6, RSR_EXCSAVE6, WSR_EXCSAVE6, XSR_EXCSAVE6,
RSR_EPC7, WSR_EPC7, XSR_EPC7, RSR_EXCSAVE7, WSR_EXCSAVE7, XSR_EXCSAVE7,
RSR_EPS5, WSR_EPS5, XSR_EPS5, RSR_EPS6, WSR_EPS6, XSR_EPS6, RSR_EPS7,
WSR_EPS7, XSR_EPS7, RSR_VECBASE, WSR_VECBASE, XSR_VECBASE, MUL16U,
MUL16S, WSR_MMID, IPFL, IHU, IIU, DPFL, DHU, DIU, RSR_CPENABLE,
WSR_CPENABLE, XSR_CPENABLE, CLAMPS, MIN, MAX, MINU, MAXU, SEXT, L32AI,
S32RI, S32C1I, RSR_SCOMPARE1, WSR_SCOMPARE1, XSR_SCOMPARE1, QUOU, QUOS,
REMU, REMS, and MULL opcodes, along with the corresponding functions
to encode them.
(enum xtensa_opcode_id): Add entries for new opcodes.
(Slot_inst_decode): Handle new opcodes.
(Slot_inst_get_field_fns, Slot_inst_set_field_fns): Add entries for
xt_wbr15_imm and xt_wbr18_imm fields.
(Slot_inst16a_get_field_fns, Slot_inst16a_set_field_fns): Likewise.
(Slot_inst16b_get_field_fns, Slot_inst16b_set_field_fns): Likewise.
(xtensa_modules): Update number of fields, operands, iclasses and
opcodes.

15 years ago2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 19 Nov 2008 17:13:13 +0000 (17:13 +0000)]
2008-11-19  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/posix/runetype.h: Add include of stddef.h and remove
        defining standard types: size_t and wchar_t.

15 years ago2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 19 Nov 2008 17:02:34 +0000 (17:02 +0000)]
2008-11-19  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/include/pthread.h: Remove prototypes for
        pthread_attr_getcputime and pthread_attr_setcputime which
        were proposed but never approved by the POSIX standard.

15 years ago2008-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Tue, 18 Nov 2008 22:55:06 +0000 (22:55 +0000)]
2008-11-18  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().

15 years ago2008-11-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 18 Nov 2008 22:40:40 +0000 (22:40 +0000)]
2008-11-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
        ignored if desired by a platform.
        * libc/unix/dirname.c: Ditto except replace BASENAME with file name.
        * libc/unix/getcwd.c: Ditto.
        * libc/unix/getlogin.c: Ditto.
        * libc/unix/getpass.c: Ditto.
        * libc/unix/getpwent.c: Ditto.
        * libc/unix/getut.c: Ditto.
        * libc/unix/pread.c: Ditto.
        * libc/unix/pwrite.c: Ditto.
        * libc/unix/sigset.c: Ditto.

15 years ago2008-11-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 18 Nov 2008 21:47:44 +0000 (21:47 +0000)]
2008-11-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
        ignored if desired by a platform.
        * libc/unix/dirname.c: Ditto except replace BASENAME with file name.
        * libc/unix/getcwd.c: Ditto.
        * libc/unix/getlogin.c: Ditto.
        * libc/unix/getpass.c: Ditto.
        * libc/unix/getpwent.c: Ditto.
        * libc/unix/getut.c: Ditto.
        * libc/unix/pread.c: Ditto.
        * libc/unix/pwrite.c: Ditto.
        * libc/unix/sigset.c: Ditto.

15 years ago2008-11-18 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Tue, 18 Nov 2008 21:39:10 +0000 (21:39 +0000)]
2008-11-18  Craig Howland  <howland@LGSInnovations.com>

        * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
        ttyname_r.

15 years agoAdd support for ARM half-precision conversion instructions.
Catherine Moore [Tue, 18 Nov 2008 15:45:05 +0000 (15:45 +0000)]
Add support for ARM half-precision conversion instructions.

15 years ago2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Mon, 17 Nov 2008 22:08:05 +0000 (22:08 +0000)]
2008-11-17  Joel Sherrill <joel.sherrill@oarcorp.com>

        * configure.host: RTEMS now uses posix subdirectory.

15 years ago2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Mon, 17 Nov 2008 22:05:12 +0000 (22:05 +0000)]
2008-11-17  Joel Sherrill <joel.sherrill@oarcorp.com>

        * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
        * sys/rtems/sys/param.h: sys/rtprio.h not needed.

15 years ago2008-11-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 17 Nov 2008 21:58:28 +0000 (21:58 +0000)]
2008-11-17  Jeff Johnston  <jjohnstn@redhat.com>

        * m32r/Makefile.in: Add building m32r-stub.o from local copy instead
        of up and over in gdb.
        * m32r/m32r-stub.c: New file copied from gdb.

15 years ago Revert:
Daniel Jacobowitz [Fri, 14 Nov 2008 15:10:50 +0000 (15:10 +0000)]
Revert:

2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
* Makefile.in: Regenerated.

2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
(HOST_EXPORTS): Pass CPPFLAGS.
(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
(LDFLAGS_FOR_TARGET): Initialize from configure script.
(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
* Makefile.in, configure: Regenerated.
* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
and CPPFLAGS_FOR_BUILD.

15 years ago bfd/
Nick Clifton [Fri, 14 Nov 2008 14:44:09 +0000 (14:44 +0000)]
    bfd/
        * elf.c (assign_file_positions_for_load_sections): Use header_size
        to avoid moving the load address of file headers.
        (assign_file_positions_for_load_sections): Set header_size for
        segments containing the file header.

        include/elf/
        * internal.h (struct elf_segment_map): Add header_size field.

15 years agobfd/
Tristan Gingold [Fri, 14 Nov 2008 09:57:33 +0000 (09:57 +0000)]
bfd/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG,
BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr.
Generate bfdver.h.
* vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca.
* hosts/alphavms.h: Defines macros to bypass i18n.
* makefile.vms (OBJS): Update file list.
(DEFS): Remove VMS_DEBUG, const, add DEBUGDIR.
(CFLAGS): Update flags.
* bfdio.c (real_fopen): Add code specific to VMS: extract attributes
from modes.

binutils/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* configure.com: Get version from configure.in of bfd.
* makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
(CFLAGS): Update flags.

include/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* fopen-vms.h (FOPEN_RB): Use a single string to match the
standard prototype.
(FOPEN_WB): Ditto.
(FOPEN_AB): Ditto.
(FOPEN_RUB): Ditto.
(FOPEN_WUB): Ditto.
(FOPEN_AUB): Ditto.

libiberty/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Update objects list.
(CFLAGS): Update.
(libiberty.olb): Remove alloca-conf.h dependency.
* config.h-vms: Use new macro sets, use builtin alloca.

opcodes/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Update list of objects.
(DEFS): Update
(CFLAGS): Update.

15 years agogdb/ChangeLog:
Ulrich Weigand [Thu, 13 Nov 2008 15:07:54 +0000 (15:07 +0000)]
gdb/ChangeLog:

* auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and
AT_EXECFN.  Re-sort AT_SECURE.

include/elf/ChangeLog:

* common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.

15 years ago * autoload.cc (GetSystemDEPPolicy): Define.
Corinna Vinschen [Wed, 12 Nov 2008 11:04:27 +0000 (11:04 +0000)]
* autoload.cc (GetSystemDEPPolicy): Define.
(GetProcessDEPPolicy): Ditto.
(SetProcessDEPPolicy): Ditto.
* dcrt0.cc (disable_dep): New static function.
(dll_crt0_0): Call disable_dep on platforms requiring it.  Add longish
comment to explain the circumstances.
* wincap.h (wincaps::ts_has_dep_problem): New element.
* wincap.cc: Implement above element throughout.
(wincapc::init): Set ts_has_dep_problem to true on 2008 Terminal
Servers.
* winsup.h (WINVER): Set to 0x0601.

15 years ago * include/winbase.h (PROCESS_DEP_ENABLE,
Corinna Vinschen [Tue, 11 Nov 2008 14:44:54 +0000 (14:44 +0000)]
* include/winbase.h (PROCESS_DEP_ENABLE,
PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION): Define for >= Vista SP1.
(enum _DEP_SYSTEM_POLICY_TYPE): Ditto.
(GetProcessDEPPolicy, GetSystemDEPPolicy, SetProcessDEPPolicy): Ditto.

15 years ago * mount.cc (mount_info::cygdrive_win32_path): Always upper case
Corinna Vinschen [Tue, 11 Nov 2008 11:45:05 +0000 (11:45 +0000)]
* mount.cc (mount_info::cygdrive_win32_path): Always upper case
DOS drive letter to accommodate case sensitivity.
(cygdrive_getmntent): Ditto.
* path.cc (path_conv::check): Invalidate wide_path after making path
relative.

15 years ago * cygwinenv.sgml: Add description for upcaseenv option.
Corinna Vinschen [Tue, 11 Nov 2008 10:51:45 +0000 (10:51 +0000)]
* cygwinenv.sgml: Add description for upcaseenv option.

15 years ago * environ.cc (create_upcaseenv): New static variable.
Corinna Vinschen [Tue, 11 Nov 2008 10:51:03 +0000 (10:51 +0000)]
* environ.cc (create_upcaseenv): New static variable.
(renv_arr): New static array to keep track of environment variables
which have to be always uppercased.
(idx_arr): Ditto.
(start_at): Ditto.
(ucreqenv): New function to uppercase only the environment variables
from renv_arr.
(parse_thing): Add "upcaseenv" setting.
(environ_init): Parse $CYGWIN before doing anything else.  Call
ucreqenv instead of ucenv if CYGWIN=noupcaseenv is set.

15 years ago* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
Christopher Faylor [Tue, 11 Nov 2008 03:51:55 +0000 (03:51 +0000)]
* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
path with a trailing '\'.

16 years ago* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
Christopher Faylor [Fri, 7 Nov 2008 18:32:41 +0000 (18:32 +0000)]
* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
recursion_counter is already 0.
(pthread_mutex::_destroy): Don't consider a mutex busy if its recursion_counter
== 0.
(pthread_mutex::_fixup_after_fork): Set recursion_counter to 0 to flag that
we've just forked.  Don't reset the owner of this mutex since the forkee may
think it still owns the mutex.  Reinstate initialization of win32_obj_id.
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Initialize a variable to
bypass a C++ warning.

16 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Thu, 6 Nov 2008 19:32:42 +0000 (19:32 +0000)]
2008-11-06  Chao-ying Fu  <fu@mips.com>

* mips.h: Doucument '1' for 5-bit sync type.

16 years ago * environ.cc (environ_init): Avoid evaluating $CYGWIN twice.
Corinna Vinschen [Wed, 5 Nov 2008 11:57:44 +0000 (11:57 +0000)]
* environ.cc (environ_init): Avoid evaluating $CYGWIN twice.

16 years ago2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 31 Oct 2008 21:08:03 +0000 (21:08 +0000)]
2008-10-31  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/diprintf.c: Modify documentation so eclipse newlib
        libhover docs generate properly.
        * libc/stdio/dprintf.c: Ditto.
        * libc/stdio/fflush.c: Ditto.
        * libc/stdio/fopencookie.c: Ditto.
        * libc/stdio/fread.c: Ditto.
        * libc/stdio/fsetpos.c: Ditto.
        * libc/stdio/getc_u.c: Ditto.
        * libc/stdio/getchar_u.c: Ditto.
        * libc/stdio/putc_u.c: Ditto.
        * libc/stdio/putchar_u.c: Ditto.
        * libc/stdio/remove.c: Ditto.
        * libc/stdio/siprintf.c: Ditto.
        * libc/stdio/siscanf.c: Ditto.
        * libc/stdio/sprintf.c: Ditto.
        * libc/stdio/sscanf.c: Ditto.
        * libc/stdio/vfprintf.c: Ditto.
        * libc/stdio/vfscanf.c: Ditto.
        * libc/stdio/viprintf.c: Ditto.
        * libc/stdio/viscanf.c: Ditto.
        * libc/stdlib/calloc.c: Ditto.
        * libc/stdlib/efgcvt.c: Ditto.
        * libc/stdlib/envlock.c: Ditto.
        * libc/time/asctime.c: Ditto.
        * libc/time/ctime.c: Ditto.
        * libc/time/gmtime.c: Ditto.
        * libc/time/lcltime.c: Ditto.
        * libc/time/tzset.c: Ditto.
        * libc/stdlib/envlock.h: Moved to libc/include.

16 years ago2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 31 Oct 2008 21:03:42 +0000 (21:03 +0000)]
2008-10-31  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
        * libc/include/envlock.h: New file.
        * libc/include/fnmatch.h: Ditto.
        * libc/include/glob.h: Ditto.
        * libc/include/regex.h: Ditto.
        * libc/include/wordexp.h: Ditto.
        * libc/posix/Makefile.am: Add new files moved from
        libc/sys/linux/stdlib.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
        * libc/posix/cclass.h: Ditto.
        * libc/posix/cname.h: Ditto.
        * libc/posix/collate.c: Ditto.
        * libc/posix/collate.h: Ditto.
        * libc/posix/collcmp.c: Ditto.
        * libc/posix/engine.c: Ditto.
        * libc/posix/fnmatch.3: Ditto.
        * libc/posix/glob.3: Ditto.
        * libc/posix/fnmatch.c: Ditto.
        * libc/posix/glob.c: Ditto.
        * libc/posix/namespace.h: Ditto.
        * libc/posix/reallocf.c: Ditto.
        * libc/posix/regcomp.c: Ditto.
        * libc/posix/regerror.c: Ditto.
        * libc/posix/regex.3: Ditto.
        * libc/posix/regex2.h: Ditto.
        * libc/posix/regexec.c: Ditto.
        * libc/posix/regfree.c: Ditto.
        * libc/posix/rune.h: Ditto.
        * libc/posix/runetype.h: Ditto.
        * libc/posix/scandir.c: Remove advertising clause which is not in
        effect.
        * libc/posix/sysexits.h: Ditto.
        * libc/posix/un-namespace.h: Ditto.
        * libc/posix/utils.h: Ditto.
        * libc/posix/wordexp.c: Ditto.
        * libc/posix/wordfree.c: Ditto.
        * libc/posix/execl.c: Add !_NO_EXECVE flag check.
        * libc/posix/execle.c: Ditto.
        * libc/posix/execlp.c: Ditto.
        * libc/posix/execv.c: Ditto.
        * libc/posix/execve.c: Ditto.
        * libc/posix/execvp.c: Ditto.
        * libc/posix/popen.c: Add !_NO_POPEN flag check.
        * libc/sys/linux/configure: Regenerated.
        * libc/sys/linux/configure.in: Remove stdlib.
        * libc/sys/linux/include/limits.h: Add include of linux/limits.h.
        * libc/sys/linux/stdlib/Makefile.am: Removed.
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
        * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
        * libc/sys/linux/stdlib/cclass.h: Ditto.
        * libc/sys/linux/stdlib/cname.h: Ditto.
        * libc/sys/linux/stdlib/collate.c: Ditto.
        * libc/sys/linux/stdlib/collate.h: Ditto.
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
        * libc/sys/linux/stdlib/engine.c: Ditto.
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
        * libc/sys/linux/stdlib/glob.3: Ditto.
        * libc/sys/linux/stdlib/glob.c: Ditto.
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
        * libc/sys/linux/stdlib/regerror.c: Ditto.
        * libc/sys/linux/stdlib/regex.3: Ditto.
        * libc/sys/linux/stdlib/regex2.h: Ditto.
        * libc/sys/linux/stdlib/regexec.c: Ditto.
        * libc/sys/linux/stdlib/regfree.c: Ditto.
        * libc/sys/linux/stdlib/utils.h: Ditto.
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
        * libc/sys/linux/stdlib/wordfree.c: Ditto.

16 years ago* Makefile.in: Use -static-libgcc when creating cygserver.exe.
Christopher Faylor [Thu, 30 Oct 2008 13:17:42 +0000 (13:17 +0000)]
* Makefile.in: Use -static-libgcc when creating cygserver.exe.

16 years ago2008-10-29 Stefan Schulze Frielinghaus <xxschulz@de.ibm.com>
Ulrich Weigand [Wed, 29 Oct 2008 19:39:13 +0000 (19:39 +0000)]
2008-10-29  Stefan Schulze Frielinghaus  <xxschulz@de.ibm.com>

* configure.ac [spu-*-*]: Do not set skipdirs.
* configure: Re-generate.

16 years ago* Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything here.
Christopher Faylor [Wed, 29 Oct 2008 13:13:26 +0000 (13:13 +0000)]
* Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything here.

16 years agoCorrect some binary distribution packaging defects.
Keith Marshall [Tue, 28 Oct 2008 23:55:39 +0000 (23:55 +0000)]
Correct some binary distribution packaging defects.

16 years ago * Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
Daniel Jacobowitz [Fri, 24 Oct 2008 21:58:34 +0000 (21:58 +0000)]
* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
* Makefile.in: Regenerated.

16 years ago * wincap.cc (all wincaps): Store in .cygwin_dll_common section same as
Corinna Vinschen [Thu, 23 Oct 2008 21:00:45 +0000 (21:00 +0000)]
* wincap.cc (all wincaps): Store in .cygwin_dll_common section same as
wincap.  Add comment to explain why.

16 years ago PR gdb/921
Daniel Jacobowitz [Wed, 22 Oct 2008 13:35:30 +0000 (13:35 +0000)]
PR gdb/921
PR gdb/1646
PR gdb/2175
PR gdb/2176

* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
(HOST_EXPORTS): Pass CPPFLAGS.
(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
(LDFLAGS_FOR_TARGET): Initialize from configure script.
(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
* Makefile.in, configure: Regenerated.
* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
and CPPFLAGS_FOR_BUILD.

libiberty/
* Makefile.in (CPPFLAGS): Define.
(FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.

16 years ago * autoload.cc (GetSystemWindowsDirectoryW): Define.
Corinna Vinschen [Wed, 22 Oct 2008 13:30:42 +0000 (13:30 +0000)]
* autoload.cc (GetSystemWindowsDirectoryW): Define.
* kernel32.cc (GetWindowsDirectoryW): Implement to abstract from
running under Terminal Services or not.
(GetWindowsDirectoryA): Ditto.

16 years ago * passwd.cc (pwdgrp::read_passwd): Check if we're called within
Corinna Vinschen [Tue, 21 Oct 2008 16:47:28 +0000 (16:47 +0000)]
* passwd.cc (pwdgrp::read_passwd): Check if we're called within
user_shared initialization and ignore myself, if so.  Reformat
conditional expression.

16 years ago * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
Alan Modra [Mon, 20 Oct 2008 23:03:31 +0000 (23:03 +0000)]
* obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.

16 years ago * ntdll.h (NtSetAttributesFile): New inline function.
Corinna Vinschen [Mon, 20 Oct 2008 19:30:06 +0000 (19:30 +0000)]
* ntdll.h (NtSetAttributesFile): New inline function.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Use
NtSetAttributesFile.
* path.cc (symlink_worker): Ditto.
* syscalls.cc (unlink_nt): Ditto.
(rename): Omit FILE_SHARE_DELETE when opening files on Samba.  Add
comment to explain why.

16 years agoFix MinGW-Bug [2136252]: Remove extraneous radix point in printf( "%.0f", v ) for...
Keith Marshall [Sat, 18 Oct 2008 14:33:48 +0000 (14:33 +0000)]
Fix MinGW-Bug [2136252]: Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5

16 years ago * dtable.cc (dtable::get_debugger_info): Call SetStdHandle
Corinna Vinschen [Fri, 17 Oct 2008 16:24:20 +0000 (16:24 +0000)]
* dtable.cc (dtable::get_debugger_info): Call SetStdHandle
for the newly opened handle.  Explain why.
(dtable::stdio_init): Don't duplicate standard error handle
when stderr has already been created under debugger control.

16 years ago2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Thu, 16 Oct 2008 23:03:40 +0000 (23:03 +0000)]
2008-10-16  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/include/sys/unistd.h: RTEMS follows standard for sync().

16 years ago2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Thu, 16 Oct 2008 21:53:58 +0000 (21:53 +0000)]
2008-10-16  Joel Sherrill <joel.sherrill@oarcorp.com>

   * libc/include/time.h: Add CLOCK_MONOTONIC.
   * libc/include/sys/features.h: Define
   _POSIX_MONOTONIC_CLOCK for RTEMS.

16 years ago2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 16 Oct 2008 19:38:15 +0000 (19:38 +0000)]
2008-10-15  Jeff Johnston  <jjohnstn@redhat.com>

        * newlib.hin: Restore to previous 1.14 version which has no
        PACKAGE_ macros.

16 years ago2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Wed, 15 Oct 2008 21:37:54 +0000 (21:37 +0000)]
2008-10-15  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.

16 years agoFix typo and make C99 check the same as is used in math.h
Jeff Johnston [Wed, 15 Oct 2008 20:49:56 +0000 (20:49 +0000)]
Fix typo and make C99 check the same as is used in math.h

16 years ago2008-10-15 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Wed, 15 Oct 2008 20:36:26 +0000 (20:36 +0000)]
2008-10-15  Craig Howland  <howland@LGSInnovations.com>

* libc/include/ctype.h (isblank):  isblank is C99.
* libc/ctype/isblank.c (isblank comments):  ditto.  isblank does not
have a macro version (as was claimed in the description).

16 years ago2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 15 Oct 2008 19:33:10 +0000 (19:33 +0000)]
2008-10-15  Jeff Johnston  <jjohnstn@redhat.com>

* libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
%S conversions when the EL/IX level is 1.

16 years agoFix MinGW-Bug [2160227]: Eliminate conflicting declarations and implementations of...
Keith Marshall [Mon, 13 Oct 2008 22:47:58 +0000 (22:47 +0000)]
Fix MinGW-Bug [2160227]: Eliminate conflicting declarations and implementations of scalb().

16 years ago * sec_acl.cc (setacl): Align standard owner and group permissions
Corinna Vinschen [Mon, 13 Oct 2008 16:01:50 +0000 (16:01 +0000)]
* sec_acl.cc (setacl): Align standard owner and group permissions
with alloc_sd.  Strip FILE_READ_ATTRIBUTES fromn setting
FILE_GENERIC_EXECUTE permissions same as in alloc_sd.
* security.cc (alloc_sd): Reformat expression.  Strip EA permission
bits from owner_deny and group_deny computation.

16 years agofix typo
Christopher Faylor [Mon, 13 Oct 2008 00:57:47 +0000 (00:57 +0000)]
fix typo

16 years ago* mingw: Set sawcfile when -xc* is detected. Extend list of detected source
Christopher Faylor [Mon, 13 Oct 2008 00:56:09 +0000 (00:56 +0000)]
* mingw: Set sawcfile when -xc* is detected.  Extend list of detected source
filew.

16 years ago* Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
Christopher Faylor [Sun, 12 Oct 2008 23:58:17 +0000 (23:58 +0000)]
* Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
environment.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
* configure.in: Record mingw front-end for building under Cygwin.
* mingwex/configure.in: Ditto.
* profile/configure.in: Ditto.
* configure: Regenerate.
* mingwex/configure: Ditto.
* profile/configure: Ditto.

16 years ago* mingw: Add more checks to allow more varied use.
Christopher Faylor [Sun, 12 Oct 2008 23:54:03 +0000 (23:54 +0000)]
* mingw: Add more checks to allow more varied use.

16 years ago* Makefile.in: Rearrange to avoid -mno-cygwin.
Christopher Faylor [Sun, 12 Oct 2008 23:53:26 +0000 (23:53 +0000)]
* Makefile.in: Rearrange to avoid -mno-cygwin.
* configure.in: Use mingw front-end from utils directory as compiler front-end.
* configure: Regenerate.
* cyglsa.c (cyglsa_printf): Rename from 'printf' to avoid a compiler error.
(print_sid, print_groups, print_privs, print_dacl, print_tokinf,
LsaApLogonUserEx): Ditto.

16 years ago* mingw: Use a better method to find where mingw directory lives.
Christopher Faylor [Sun, 12 Oct 2008 03:20:37 +0000 (03:20 +0000)]
* mingw: Use a better method to find where mingw directory lives.

16 years agoDummy check-in to get right revision log:
Christopher Faylor [Sun, 12 Oct 2008 03:08:33 +0000 (03:08 +0000)]
Dummy check-in to get right revision log:

* mingw: New front-end script to control building of MinGW files without using
the deprecated -mno-cygwin option.
* Makefile.in: Use mingw front-end.

16 years ago* Makefile.in: Tweak to work better with new utils/mingw front-end.
Christopher Faylor [Sun, 12 Oct 2008 03:06:12 +0000 (03:06 +0000)]
* Makefile.in: Tweak to work better with new utils/mingw front-end.
In utils:

16 years agoUse de-facto standard Makefile goals to invoke test suite.
Keith Marshall [Sat, 11 Oct 2008 21:59:04 +0000 (21:59 +0000)]
Use de-facto standard Makefile goals to invoke test suite.

16 years agoMake strtod() inline definition C89 compliant.
Keith Marshall [Sat, 11 Oct 2008 21:47:56 +0000 (21:47 +0000)]
Make strtod() inline definition C89 compliant.

16 years agoinclude/elf/
Nathan Froyd [Fri, 10 Oct 2008 20:55:36 +0000 (20:55 +0000)]
include/elf/
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return.
bfd/
* elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge
Tag_GNU_Power_ABI_Struct_Return.
binutils/
* readelf.c (display_power_gnu_attribute): Decode
Tag_GNU_Power_ABI_Struct_Return.
ld/testsuite/
* ld-powerpc/gnu-attr-12-1.s: New file.
* ld-powerpc/gnu-attr-12-2.s: New file.
* ld-powerpc/gnu-attr-12-11.d: New file.
* ld-powerpc/gnu-attr-12-21.d: New file.
* ld-powerpc/powerpc.exp: Run new dump tests.

16 years ago2008-10-09 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 10 Oct 2008 02:04:37 +0000 (02:04 +0000)]
2008-10-09  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/mmsystem.h (sndAlias): Correct GCC4 warning.

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Check
Corinna Vinschen [Thu, 9 Oct 2008 14:23:09 +0000 (14:23 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Check
for executable suffixes here in case we're on a file system
not supporting permission.
* path.cc (path_conv::check): Drop check for executable suffixes.

16 years ago * fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Keep track of
Corinna Vinschen [Thu, 9 Oct 2008 12:41:52 +0000 (12:41 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Keep track of
current position in non-buffered case, too.

16 years ago * grp.cc (pwdgrp::read_group): Generate more speaking group name
Corinna Vinschen [Thu, 9 Oct 2008 11:52:54 +0000 (11:52 +0000)]
* grp.cc (pwdgrp::read_group): Generate more speaking group name
if passwd gid exists under different gid in /etc/group.

16 years agoFix ChangeLog entry
Corinna Vinschen [Thu, 9 Oct 2008 10:01:49 +0000 (10:01 +0000)]
Fix ChangeLog entry

16 years ago * path.cc (path_conv::is_binary): Always check for GetBinaryType.
Corinna Vinschen [Thu, 9 Oct 2008 09:43:02 +0000 (09:43 +0000)]
* path.cc (path_conv::is_binary): Always check for GetBinaryType.
* syscalls.cc (rename): Fix test for just changing case of name on
case insensitive filesystems.

16 years ago * path.cc (symlink_info::check_shortcut): Don't check for executability
Corinna Vinschen [Thu, 9 Oct 2008 08:56:09 +0000 (08:56 +0000)]
* path.cc (symlink_info::check_shortcut): Don't check for executability
here.
(symlink_info::check_sysfile): Ditto.

16 years ago * path.cc (path_conv::path_conv): Only assume executability by suffix
Corinna Vinschen [Wed, 8 Oct 2008 14:58:26 +0000 (14:58 +0000)]
* path.cc (path_conv::path_conv): Only assume executability by suffix
on file systems not supporting permissions.

16 years ago* pthread.cc (pthread_create): Very minor formatting change.
Christopher Faylor [Tue, 7 Oct 2008 23:28:30 +0000 (23:28 +0000)]
* pthread.cc (pthread_create): Very minor formatting change.
* timer.cc (timer_thread): Ensure that any created thread defaults to detached
state.

16 years ago* cygtls.h (_cygtls::initialized): Remove bogus stack check which would when
Christopher Faylor [Tue, 7 Oct 2008 02:38:15 +0000 (02:38 +0000)]
* cygtls.h (_cygtls::initialized): Remove bogus stack check which would when
checking the current thread from the current thread.

16 years agomerge from gcc
DJ Delorie [Tue, 7 Oct 2008 01:27:53 +0000 (01:27 +0000)]
merge from gcc

16 years ago2008-10-06 Bill Tompkins <bill+newlib@key-square.com>
Jeff Johnston [Mon, 6 Oct 2008 20:55:19 +0000 (20:55 +0000)]
2008-10-06  Bill Tompkins  <bill+newlib@key-square.com>

        * arm/crt0.S: Fix calling hardware_init_hook() or software_init_hook()
        under thumb and thumb2.

16 years ago2008-10-06 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 6 Oct 2008 19:47:06 +0000 (19:47 +0000)]
2008-10-06  Eric Blake  <ebb9@byu.net>

        * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
        is 0.5 or 0.75.

16 years ago2008-10-06 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 6 Oct 2008 19:21:29 +0000 (19:21 +0000)]
2008-10-06  Craig Howland  <howland@LGSInnovations.com>

* libc/time/tzset_r.c (_tzset_r):  Change US default start/end dates to
2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.

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