]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago * gcc.sgml: Use 'bash$' as Cygwin prompt throughout.
Corinna Vinschen [Mon, 15 Dec 2008 09:37:50 +0000 (09:37 +0000)]
* gcc.sgml: Use 'bash$' as Cygwin prompt throughout.
* gdb.sgml: Ditto.
* pathnames.sgml: Ditto.  Fix the @ expansion example.

15 years ago* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
Christopher Faylor [Sun, 14 Dec 2008 06:01:46 +0000 (06:01 +0000)]
* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
since the function could be fed one by an internal call.

15 years ago* utils.sgml: Convert some backslashes to slashes.
Christopher Faylor [Sat, 13 Dec 2008 22:43:54 +0000 (22:43 +0000)]
* utils.sgml: Convert some backslashes to slashes.

15 years ago* pathnames.sgml: Convert some backslashes to slashes.
Christopher Faylor [Sat, 13 Dec 2008 21:14:44 +0000 (21:14 +0000)]
* pathnames.sgml: Convert some backslashes to slashes.

15 years ago* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed code.
Christopher Faylor [Sat, 13 Dec 2008 21:05:31 +0000 (21:05 +0000)]
* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed code.
* fhandler_registry.cc (fhandler_registry::exists): Recode goto as if/else to
avoid a gcc4 compiler warning.
(fhandler_registry::open): Ditto.  Use one goto rather than two.
* gentls_offsets: Fix compiler warning in generated output.
* tlsoffsets.h: Regenerate.
* mount.cc (fillout_mntent): slashify native paths returned via getmntent.

15 years ago2008-12-12 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Fri, 12 Dec 2008 19:47:05 +0000 (19:47 +0000)]
2008-12-12  Craig Howland <howland@LGSInnovations.com>

        * libc/include/wchar.h:  Added wcstok() declaration.
        * libc/string/wcstok.c: New file, implementing wcstok.
        * libc/string/Makefile.am: Add wcstok support.
        * libc/string/wcstrings.tex: Ditto.
        * libc/string/Makefile.in: Regenerated.

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 12 Dec 2008 17:21:08 +0000 (17:21 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/stdio/fputws.c: Fix documentation.
        * libc/stdio/getwchar.c: Ditto.
        * libc/stdio/putwchar.c: Ditto.

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 12 Dec 2008 17:16:03 +0000 (17:16 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
        200112L (SUSv3 compliance).
        Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 12 Dec 2008 17:11:33 +0000 (17:11 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
        _execve(), _exit().

15 years ago2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 12 Dec 2008 17:07:37 +0000 (17:07 +0000)]
2008-12-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * configure.host: Let *rtems* default to c99-formats.

15 years ago * libc/stdio/freopen.c: Add <string.h> for memset prototype.
Corinna Vinschen [Fri, 12 Dec 2008 15:45:19 +0000 (15:45 +0000)]
* libc/stdio/freopen.c:  Add <string.h> for memset prototype.
* libc/stdio/fseek.c:  Ditto.
* libc/stdio/fwide.c:  Add <wchar.h> for fwide prototype.

15 years ago * pathnames.sgml: New section for /proc/registry. Document registry
Corinna Vinschen [Fri, 12 Dec 2008 15:14:06 +0000 (15:14 +0000)]
* pathnames.sgml: New section for /proc/registry. Document registry
name encoding.

15 years agoFormatting fix.
Jeff Johnston [Thu, 11 Dec 2008 22:49:58 +0000 (22:49 +0000)]
Formatting fix.

15 years ago2008-12-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 11 Dec 2008 22:48:38 +0000 (22:48 +0000)]
2008-12-11 Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/time.h(gettimeofday): Change prototype so
        2nd parameter is void *, matching SUSV2.
        * libc/syscalls/sysgettod.c(gettimeofday): Ditto.

15 years ago2008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
Jeff Johnston [Thu, 11 Dec 2008 20:05:38 +0000 (20:05 +0000)]
2008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>

        * configure.host: Add lm32
        * libc/include/machine/ieeefp.h: Add __lm32__
        * libc/include/machine/setjmp.h: Add __lm32__
        * libc/machine/configure.in: Add lm32
        * libc/machine/configure: Regenerated.
        * libc/machine/lm32/aclocal.m4: New file.
        * libc/machine/lm32/configure.in: Ditto.
        * libc/machine/lm32/configure: Ditto.
        * libc/machine/lm32/Makefile.am: Ditto.
        * libc/machine/lm32/Makefile.in: Ditto.
        * libc/machine/lm32/setjmp.s: Ditto.

15 years ago2008-12-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 11 Dec 2008 17:27:56 +0000 (17:27 +0000)]
2008-12-11  Craig Howland  <howland@LGSInnovations.com>

        * libc/include/sys/lock.h:  Add void cast to avoid "statement has no
        effect" warnings from gcc.
        * libc/include/sys/stdio.h:  Ditto.
        * libc/include/sys/time.h:  Correct gettimeofday() prototype.
        * libc/stdlib/__exp10.c:  Add #include "std.h" for function prototype.
        * libc/stdlib/__ten_mu.c:  Ditto.
        * libc/stdlib/std.h:  Correct __exp10's ANSI prototype.
        * libc/stdlib/ldtoa.c:  Change eiisinf definition to ANSI form.  (Are
        already others in file without _ansi method, so did not bother.)
        * libc/stdlib/system.c:  Use _ansi forms for function prototypes and
        definitions.
        * libc/time/mktime.c:  Ditto.
        * libc/misc/__dprintf.c:  Ditto.
        * libc/include/stdio.h:  Add function prototypes for _fgetc_r,
        _fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
        _funopen_r, and _fopencookie_r.
        * libc/include/reent.h:  Add function prototype for _stat64_r, align
        _execve_r prototype with POSIX definition for execve.
        * libc/reent/execr.c:  Align function prototype with POSIX definition.
        * libc/stdio/asniprintf.c:  Add #include "local.h".
        * libc/stdio/vasniprintf.c:  Ditto.
        * libc/stdio/fread.c:  Remove unused variable newcount.
        * libc/stdio/local.h:  Add function prototype for __sccl.
        * libc/stdio/open_memstream.c:  Remove unused variable flags.
        * libc/stdio/vfscanf.c:  Proper prototyping for ccfn, remove prototype
        for __sccl since now in local.h.
        * libc/string/memcpy.c:  Add #include <string.h> (for real and for
        traditional synopsis), remove extraneous stddef.h and limits.h.
        * libc/syscalls/sysclose.c:  Add #include <unistd.h>.
        * libc/syscalls/sysfork.c:  Ditto.
        * libc/syscalls/sysgetpid.c:  Ditto.
        * libc/syscalls/sysexecve.c:  Add #include <unistd.h>, align function
        prototype with POSIX definition.
        * libc/syscalls/sysfstat.c:  Add #include <sys/stat.h>.
        * libc/syscalls/sysgettod.c:  Correct sys/times.h to sys/time.h.
        * libc/syscalls/syskill.c:  Add #include <signal.h>.
        * libc/syscalls/syslink.c:  Add #include <unistd.h>, fix prototype.
        * libc/syscalls/sysunlink.c:  Ditto.
        * libc/syscalls/sysstat.c:  Add #include <sys/stat.h>, fix prototype.
        * libc/syscalls/syswait.c:  Add #include <sys/wait.h>, fix prototype.

15 years ago2008-12-11 Ken Werner <ken.werner@de.ibm.com
Jeff Johnston [Thu, 11 Dec 2008 12:46:36 +0000 (12:46 +0000)]
2008-12-11  Ken Werner  <ken.werner@de.ibm.com

        * spu/crt0.S: Call __monstartup if profiling is enabled.
        * spu/Makefile.in: Add gcrt1.o gcrt2.o.

15 years ago2008-12-10 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston [Wed, 10 Dec 2008 23:43:12 +0000 (23:43 +0000)]
2008-12-10  Corinna Vinschen  <corinna@vinschen.de>

        Implement basic wide char stdio functionality, based on FreeBSD.
        * libc/include/stdio.h (__SORD): Define.
        (__SWID): Define.
        * libc/include/wchar.h: Add declarations for new wide char functions.
        (getwc): Define as macro.
        (getwchar): Ditto.
        (putwc): Ditto.
        (putwchar): Ditto.
        * libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
        (struct __sFILE64): Ditto.
        * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
        fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
        and ungetwc.c.
        (CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
        fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
        ungetwc.def.
        Add header dependency rules for the new files.
        * libc/stdio/Makefile.in: Regenerate.
        * libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
        * libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
        * libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
        (__sfmoreglue): Ditto.
        * libc/stdio/fputs.c (_fputs_r): Set stream orientation.
        * libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
        * libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
        * libc/stdio/fread.c (_fread_r): Set stream orientation.
        * libc/stdio/freopen.c (_freopen_r): Reset stream orientation.  Reset
        _mbstate.
        * libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
        * libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
        * libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
        * libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
        * libc/stdio/getwchar.c: New file, implementing getwchar and
        _getwchar_r.
        * libc/stdio/local.h (ORIENT): New macro.
        * libc/stdio/puts.c (_puts_r): Set stream orientation.
        * libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
        * libc/stdio/putwchar.c: New file, implementing putwchar and
        _putwchar_r.
        * libc/stdio/refill.c (__srefill_r): Set stream orientation.
        * libc/stdio/stdio.tex: Add documentation for new functions.
        * libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
        * libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
        * libc/stdio/wbuf.c (__swbuf_r): Ditto.

15 years agomerge from gcc
DJ Delorie [Wed, 10 Dec 2008 23:28:15 +0000 (23:28 +0000)]
merge from gcc

15 years ago2008-12-10 Joseph Myers <joseph@codesourcery.com>
Jeff Johnston [Wed, 10 Dec 2008 21:27:58 +0000 (21:27 +0000)]
2008-12-10  Joseph Myers  <joseph@codesourcery.com>

        * libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
        INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
        constants with "long" types where appropriate.
        (INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
        INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
        UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
        Correct to match logic for defining corresponding types.
        (INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
        (SIZE_MAX): Define using __SIZE_MAX__ if available.
        (PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
        (PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
        (WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
        (UINT8_C, UINT16_C): Define to give signed values if corresponding
        types would promote to int.

15 years ago * resolv.h: #include <netinet/in.h> for sockaddr_in typedef.
Corinna Vinschen [Tue, 9 Dec 2008 16:09:46 +0000 (16:09 +0000)]
* resolv.h: #include <netinet/in.h> for sockaddr_in typedef.

15 years agoCommitted as obvious.
Danny Smith [Tue, 9 Dec 2008 02:42:21 +0000 (02:42 +0000)]
Committed as obvious.

2008-12-08  Dmitry G. Gorbachev  <d.g.gorbachev@gmail.com>

* cpu_features.c (__cpu_features_init): Remove erroneous ';'.

15 years ago * fhandler_registry.cc (encode_regname): Add Parameter add_val.
Corinna Vinschen [Mon, 8 Dec 2008 11:45:18 +0000 (11:45 +0000)]
* fhandler_registry.cc (encode_regname): Add Parameter add_val.
Append "%val" if add_val is set.
(decode_regname): Remove trailing "%val". Change returncode accordingly.
(__DIR_hash): New class.
(d_hash): New macro.
(key_exists): New function.
(fhandler_registry::exists): Remove encode of registry name before path
compare, decode file part of path instead.  Skip checks for keys if
trailing "%val" detected.
(fhandler_registry::fstat): Change check of return value of
decode_regname ().
(fhandler_registry::readdir): Allocate __DIR_hash.  Record key names in
hash table. Append "%val" if key with same name exists. Fix error
handling of encode_regname ().  Set dirent.d_type.
(fhandler_registry::closedir): Delete __DIR_hash.
(fhandler_registry::open): Don't open key if trailing "%val" detected
by decode_regname ().
(open_key): Ditto.

15 years ago * mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32. Update
Adam Nemet [Sat, 6 Dec 2008 16:29:01 +0000 (16:29 +0000)]
* mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32.  Update
comment.

15 years ago2008-12-05 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 6 Dec 2008 02:25:28 +0000 (02:25 +0000)]
2008-12-05  Chris Sutcliffe  <ir0nh34d@users.sf.net>

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

15 years ago2008-12-05 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 6 Dec 2008 02:19:57 +0000 (02:19 +0000)]
2008-12-05  Chris Sutcliffe <ir0nh34d@users.sf.net>

        * lib/glut.def: remove.
        * lib/glut32.def: ditto.

15 years ago * mips/idt64.ld: Set arch to mips:isa64r2 from mips:isa64. Update
Adam Nemet [Fri, 5 Dec 2008 19:51:33 +0000 (19:51 +0000)]
* mips/idt64.ld: Set arch to mips:isa64r2 from mips:isa64.  Update
comment.

15 years ago * libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
Corinna Vinschen [Thu, 4 Dec 2008 13:58:11 +0000 (13:58 +0000)]
* libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
(_POSIX_V6_LP64_OFF64): Ditto.
(_POSIX_V6_LPBIG_OFFBIG): Ditto.

15 years ago * ntsec.sgml: Fix typo.
Corinna Vinschen [Thu, 4 Dec 2008 10:07:54 +0000 (10:07 +0000)]
* ntsec.sgml: Fix typo.

15 years ago * libc/minires.c (open_sock): Set non blocking and close on exec.
Corinna Vinschen [Wed, 3 Dec 2008 16:37:53 +0000 (16:37 +0000)]
* libc/minires.c (open_sock): Set non blocking and close on exec.
(res_ninit): Set id pseudo-randomly.
(res_nsend): Do not set close on exec. Initialize server from id.
Flush socket. Tighten rules for answer acceptance.
(res_nmkquery): Update id using current data.

15 years agoinclude/elf/
Nick Clifton [Wed, 3 Dec 2008 14:50:56 +0000 (14:50 +0000)]
include/elf/
            * common.h (STT_IFUNC): Define.
elfcpp/
            * elfcpp.h (enum STT): Add STT_IFUNC.
bfd/
            * syms.c (struct bfd_symbol): Add new flag BSF_INDIRECT_FUNCTION.
            Remove redundant flag BFD_FORT_COMM_DEFAULT_VALUE.  Renumber flags
            to remove gaps.
            (bfd_print_symbol_vandf): Return 'i' for BSF_INDIRECT_FUNCTION.
            (bfd_decode_symclass): Likewise.
            * elf.c (swap_out_syms): Translate BSF_INDIRECT_FUNCTION into
            STT_IFUNC.
            (elf_find_function): Treat STT_IFUNC in the same way as STT_FUNC.
            (_bfd_elf_is_function_type): Likewise.
            * elf32-arm.c (arm_elf_find_function): Likewise.
            (elf32_arm_adjust_dynamic_symbol): Likewise.
            (elf32_arm_swap_symbol_in): Likewise.
            (elf32_arm_additional_program_headers): Likewise.
            * elf32-i386.c (is_indirect_symbol): New function.
            (elf_i386_check_relocs): Also generate dynamic relocs for
            relocations against STT_IFUNC symbols.
            (allocate_dynrelocs): Likewise.
            (elf_i386_relocate_section): Likewise.
            * elf64-x86-64.c (is_indirect_symbol): New function.
            (elf64_x86_64_check_relocs): Also generate dynamic relocs for
            relocations against STT_IFUNC symbols.
            (allocate_dynrelocs): Likewise.
            (elf64_x86_64_relocate_section): Likewise.
            * elfcode.h (elf_slurp_symbol_table): Translate STT_IFUNC into
            BSF_INDIRECT_FUNCTION.
            * elflink.c (_bfd_elf_adjust_dynamic_reloc_section): Add support
            for STT_IFUNC symbols.
            (get_ifunc_reloc_section_name): New function.
            (_bfd_elf_make_ifunc_reloc_section): New function.
            * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs field.
            * bfd-in2.h: Regenerate.
gas/
            * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
            * doc/as.texinfo: Document new feature.
            * NEWS: Mention new feature.
gas/testsuite/
            * gas/elf/type.s: Add test of STT_IFUNC symbol type.
            * gas/elf/type.e: Update expected disassembly.
            * gas/elf/elf.exp: Update grep of symbol types.
ld/
            * NEWS: Mention new feature.
            * pe-dll.c (process_def_file): Replace use of redundant
            BFD_FORT_COMM_DEFAULT_VALUE with 0.
            * scripttempl/elf.sc: Add .rel.ifunc.dyn and .rela.ifunc.dyn
            sections.
ld/testsuite/
            * ld-mips-elf/reloc-1-n32.d: Updated expected output for reloc
            descriptions.
            * ld-mips-elf/reloc-1-n64.d: Likewise.
            * ld-i386/ifunc.d: New test.
            * ld-i386/ifunc.s: Source file for the new test.
            * ld-i386/i386.exp: Run the new test.

15 years ago * ntsec.sgml: Revamp parts of the doc for clearness.
Corinna Vinschen [Wed, 3 Dec 2008 11:47:27 +0000 (11:47 +0000)]
* ntsec.sgml: Revamp parts of the doc for clearness.

15 years ago * ntsec.sgml: Fix a few typos.
Corinna Vinschen [Tue, 2 Dec 2008 19:29:37 +0000 (19:29 +0000)]
* ntsec.sgml: Fix a few typos.

15 years ago * cygserver.sgml: Fix cross reference to the ntsec documentation.
Corinna Vinschen [Tue, 2 Dec 2008 17:39:39 +0000 (17:39 +0000)]
* cygserver.sgml: Fix cross reference to the ntsec documentation.

15 years ago * cygserver.sgml: Document new feature to store hidden passwords
Corinna Vinschen [Tue, 2 Dec 2008 17:32:38 +0000 (17:32 +0000)]
* cygserver.sgml: Document new feature to store hidden passwords
for seteuid.

15 years ago * ntsec.sgml: Finishing up changes for 1.7.
Corinna Vinschen [Tue, 2 Dec 2008 17:07:40 +0000 (17:07 +0000)]
* ntsec.sgml: Finishing up changes for 1.7.

15 years ago* Makefile.def: configure-target-boehm-gc depends on
Andreas Schwab [Tue, 2 Dec 2008 16:43:06 +0000 (16:43 +0000)]
* Makefile.def: configure-target-boehm-gc depends on
all-target-libstdc++-v3.
* Makefile.in: Regenerate.

15 years ago * fhandler_registry.cc (must_encode): Fix condition changed for testing.
Corinna Vinschen [Tue, 2 Dec 2008 11:44:58 +0000 (11:44 +0000)]
* fhandler_registry.cc (must_encode): Fix condition changed for testing.

15 years ago * fhandler_registry.cc (must_encode): New function.
Corinna Vinschen [Tue, 2 Dec 2008 11:40:13 +0000 (11:40 +0000)]
* fhandler_registry.cc (must_encode): New function.
(encode_regname): Ditto.
(decode_regname): Ditto.
(fhandler_registry::exists): Encode name before path compare.
(fhandler_registry::fstat): Pass decoded name to win32 registry call.
(fhandler_registry::readdir): Return encoded name to user.
(fhandler_registry::open): Store decoded name into value_name.
(open_key): Pass decoded name to win32 registry call.

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Tue, 2 Dec 2008 03:21:45 +0000 (03:21 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years agogold/ChangeLog:
Cary Coutant [Mon, 1 Dec 2008 19:50:49 +0000 (19:50 +0000)]
gold/ChangeLog:

* plugin.cc (ld_plugin_message): Change format parameter to const.
Fix mismatch between new[] and delete.

include/ChangeLog:

* plugin-api.h (ld_plugin_message): Change format parameter to const.

15 years ago * plugin-api.h: Fix syntax error when compiling with C++.
Cary Coutant [Mon, 1 Dec 2008 19:05:46 +0000 (19:05 +0000)]
* plugin-api.h: Fix syntax error when compiling with C++.

15 years ago * ntsec.sgml: Further changes for 1.7. Switch from "NT" to "Windows".
Corinna Vinschen [Mon, 1 Dec 2008 18:34:44 +0000 (18:34 +0000)]
* ntsec.sgml: Further changes for 1.7.  Switch from "NT" to "Windows".
Add preliminary text.  Try to be more clear in description.  Remove
useless chapters.  Finish the permission related chapters.

15 years agofix typo
Christopher Faylor [Sun, 30 Nov 2008 22:42:24 +0000 (22:42 +0000)]
fix typo

15 years ago* faq-using.xml: Remove assertion that lpr doesn't exit.
Christopher Faylor [Sun, 30 Nov 2008 22:37:45 +0000 (22:37 +0000)]
* faq-using.xml: Remove assertion that lpr doesn't exit.
* faq-what.xml: Remove ancient who's who data.

15 years ago* exceptions.c (sigpacket::process): Set tls on return since it is assumed to
Christopher Faylor [Sat, 29 Nov 2008 02:41:38 +0000 (02:41 +0000)]
* exceptions.c (sigpacket::process): Set tls on return since it is assumed to
be set to a valid value by the caller.

15 years ago* include/cygwin/version.h: Bump api minor number to 189 to flag the
Christopher Faylor [Sat, 29 Nov 2008 01:39:53 +0000 (01:39 +0000)]
* include/cygwin/version.h: Bump api minor number to 189 to flag the
implementation of dirent.d_type.

15 years ago * aoutx.h (NAME): Add case statements for bfd_mach_mips14000,
Thiemo Seufer [Fri, 28 Nov 2008 18:02:17 +0000 (18:02 +0000)]
* aoutx.h (NAME): Add case statements for bfd_mach_mips14000,
bfd_mach_mips16000.
* archures.c (bfd_architecture): Add .#defines for bfd_mach_mips14000,
bfd_mach_mips16000.
* bfd-in2.h: Regenerate.
* cpu-mips.c: Add enums I_mips14000, I_mips16000.
(arch_info_struct): Add refs to R14000, R16000.
* elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips14000,
bfd_mach_mips16000.
(mips_mach_extensions): Map R14000, R16000 to R10000.

* config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
(mips_cpu_info_table): Add r14000, r16000.
* doc/c-mips.texi: Add entries for 14000, 16000.

* mips-dis.c (mips_arch_choices): Add r14000, r16000.

* mips.h: Define CPU_R14000, CPU_R16000.
        (OPCODE_IS_MEMBER): Include R14000, R16000 in test.

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

        * libc/sys/linux/inode.c: Include <dirent.h> instead of
        <linux/dirent.h>.
        * libc/sys/linux/io64.c: Add weak alias for _stat64.

15 years ago* exceptions.cc (sigpacket::process): Rework previous change. tls could still
Christopher Faylor [Fri, 28 Nov 2008 16:41:54 +0000 (16:41 +0000)]
* exceptions.cc (sigpacket::process): Rework previous change.  tls could still
become NULL.

15 years ago * dir.cc (readdir_worker): Initialize dirent.d_type and __d_unused1.
Corinna Vinschen [Fri, 28 Nov 2008 09:04:35 +0000 (09:04 +0000)]
* dir.cc (readdir_worker): Initialize dirent.d_type and __d_unused1.
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper):
Set dirent.d_type based on FILE_ATTRIBUTE_*.
* include/sys/dirent.h: Define _DIRENT_HAVE_D_TYPE (enables DT_*
declarations).
(struct dirent): Add d_type. Adjust __d_unused1 size to preserve layout.

15 years ago* exceptions.cc (sigpacket::process): Make sure that 'tls' is never NULL when
Christopher Faylor [Fri, 28 Nov 2008 02:56:09 +0000 (02:56 +0000)]
* exceptions.cc (sigpacket::process): Make sure that 'tls' is never NULL when
used.

15 years ago2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Thu, 27 Nov 2008 21:01:40 +0000 (21:01 +0000)]
2008-11-27  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
        to fix GCC warning.

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

        * libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/spu-gmon.c: New file.
        * libc/machine/spu/spu-mcount.S: New file.

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

        * configure.host (*-rtems*): Turn on using portion of unix subdirectory.

15 years ago2008-11-27 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 27 Nov 2008 20:45:37 +0000 (20:45 +0000)]
2008-11-27  Craig Howland <howland@LGSInnovations.com>

        * libc/argz/argz_add.c:  Added #include <argz.h> to get function
        prototypes.
        * libc/argz/argz_append.c: Ditto.
        * libc/argz/argz_count.c: Ditto.
        * libc/argz/argz_create.c: Ditto.
        * libc/argz/argz_create_sep.c: Ditto.
        * libc/argz/argz_delete.c: Ditto.
        * libc/argz/argz_next.c: Ditto.
        * libc/argz/argz_stringify.c: Ditto
        * libc/stdlib/strtod.c: Added #include <stdlib.h> to get function
        prototypes.
        * libc/stdlib/wcstoul.c: Added #include <wchar.h> to get function
        prototypes, corrected traditional usage comment.
        * libc/include/wchar.h: Added _mbsrtowcs_r() prototype.

15 years agoMerge from GCC:
Joseph Myers [Thu, 27 Nov 2008 17:22:10 +0000 (17:22 +0000)]
Merge from GCC:
2008-11-21  Kai Tietz  <kai.tietz@onevision.com>

Fix PR/25502
* mh-mingw (BOOT_CFLAGS): Add -Wno-pedantic-ms-format switch.

2008-11-12  Steve Ellcey  <sje@cup.hp.com>

PR target/27880
* unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from
link test to target based test.

15 years ago Merge from GCC:
Joseph Myers [Thu, 27 Nov 2008 17:14:58 +0000 (17:14 +0000)]
Merge from GCC:

2007-12-02  Matthias Klose  <doko@ubuntu.com>

* config-ml.in: Remove 64bit configure tests.

2008-05-14  Rafael Espindola  <espindola@google.com>

* config-ml.in: don't handle --enable-shared and --enable-static.

2008-09-02  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <grosser@fim.uni-passau.de>
    Jan Sjodin  <jan.sjodin@amd.com>
    Harsha Jagasia  <harsha.jagasia@amd.com>
    Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
    Konrad Trifunovic  <konrad.trifunovic@inria.fr>
    Adrien Eliche  <aeliche@isty.uvsq.fr>

Merge from graphite branch.
* configure: Regenerate.
* Makefile.in: Regenerate.
* configure.ac (host_libs): Add ppl and cloog.
Add checks for PPL and CLooG.
* Makefile.def (ppl, cloog): Added modules and dependences.
* Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New.
(HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New.

2008-09-03  Richard Guenther  <rguenther@suse.de>

* configure.ac: Always pass -DCLOOG_PPL_BACKEND to the
cloog test.
* configure: Re-generate.

2008-09-03  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac (--with-cloog-polylib): New.
(--disable-cloog-version-check): New.
(--disable-ppl-version-check): New.
* configure: Re-generate.

2008-09-05  Richard Guenther  <rguenther@suse.de>

* configure.ac: Initialize clooglibs to -lcloog.
* configure: Re-generate.

2008-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac (MPFR check): Bump minimum version to 2.3.0 and
recommended version to 2.3.2.

* configure: Regenerate.

2008-10-31  Ben Elliston  <bje@au.ibm.com>

* configure.ac (spu-*-*): Remove special case.
* configure: Regenerate.

Complete comment text from GCC version of:

2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>

* configure.ac (RPATH_ENVVAR): Use PATH on Windows.
(GCC_SHLIB_SUBDIR): New.
* Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR.
* configure: Regenerate.
* Makefile.in: Regenerate.

15 years ago2008-11-27 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 27 Nov 2008 15:20:39 +0000 (15:20 +0000)]
2008-11-27  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Build gdb for i?86-*-darwin*
* configure: Regenerated.

15 years ago * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
Swami Reddy M R [Thu, 27 Nov 2008 11:35:39 +0000 (11:35 +0000)]
* cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
R_CR16_GLOB_DAT): New relocations.

15 years ago2008-11-26 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Wed, 26 Nov 2008 19:59:25 +0000 (19:59 +0000)]
2008-11-26 Ken Werner <ken.werner@de.ibm.com>

        * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
        * libm/machine/spu/headers/asind2.h: Likewise.
        * libm/machine/spu/headers/asinhf4.h: Likewise.
        * libm/machine/spu/headers/divd2.h: Likewise.
        * libm/machine/spu/headers/erf_utils.h: Likewise.
        * libm/machine/spu/headers/erfcd2.h: Likewise.
        * libm/machine/spu/headers/erfcf4.h: Likewise.
        * libm/machine/spu/headers/erfd2.h: Likewise.
        * libm/machine/spu/headers/recipd2.h: Likewise.

15 years agoclarify entry
Christopher Faylor [Wed, 26 Nov 2008 17:21:20 +0000 (17:21 +0000)]
clarify entry

15 years agoRemove unneeded whitespace.
Christopher Faylor [Wed, 26 Nov 2008 17:21:04 +0000 (17:21 +0000)]
Remove unneeded whitespace.
* fhandler_fifo.cc (fhandler_fifo::open): Rework to cause errno to be set to
ENXIO when opening a fifo write/nonblocking.
* environ.cc (ucreqenv): Rename to ucenv.  Move code from old ucenv here and
conditionalize it on create_upcaseenv.
(ucenv): Delete.
(environ_init): Fix compiler warning by moving create_upcaseenv test to ucenv.
Don't bother checking for child_proc_info when calling ucenv since it is
assumed to be NULL at the point where the function is called.
* path.cc (symlink_worker): Turn off MS-DOS path warnings when dealing with
devices since the device handler passes in a translated MS-DOS path.
* sec_auth.cc (lsaprivkeyauth): Avoid variable initialization which causes a
compiler error.
* fhandler_netdrive.cc: Update copyright.

15 years ago* Revert erroneous checkin.
Christopher Faylor [Wed, 26 Nov 2008 16:42:27 +0000 (16:42 +0000)]
* Revert erroneous checkin.

15 years agoupdate copyright
Christopher Faylor [Wed, 26 Nov 2008 16:42:00 +0000 (16:42 +0000)]
update copyright

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.

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