]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago * cygwin.din: Export wcscasecmp, wcsncasecmp.
Corinna Vinschen [Wed, 11 Mar 2009 13:00:28 +0000 (13:00 +0000)]
* cygwin.din: Export wcscasecmp, wcsncasecmp.
* posix.sgml: Move wcscasecmp, wcsncasecmp to SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare.
Corinna Vinschen [Wed, 11 Mar 2009 12:57:53 +0000 (12:57 +0000)]
* libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare.
* libc/string/Makefile.am: Add wcscasecmp.c, wcsncasecmp.c
* libc/stdio/Makefile.in: Regenerate.
* libc/string/strings.tex: Add new documentation references.
* libc/string/wcscasecmp.c: New file.
* libc/string/wcsncasecmp.c: New file.

15 years ago * cygwin.din: Export wscanf, fwscanf, swscanf, vwscanf, vfwscanf,
Corinna Vinschen [Wed, 11 Mar 2009 12:03:44 +0000 (12:03 +0000)]
* cygwin.din: Export wscanf, fwscanf, swscanf, vwscanf, vfwscanf,
vswscanf.
* posix.sgml: Move fwscanf, swscanf, vwscanf, vfwscanf, vswscanf
to SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf,
Corinna Vinschen [Wed, 11 Mar 2009 11:53:22 +0000 (11:53 +0000)]
* libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf,
wscanf): Declare.
(_fwscanf_r, _swscanf_r, _vfwscanf_r, _vswscanf_r, _vwscanf_r,
_wscanf_r): Declare.
* libc/stdio/Makefile.am: Add new wscanf files.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/fwscanf.c: New file.
* libc/stdio/local.h (__svfwscanf_r, __ssvfwscanf_r, __svfiwscanf_r,
__ssvfiwscanf_r): Declare.
* libc/stdio/stdio.tex: Add new documentation references.
* libc/stdio/swscanf.c: New file.
* libc/stdio/vfwscanf.c: New file.
* libc/stdio/vswscanf.c: New file.
* libc/stdio/vwscanf.c: New file.
* libc/stdio/wscanf.c: New file.

* libc/stdio/vfscanf.c (_sungetc_r): Make externaly available.  Only
define if INTEGER_ONLY is defined.  Declare otherwise.
(__ssrefill_r): Ditto.
(_sfread_r): Ditto.

Remove static eofread/eofread1 functions and use __seofread
function instead, throughout.
* libc/stdio/local.h (__seofread): Declare.
* libc/stdio/stdio.c (__seofread): Define.

* libc/stdio/fgetwc.c (__fgetwc): Fix compiler warning.
* libc/stdio/fgetws.c (_fgetws_r): Ditto.
* libc/stdio/fread.c (_fread_r): Ditto.
* libc/stdio/vfprintf.c: Ditto.
* libc/stdio/vswprintf.c: Ditto.

15 years ago * libc/machine/arm/arm_asm.h: Fix typo.
Corinna Vinschen [Tue, 10 Mar 2009 09:02:32 +0000 (09:02 +0000)]
* libc/machine/arm/arm_asm.h: Fix typo.

15 years agoinclude/opcode/
Alan Modra [Tue, 10 Mar 2009 06:53:45 +0000 (06:53 +0000)]
include/opcode/
* ppc.h (ppc_parse_cpu): Declare.
opcodes/
* ppc-dis.c: Include "opintl.h".
(struct ppc_mopt, ppc_opts): New.
(ppc_parse_cpu): New function.
(powerpc_init_dialect): Use it.
(print_ppc_disassembler_options): Dump options from ppc_opts.
Internationalize message.
gas/
* config/tc-ppc.c (parse_cpu): Delete.
(md_parse_option, ppc_machine): Use ppc_parse_cpu.
gas/testsuite/
* gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec.
* gas/ppc/common.d: Adjust for -Mcom not including -Mppc.

15 years ago * fhandler.h (fhandler_socket::wait_for_events): Take additional
Corinna Vinschen [Mon, 9 Mar 2009 14:40:45 +0000 (14:40 +0000)]
* fhandler.h (fhandler_socket::wait_for_events): Take additional
parameter "dontwait".
* fhandler_socket.cc (fhandler_socket::wait_for_events): Act as if the
socket is non-blocking if dontwait is true.
(fhandler_socket::recv_internal): Use incoming MSG_DONTWAIT flag to
set the wait_for_events dontwait parameter.
(fhandler_socket::send_internal): Ditto.  Optimize code slightly.
* include/cygwin/socket.h (MSG_DONTWAIT): Define.
* include/cygwin/version.h: Bump API minor number.

15 years ago * cygwin.din: Export wcsftime.
Corinna Vinschen [Mon, 9 Mar 2009 13:22:37 +0000 (13:22 +0000)]
* cygwin.din: Export wcsftime.
* posix.sgml: Move wcsftime to SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/time/strftime.c: Adapt for dual-purpose use so not only
Corinna Vinschen [Mon, 9 Mar 2009 12:35:03 +0000 (12:35 +0000)]
* libc/time/strftime.c:  Adapt for dual-purpose use so not only
defines strftime(), but can also define wcsftime(); add optional
test package; speed up %Y handling.
* libc/time/wcsftime.c:  New file, defining wcsftime() (albeit
indirectly by including strftime.c) and its documentation.
* libc/time/time.tex:  Enhance tm_isdst explanation, change strftime
description to match modified description in strftime.c
* libc/time/Makefile.am:  Add wcsftime.c and wcsftime.def.  Add a rule
so that wcsftime.o gets rebuilt when strftime changes.
* libc/time/Makefile.in:  Regenerate.
* libc/include/wchar.h (wcsftime): Declare.

15 years ago * pathnames.sgml: Try to be more clear explain raw devices.
Corinna Vinschen [Mon, 9 Mar 2009 10:23:44 +0000 (10:23 +0000)]
* pathnames.sgml: Try to be more clear explain raw devices.

15 years ago * utils.sgml: Fix typo.
Corinna Vinschen [Mon, 9 Mar 2009 09:20:38 +0000 (09:20 +0000)]
* utils.sgml: Fix typo.

15 years ago* cygcheck.cc (usage): Fix typo.
Christopher Faylor [Sun, 8 Mar 2009 21:13:26 +0000 (21:13 +0000)]
* cygcheck.cc (usage): Fix typo.

15 years ago * libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
Corinna Vinschen [Fri, 6 Mar 2009 17:11:20 +0000 (17:11 +0000)]
* libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
statements in _REENT_SMALL case.  Check if _atexit is not NULL before
dereferencing it.
(_wrapup_reent): Check if _atexit is not NULL before dereferencing it.

15 years ago * cygwin.din: Export gethostbyname2.
Corinna Vinschen [Fri, 6 Mar 2009 16:31:26 +0000 (16:31 +0000)]
* cygwin.din: Export gethostbyname2.
* net.cc: define _CYGWIN_IN_H and include resolv.h.
(realloc_ent): New function.
(dup_ent): Call realloc_ent.
(memcpy4to6): New function.
(dn_length1): New function.
(gethostby_helper): New function.
(gethostbyname2): New function.
* posix.sgml: Add gethostbyname2.
* include/cygwin/version.h: Bump API minor number.
* libc/minires.c (get_options): Look for "inet6" and apply bounds
to "retry" and "retrans".
(res_ninit): Set the default options at the beginning.
(dn_expand): Fix "off by one".

15 years ago * cygwin.din: Export wprintf, fwprintf, swprintf, vwprintf, vfwprintf,
Corinna Vinschen [Fri, 6 Mar 2009 10:09:55 +0000 (10:09 +0000)]
* cygwin.din: Export wprintf, fwprintf, swprintf, vwprintf, vfwprintf,
vswprintf.  Sort.
* posix.sgml: Move fwprintf, swprintf, vwprintf, vfwprintf, vswprintf
to SUSv4 list.  Sort SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/include/stdio.h (__VALIST): Guard against multiple definition.
Corinna Vinschen [Fri, 6 Mar 2009 09:55:52 +0000 (09:55 +0000)]
* libc/include/stdio.h (__VALIST): Guard against multiple definition.
* libc/include/wchar.h: Include stdarg.h.
(__VALIST): Define conditionally.
(fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, wprintf: Declare.
(_fwprintf_r, _swprintf_r, _vfwprintf_r, _vswprintf_r, _vwprintf_r,
 _wprintf_r): Declare.
* libc/stdio/Makefile.am: Add new files.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/fwprintf.c: New file.
* libc/stdio/local.h (_svfwprintf_r, _svfiwprintf_r): Declare.
(__CH_CLASS, __STATE, __ACTION): Move definition from vfprintf.c here
and move to the __ namespace.
(__chclass, __state_table, __action_table): Declare.
* libc/stdio/stdio.tex: Add new documentation references.
* libc/stdio/swprintf.c: New file.
* libc/stdio/vfprintf.c (__SPRINT): New macro to call the right
__sprint_r function according to compilation unit.  Use throughout.
(__ssprint_r): Rename STRING_ONLY variant from __sprint_r.
Make externaly available.  Only define if INTEGER_ONLY is defined.
(__sprint_r): Make externaly available.  Only define if INTEGER_ONLY
is defined.  Handle stream orientation.
(__sbprintf): Copy FILE's _flags2 member as well.
(__chclass, __state_table, __action_table): Prepend __ to name and
make externally available.
* libc/stdio/vfwprintf.c: New file.
* libc/stdio/vswprintf.c: New file.
* libc/stdio/vwprintf.c: New file.
* libc/stdio/wprintf.c: New file.

15 years ago2009-03-05 Kai Tietz <kai.tietz@onevision.com>
Chris Sutcliffe [Thu, 5 Mar 2009 14:48:38 +0000 (14:48 +0000)]
2009-03-05  Kai Tietz  <kai.tietz@onevision.com>

        * pseudo-reloc.c: Rewrite to enable pseudo_reloc version 2.

15 years ago * dcrt0.cc (disable_dep): Disable. Explain why.
Corinna Vinschen [Wed, 4 Mar 2009 11:45:58 +0000 (11:45 +0000)]
* dcrt0.cc (disable_dep): Disable.  Explain why.
(dll_crt0_0): Disable calling disable_dep.  Explain why.

15 years agoinclude/elf/
Alan Modra [Wed, 4 Mar 2009 05:50:48 +0000 (05:50 +0000)]
include/elf/
* ppc.h (R_PPC_TLSGD, R_PPC_TLSLD): Add new relocs.
* ppc64.h (R_PPC64_TLSGD, R_PPC64_TLSLD): Add new relocs.
bfd/
* reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New.
* section.c (struct bfd_section): Add has_tls_get_addr_call.
(BFD_FAKE_SECTION): Init new flag.
* ecoff.c (bfd_debug_section): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD.
(ppc_elf_reloc_type_lookup): Handle new relocs.
(ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such
without marker relocs.
(ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
if section has no old-style calls.
(ppc_elf_relocate_section): Set tls_mask for non-tls relocs too.
Don't try to optimize new-style __tls_get_addr call when handling
arg setup relocs.  Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
relocs.
* elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD.
(ppc64_elf_reloc_type_lookup): Handle new relocs.
(ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such
without marker relocs.
(ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
if section has no old-style calls.  Set toc_ref for new relocs as
appropriate.
(ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too.
Don't try to optimize new-style __tls_get_addr call when handling
arg setup relocs.  Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
relocs.
gas/
* config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
have non-zero addend.
(md_assemble): Parse args of __tls_get_addr calls.
(md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
ld/testsuite/
* ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
* ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
* ld-powerpc/powerpc.exp: Run them.

15 years ago * net.cc: Include asm/byteorder.h.
Corinna Vinschen [Tue, 3 Mar 2009 11:44:18 +0000 (11:44 +0000)]
* net.cc: Include asm/byteorder.h.
(htonl): Move to end of file.  Add comment to explain why.  Align
definition to POSIX.  Use related macro from asm/byteorder.h.
(ntohl): Ditto.
(htons): Ditto.
(ntohs): Ditto.
* include/asm/byteorder.h: Revert previous patch.

15 years ago * include/asm/byteorder.h: Disable optimization when building
Corinna Vinschen [Tue, 3 Mar 2009 11:11:26 +0000 (11:11 +0000)]
* include/asm/byteorder.h: Disable optimization when building
Cygwin network code.

15 years ago * faq-using.xml: Rework UTF FAQ to accommodate latest setlocale
Corinna Vinschen [Tue, 3 Mar 2009 10:36:59 +0000 (10:36 +0000)]
* faq-using.xml: Rework UTF FAQ to accommodate latest setlocale
change in newlib.

15 years ago * libc/locale/locale.c (_setlocale_r): New implementation based on
Corinna Vinschen [Tue, 3 Mar 2009 09:28:45 +0000 (09:28 +0000)]
* libc/locale/locale.c (_setlocale_r): New implementation based on
FreeBSD's setlocale.
(currentlocale): New helper function.
(loadlocale): Ditto.
(__locale_charset): New function.
(__locale_msgcharset): Rename from __locale_charset.
* libc/ctype/local.h (__lc_ctype): Remove declaration.
(__locale_charset): Declare.
* libc/ctype/iswalpha.c (iswalpha): Call __locale_charset instead of
using __lc_ctype directly.  Only compare against the charset alone.
* libc/ctype/iswblank.c (iswblank): Ditto.
* libc/ctype/iswcntrl.c (iswcntrl): Ditto.
* libc/ctype/iswprint.c (iswprint): Ditto.
* libc/ctype/iswpunct.c (iswpunct): Ditto.
* libc/ctype/iswspace.c (iswspace): Ditto.
* libc/ctype/towlower.c (towlower): Ditto.
* libc/ctype/towupper.c (towupper): Ditto.
* libc/stdlib/mbtowc_r.c (_mbtowc_r): Ditto.
* libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
* libc/sys/linux/intl/loadmsgcat.c (_nl_init_domain_conv): Call
__locale_msgcharset instead of __locale_charset.

15 years ago * pathnames.sgml: Remove reference to managed mountpoints in mount
Corinna Vinschen [Tue, 3 Mar 2009 09:11:45 +0000 (09:11 +0000)]
* pathnames.sgml: Remove reference to managed mountpoints in mount
entry example.

15 years ago2009-03-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 2 Mar 2009 23:30:59 +0000 (23:30 +0000)]
2009-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wctomb_r.c (_wctomb_r): When checking single-byte
        charset, cast wchar to size_t in case wchar_t is signed.
        * libc/stdlib/wctomb.c (wctomb): Add similar single-byte check.

15 years ago2009-03-02 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston [Mon, 2 Mar 2009 23:20:28 +0000 (23:20 +0000)]
2009-03-02  Corinna Vinschen  <corinna@vinschen.de>

        * libc/stdlib/wctomb_r.c (_wctomb_r): Return EILSEQ in case of an
        invalid wchar.  Return -1 if wchar doesn't fit into singlebyte
        value in case of using a singlebyte charset.

15 years ago * utils.sgml: Set example prompt to "$" throughout. Don't use "/"
Corinna Vinschen [Mon, 2 Mar 2009 10:56:19 +0000 (10:56 +0000)]
* utils.sgml: Set example prompt to "$" throughout.  Don't use "/"
as example cygdrive prefix.  Remove reference to -u and -s options.
Add an example using the -o flag.

15 years ago * mount.cc (mount_entries): Handle a "/" cygdrive prefix correctly.
Corinna Vinschen [Mon, 2 Mar 2009 10:47:04 +0000 (10:47 +0000)]
* mount.cc (mount_entries): Handle a "/" cygdrive prefix correctly.
Add comments.

15 years agoAdd support for Score7 architecture.
Nick Clifton [Mon, 2 Mar 2009 10:33:07 +0000 (10:33 +0000)]
Add support for Score7 architecture.

15 years ago Backport from git Libtool:
Ralf Wildenhues [Sun, 1 Mar 2009 18:57:16 +0000 (18:57 +0000)]
Backport from git Libtool:

2009-01-19  Robert Millan  <rmh@aybabtu.com>
Support GNU/kOpenSolaris.
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize
GNU/kOpenSolaris.

binutils/
* configure: Regenerate.

opcodes/
* configure: Regenerate.

bfd/
* configure: Regenerate.

gas/
* configure: Regenerate.

gprof/
* configure: Regenerate.

ld/
* configure: Regenerate.

15 years ago* dtable.cc (dtable::select_read): Add ability to override fh.
Christopher Faylor [Fri, 27 Feb 2009 00:34:40 +0000 (00:34 +0000)]
* dtable.cc (dtable::select_read): Add ability to override fh.
* fhandler.h (fhandler_fifo::select_read): Declare new function.
(fhandler_fifo::select_write): Ditto.
(fhandler_fifo::select_except): Ditto.
* select.cc (peek_pipe): Treat certain classes of pipe errors as "no data".
(fhandler_fifo::select_read): Define new function.
(fhandler_fifo::select_write): Ditto.
(fhandler_fifo::select_except): Ditto.
* shared_info.h (CURR_SHARED_MAGIC): Update.

15 years agogas/
Peter Bergner [Thu, 26 Feb 2009 22:07:33 +0000 (22:07 +0000)]
gas/
* config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
"f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
(parse_cpu): Extend -mpower7 to accept power7 and isel instructions.

gas/testsuite/
* gas/ppc/e500mc.d ("wait", "waitsrv", "waitimpl"): Add tests.
* gas/ppc/e500mc.s: Likewise.
* gas/ppc/power6.d ("cdtbcd", "cbcdtd", "addg6s"): Add tests.
* gas/ppc/power6.s: Likewise.
* gas/ppc/power7.d ("lfdpx", "mffgpr", "mftgpr"): Remove invalid tests.
("wait", "waitsrv", "waitimpl", "divwe", "divwe.", "divweo", "divweo.",
"divweu", "divweu.", "divweuo", "divweuo.", "bpermd", "popcntw",
"popcntd", "ldbrx", "stdbrx", "lfiwzx", "lfiwzx", "fcfids", "fcfids.",
"fcfidus", "fcfidus.", "fctiwu", "fctiwu.", "fctiwuz", "fctiwuz.",
"fctidu", "fctidu.", "fctiduz", "fctiduz.", "fcfidu", "fcfidu.",
"ftdiv", "ftdiv", "ftsqrt", "ftsqrt", "dcbtt", "dcbtstt", "dcffix",
"dcffix.", "lbarx", "lbarx", "lbarx", "lharx", "lharx", "lharx",
"stbcx.", "sthcx.", "fre", "fre.", "fres", "fres.", "frsqrte",
"frsqrte.", "frsqrtes", "frsqrtes.", "isel"): Add tests.
* gas/ppc/power7.s: Likewise.
* gas/ppc/vsx.d: New test.
* gas/ppc/vsx.s: Likewise.
* gas/ppc/ppc.exp: Run it.

include/opcode/
* ppc.h (PPC_OPCODE_POWER7): New.

opcodes/
* ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
the power7 and the isel instructions.
* ppc-opc.c (insert_xc6, extract_xc6): New static functions.
(insert_dm, extract_dm): Likewise.
(XB6): Update comment to include XX2 form.
(WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
(RemoveXX3DM): Delete.
(powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
"mftgpr">: Deprecate for POWER7.
<"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
"frsqrte.">: Deprecate the three operand form and enable the two
operand form for POWER7 and later.
<"wait">: Extend to accept optional parameter.  Enable for POWER7.
<"waitsrv", "waitimpl">: Add extended opcodes.
<"ldbrx", "stdbrx">: Enable for POWER7.
<"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
<"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
"divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
"divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
"divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
"fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
"fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
"lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
<"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
"stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
"xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
"xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
"xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
"xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
"xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
"xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
"xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
"xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
"xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
"xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
"xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
"xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
"xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
"xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
"xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
"xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
"xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
"xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
"xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
"xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
"xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
"xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
"xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
"xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
"xxspltw", "xxswapd">: Add VSX opcodes.

15 years ago2009-02-26 Brooks Moses <brooks@codesourcery.com>
Jeff Johnston [Thu, 26 Feb 2009 21:32:45 +0000 (21:32 +0000)]
2009-02-26  Brooks Moses  <brooks@codesourcery.com>

        * libc/machine/arm/strcpy.c: Add missing comma.

15 years agoFix character set problem with Ralf's name.
Jeff Johnston [Thu, 26 Feb 2009 21:04:59 +0000 (21:04 +0000)]
Fix character set problem with Ralf's name.

15 years ago2009-02-26 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Thu, 26 Feb 2009 21:03:53 +0000 (21:03 +0000)]
2009-02-26  Ralf Corsépius  <ralf.corsepius@rtems.org>

        * libc/machine/lm32/configure.in: Let
        AC_CONFIG_SRCDIR point to setjmp.S instead of setjmp.s
        * libs/machine/lm32/configure: Regenerate.

15 years ago2009-02-25 Brooks Moses <brooks@codesourcery.com>
Jeff Johnston [Wed, 25 Feb 2009 21:33:18 +0000 (21:33 +0000)]
2009-02-25  Brooks Moses  <brooks@codesourcery.com>

        * libc/stdlib/Makefile.am (CHEWOUT_FILES): Add
          mbsnrtowcs.def, wcsnrtombs.def.
        * libc/stdlib/Makefile.in: Regenerate.
        * libc/stdlib/stdlib.tex (@menu): Use correct section
          names for mbsrtowcs, wcsrtombs.
        * libc/stdlib/wcstod.c: Remove stray character in
          documentation.

15 years ago * mbtowc_r.c (_mbtowc_r): Remove conversion of 5 and 6 byte UTF-8
Corinna Vinschen [Wed, 25 Feb 2009 09:10:09 +0000 (09:10 +0000)]
* mbtowc_r.c (_mbtowc_r): Remove conversion of 5 and 6 byte UTF-8
sequences since they are invalid in the Unicode standard.
Handle surrogate pairs in case of wchar_t == UTF-16.
* wctomb_r.c (_wctomb_r): Don't convert invalid Unicode wchar_t
values beyond 0x10ffff into UTF-8 chars.  Handle surrogate pairs in
case of wchar_t == UTF-16.

15 years ago * libc/stdio/open_memstream.c (stdint.h): Include.
Kevin Buettner [Wed, 25 Feb 2009 04:00:05 +0000 (04:00 +0000)]
* libc/stdio/open_memstream.c (stdint.h): Include.

15 years agoAdd DESTDIR functionality to Makefile.in's.
Christopher Faylor [Tue, 24 Feb 2009 02:11:14 +0000 (02:11 +0000)]
Add DESTDIR functionality to Makefile.in's.

15 years ago2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 24 Feb 2009 01:43:49 +0000 (01:43 +0000)]
2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (STB_LOPROC): Replace Application-specific with
Processor-specific in comments.
(STB_HIPROC): Likewise.
(STT_LOPROC): Likewise.
(STT_HIPROC): Likewise.

15 years ago2009-02-23 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 23 Feb 2009 23:42:03 +0000 (23:42 +0000)]
2009-02-23  Craig Howland  <howland@LGSInnovations.com>

        * libc/unix/ttyname.c:  Remove ttyname_r() (to a new file to avoid
        coupling ttyname_r() and ttyname() due to the latter's large buffer).
        * libc/unix/ttyname_r.c:  New file to hold ttyname_r(), previously in
        ttyname.c.
        * libc/unix/ttyname.h:  New file (common size definition for the 2
        ttyname*c files that are now split).
        * libc/unix/Makefile.am (ELIX_2_SOURCES):  Add ttyname_r.c.
        * libc/unix/Makefile.in:  Regenerate.

15 years ago * sec_auth.cc (get_user_local_groups): Simplify LookupAccountName code.
Corinna Vinschen [Mon, 23 Feb 2009 18:27:48 +0000 (18:27 +0000)]
* sec_auth.cc (get_user_local_groups): Simplify LookupAccountName code.

15 years ago * faq-using.xml: Rework XEmacs FAQ.
Corinna Vinschen [Mon, 23 Feb 2009 16:33:17 +0000 (16:33 +0000)]
* faq-using.xml: Rework XEmacs FAQ.

15 years ago * autoload.cc (NetLocalGroupEnum): Remove.
Corinna Vinschen [Fri, 20 Feb 2009 16:10:45 +0000 (16:10 +0000)]
* autoload.cc (NetLocalGroupEnum): Remove.
(NetLocalGroupGetMembers): Remove.
(NetUserGetLocalGroups): Add.
* sec_auth.cc (is_group_member): Remove function.
(get_user_local_groups): Get user as string instead of as SID.
Call NetUserGetLocalGroups instead of NetLocalGroupEnum.  Drop call
to is_group_member.
(get_server_groups): Call get_user_local_groups with user name instead
of user SID.

15 years ago * winver.rc: Fix Copyright date.
Corinna Vinschen [Thu, 19 Feb 2009 16:12:02 +0000 (16:12 +0000)]
* winver.rc: Fix Copyright date.

15 years ago * cygwin.din: Export mbsnrtowcs and wcsnrtombs.
Corinna Vinschen [Thu, 19 Feb 2009 09:22:51 +0000 (09:22 +0000)]
* cygwin.din: Export mbsnrtowcs and wcsnrtombs.
* posix.sgml: Move mbsnrtowcs and wcsnrtombs to SUSv4 section.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/include/wchar.h (mbsnrtowcs): Declare.
Corinna Vinschen [Thu, 19 Feb 2009 09:19:42 +0000 (09:19 +0000)]
* libc/include/wchar.h (mbsnrtowcs): Declare.
(_mbsnrtowcs_r): Declare.
(wcsnrtombs): Declare.
(_wcsnrtombs_r): Declare.
* libc/stdlib/Makefile.am (ELIX_2_SOURCES): Add mbsnrtowcs.c
and wcsnrtombs.c.
* libc/stdlib/Makefile.in: Regenerate.
* libc/stdlib/mbsnrtowcs.c: New file, implementing _mbsnrtowcs_r
and mbsnrtowcs.  Document mbsnrtowcs and mbsrtowcs.
* libc/stdlib/mbsrtowcs.c (_mbsrtowcs_r): Just call _mbsnrtowcs_r.
(mbsrtowcs): Ditto.
* libc/stdlib/wcsnrtombs.c: New file, implementing _wcsnrtombs_r
and wcsnrtombs.  Document wcsrtombs and wcsnrtombs.
* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Just call _wcsnrtombs_r.
(wcsrtombs): Ditto.
* libc/stdlib/stdlib.tex: Accommodate new documentation.

15 years ago2009-02-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 18 Feb 2009 21:28:41 +0000 (21:28 +0000)]
2009-02-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/open_memstream.c (internal_open_memstream_r): Fix max
        buffer size to be in wchar_t units if wide == 1 is passed in.  In
        this case, also initialize the first character of the buffer to be
        wide char null.
        (_open_wmemstream_r): Cast buf to be (char **) to avoid warning.
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Change all occurences of
        incrementing the size_t value n to first check that n is not already
        size_t -1.  Fix some compiler warnings.
        * libc/stdlib/wcstod.c: Add includes for <wctype.h> and <math.h>.

15 years ago * cygwin.din: Export open_wmemstream.
Corinna Vinschen [Wed, 18 Feb 2009 17:38:16 +0000 (17:38 +0000)]
* cygwin.din: Export open_wmemstream.
* posix.sgml: Move open_wmemstream to SUSv4 section.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
Corinna Vinschen [Wed, 18 Feb 2009 17:35:24 +0000 (17:35 +0000)]
* libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
(struct memstream): Add wide element.
Change saved to a union to take char and wchar_t values.
(memwriter): Accommodate wide-oriented oeprations.
(memseeker): Ditto.
(memseeker64): Ditto.
(memcloser): Ditto.
(internal_open_memstream_r): New static function.  Take functionality
from former _open_memstream_r and handle additional "wide" parameter.
(_open_memstream_r): Just call internal_open_memstream_r with wide==-1
from here.
(_open_wmemstream_r): New function.
(open_wmemstream): Ditto.
* libc/include/wchar.h (open_wmemstream): Declare.
(_open_wmemstream_r): Declare.

15 years ago * cygwin.din: Export reallocf.
Corinna Vinschen [Mon, 16 Feb 2009 20:22:38 +0000 (20:22 +0000)]
* cygwin.din: Export reallocf.
* malloc_wrapper.cc( reallocf): New function.
* posix.sgml: Add reallocf to BSD section.
* include/cygwin/version.h: Bump API minor number.
* libc/fts.c: Remove erroneous reallocf definition.

15 years ago * cygwin.din: Export wcstoimax, wcstoumax.
Corinna Vinschen [Mon, 16 Feb 2009 15:36:01 +0000 (15:36 +0000)]
* cygwin.din: Export wcstoimax, wcstoumax.
* posix.sgml: Move wcstoimax and wcstoumax to SUSv4 section.
* include/inttypes.h: Declare wcstoimax and wcstoumax.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/stdio/fputwc.c: Fix typo in man page info.
Corinna Vinschen [Mon, 16 Feb 2009 15:04:34 +0000 (15:04 +0000)]
* libc/stdio/fputwc.c: Fix typo in man page info.

15 years ago * faq-using.xml: Fix usage of ampersand in NT emacs script.
Corinna Vinschen [Sat, 14 Feb 2009 20:56:48 +0000 (20:56 +0000)]
* faq-using.xml: Fix usage of ampersand in NT emacs script.

15 years ago * faq-using.xml: Expand Emacs entries.
Corinna Vinschen [Sat, 14 Feb 2009 20:52:50 +0000 (20:52 +0000)]
* faq-using.xml: Expand Emacs entries.

15 years ago * overview.sgml: Fix 1.7 release date.
Corinna Vinschen [Fri, 13 Feb 2009 18:41:32 +0000 (18:41 +0000)]
* overview.sgml: Fix 1.7 release date.

15 years ago * cygwin.din: Export wcsnlen.
Corinna Vinschen [Fri, 13 Feb 2009 18:39:37 +0000 (18:39 +0000)]
* cygwin.din: Export wcsnlen.
* posix.sgml: Move wcsnlen to SUSv4 section.
* include/cygwin/version.h: Bump API minor number.

15 years ago * environ.cc (_getenv_r): New function.
Corinna Vinschen [Fri, 13 Feb 2009 17:49:37 +0000 (17:49 +0000)]
* environ.cc (_getenv_r): New function.

15 years ago * posix.sgml: Move dirfd to SUSv4 section.
Corinna Vinschen [Fri, 13 Feb 2009 12:45:02 +0000 (12:45 +0000)]
* posix.sgml: Move dirfd to SUSv4 section.

15 years ago * cygwin-api.in.sgml: Fix API section layout.
Corinna Vinschen [Fri, 13 Feb 2009 12:23:21 +0000 (12:23 +0000)]
* cygwin-api.in.sgml: Fix API section layout.

15 years ago * posix.sgml: Move interfaces deprecated in SUSv4 to deprecated
Corinna Vinschen [Fri, 13 Feb 2009 12:19:25 +0000 (12:19 +0000)]
* posix.sgml: Move interfaces deprecated in SUSv4 to deprecated
interfaces section.  Move interfaces added in SUSv4 to SUSv4
section or, if unimplemented, add them to the unimplemented interfaces
section.

15 years ago * posix.sgml: Merge SUSv3 and SUSv4 section into a single SUSv4 section.
Corinna Vinschen [Fri, 13 Feb 2009 11:33:32 +0000 (11:33 +0000)]
* posix.sgml: Merge SUSv3 and SUSv4 section into a single SUSv4 section.
Move Solaris calls now in SUSv4 to SUSv4 section.  Rename unimplemented
section to refer to SUSv4.  Add note about missing interfaces.
Move wcstod and wcstof from unimplemented to SUSv4 section.

15 years ago * pathnames.sgml: Add a cygdrive section.
Corinna Vinschen [Fri, 13 Feb 2009 10:13:28 +0000 (10:13 +0000)]
* pathnames.sgml: Add a cygdrive section.

15 years ago * mount.cc (mount_info::from_fstab_line): Make cygdrive posix=0 by
Corinna Vinschen [Fri, 13 Feb 2009 09:05:42 +0000 (09:05 +0000)]
* mount.cc (mount_info::from_fstab_line): Make cygdrive posix=0 by
default as documented.

15 years ago * pathnames.sgml: Replace "binmode" with new "binary" output of mount.
Corinna Vinschen [Fri, 13 Feb 2009 09:04:51 +0000 (09:04 +0000)]
* pathnames.sgml: Replace "binmode" with new "binary" output of mount.

15 years ago * cygwin.din: Export wcstod and wcstof.
Corinna Vinschen [Fri, 13 Feb 2009 08:33:11 +0000 (08:33 +0000)]
* cygwin.din: Export wcstod and wcstof.
* include/cygwin/version.h: Bump API minor number.

15 years ago2009-02-12 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston [Thu, 12 Feb 2009 23:10:01 +0000 (23:10 +0000)]
2009-02-12  Corinna Vinschen  <corinna@vinschen.de>

        * libc/include/wchar.h (_wcstod_r): Declare.
        (_wcstof_r): Declare.
        (wcstod): Declare.
        (wcstof): Declare.
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstod.c.
        (CHEWOUT_FILES): Add wcstod.def.
        * libc/stdlib/Makefile.in: Regenerate.
        * libc/stdlib/stdlib.tex: Add wcstod.
        * libc/stdlib/wcstod.c: New file.

15 years ago * faq-using.xml: First cut on Emacs.
Corinna Vinschen [Thu, 12 Feb 2009 15:30:03 +0000 (15:30 +0000)]
* faq-using.xml: First cut on Emacs.

15 years ago * faq-setup.xml: Revamp for Cygwin 1.7.
Corinna Vinschen [Thu, 12 Feb 2009 14:45:50 +0000 (14:45 +0000)]
* faq-setup.xml: Revamp for Cygwin 1.7.
* faq-using.xml: Ditto.

15 years ago * faq-programming.xml: Revamp (mostely) for Cygwin 1.7.
Corinna Vinschen [Wed, 11 Feb 2009 18:22:50 +0000 (18:22 +0000)]
* faq-programming.xml: Revamp (mostely) for Cygwin 1.7.
* faq-what.xml: Ditto.

15 years ago * Makefile.in (FAQ_SOURCES): Define FAQ sources.
Corinna Vinschen [Wed, 11 Feb 2009 16:44:13 +0000 (16:44 +0000)]
* Makefile.in (FAQ_SOURCES): Define FAQ sources.
(faq/faq.html): Depend on FAQ sources.
(faq/faq-nochunks.html): Ditto.
* faq-api.xml: Revamp for Cygwin 1.7.
* faq-problems.xml: Remove.
* faq-sections.xml: Accommodate removal of faq-problems.xml.
* faq.xml: Ditto.

15 years ago * syscalls.cc (open): Handle O_DIRECTORY flag.
Corinna Vinschen [Wed, 11 Feb 2009 16:06:39 +0000 (16:06 +0000)]
* syscalls.cc (open): Handle O_DIRECTORY flag.
* include/fcntl.h: Add SUSv4 flags O_DIRECTORY, O_EXEC and O_SEARCH.
* include/cygwin/version.h: Bump API minor number.

15 years ago * fhandler_floppy.cc (fhandler_dev_floppy::open): Fix format. Add
Corinna Vinschen [Mon, 9 Feb 2009 18:28:53 +0000 (18:28 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::open): Fix format.  Add
code to allow to read disk and CD/DVD devices in full length.  Explain
why.
(fhandler_dev_floppy::raw_read): Add current position to debug output.

* include/sys/sched.h: New stub file to override newlib file with
clashing definitions.

15 years ago * include/winioctl.h (FSCTL_ALLOW_EXTENDED_DASD_IO): Copy definition
Corinna Vinschen [Mon, 9 Feb 2009 18:22:08 +0000 (18:22 +0000)]
* include/winioctl.h (FSCTL_ALLOW_EXTENDED_DASD_IO): Copy definition
from ddk/ntifs.h.

15 years agoMinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.
Keith Marshall [Sun, 8 Feb 2009 18:02:17 +0000 (18:02 +0000)]
MinGW-Feature-Request [2222263]: Make getopt() GNU / BSD compatibile.

15 years ago2009-02-06 Linton Miller <Linton.Miller@trivininc.com>
Chris Sutcliffe [Sat, 7 Feb 2009 04:34:27 +0000 (04:34 +0000)]
2009-02-06  Linton Miller  <Linton.Miller@trivininc.com>

        * include/wtsapi32.h (WTS_CURRENT_SESSION): Fix definition.

15 years ago * i386.h: Add comment regarding sse* insns and prefixes.
Doug Evans [Fri, 6 Feb 2009 23:14:34 +0000 (23:14 +0000)]
* i386.h: Add comment regarding sse* insns and prefixes.

15 years ago2009-02-05 Neal H. Walfield <neal@gnu.org>
Jeff Johnston [Thu, 5 Feb 2009 20:10:21 +0000 (20:10 +0000)]
2009-02-05  Neal H. Walfield  <neal@gnu.org>

        * libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.

15 years ago * cygwin.din: Export wcstok.
Corinna Vinschen [Thu, 5 Feb 2009 17:30:17 +0000 (17:30 +0000)]
* cygwin.din: Export wcstok.
* posix.sgml: Move wcstok from unimplemented to susv3.
* include/cygwin/version.h: Bump API minor number.

15 years ago* Makefile.tpl (stage_last): Define $r and $s before using
Andreas Schwab [Thu, 5 Feb 2009 15:45:55 +0000 (15:45 +0000)]
* Makefile.tpl (stage_last): Define $r and $s before using
$(RECURSE_FLAGS_TO_PASS).
* Makefile.in: Regenerate

15 years ago * fhandler_proc.cc (proc_tab): Add entry for mounts symlink.
Corinna Vinschen [Wed, 4 Feb 2009 16:40:04 +0000 (16:40 +0000)]
* fhandler_proc.cc (proc_tab): Add entry for mounts symlink.
(format_proc_mounts): New function to implement mounts symlink.
* fhandler_process.cc (process_tab): Add entry for mounts file.
(format_process_mounts): New function to implement mounts file.

15 years ago * security.cc (alloc_sd): Disable generating default permission entries
Corinna Vinschen [Wed, 4 Feb 2009 15:26:22 +0000 (15:26 +0000)]
* security.cc (alloc_sd): Disable generating default permission entries
for directories.

15 years agobfd:
Joseph Myers [Tue, 3 Feb 2009 18:16:04 +0000 (18:16 +0000)]
bfd:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr.
* archures.c (bfd_mach_mips_xlr): Define.
* bfd-in2.h: Regenerate.
* cpu-mips.c (I_xlr): Define.
(arch_info_struct): Add XLR entry.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR.
(mips_set_isa_flags): Handle bfd_mach_mips_xlr
(mips_mach_extensions): Add XLR entry.

binutils:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.

gas:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
M_MSGWAIT and M_MSGWAIT_T.
(mips_cpu_info_table): Add XLR entry.
* doc/c-mips.texi (-march): Document xlr.

gas/testsuite:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* gas/mips/mips.exp (xlr): New architecture.
(xlr-ext): Run test.
* gas/mips/xlr-ext.d, gas/mips/xlr-ext.s: New.

include/elf:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* mips.h (E_MIPS_MACH_XLR): Define.

include/opcode:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* mips.h (INSN_XLR): Define.
(INSN_CHIP_MASK): Update.
(CPU_XLR): Define.
(OPCODE_IS_MEMBER): Update.
(M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T): Define.

opcodes:
2009-02-03  Sandip Matte  <sandip@rmicorp.com>

* mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
(mips_arch_choices): Add XLR entry.
* mips-opc.c (XLR): Define.
(mips_builtin_opcodes): Add XLR instructions.

15 years agobfd:
Joseph Myers [Tue, 3 Feb 2009 15:54:01 +0000 (15:54 +0000)]
bfd:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am
and install-pdf-recursive targets. Define pdfdir.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate
* doc/Makefile.in: Regenerate.

binutils:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

etc:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* configure: Regenerate.

gas:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

gprof:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets. Define pdf__strip_dir.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.

ld:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets. Define pdf__strip_dir.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.

opcodes:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* Makefile.am: Add install-pdf target.
* po/Make-in: Add install-pdf target.
* Makefile.in: Regenerate.

15 years ago M68K TLS support.
Nick Clifton [Tue, 3 Feb 2009 14:36:47 +0000 (14:36 +0000)]
    M68K TLS support.

        ld/testsuite/
        * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
        * ld-m68k/got-multigot-14-ok.d: Update.
        * ld-m68k/m68k-got.exp: Update.
        * ld-m68k/got-negative-12-13-14-34-ok.d: Update.
        * ld-m68k/got-negative-14-ok.d: Update.
        * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
        * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
        * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
        * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
        New test sources.
        * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
        New test sources.
        * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
        * ld-m68k/m68k.exp: Run new tests.
        (merge isa-a isa-a:nodiv): Fix.

        gas/testsuite/
        * gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test.
        * gas/m68k/all.exp: Run it.

        gas/
        * config/m68k-parse.h (enum pic_relocation): Add values for TLS
        relocations.
        * config/m68k-parse.y (yylex): Parse TLS relocations.
        * config/tc-m68k.c (m68k_elf_cons): New static function.
        (md_pseudo_table): Use it.
        (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
        relocations.
        (md_apply_fix): Fix to set thread local flag.
        (m68k_elf_suffix): New static function; helper for m68k_elf_cons.

        include/elf/
        * m68k.h: Map TLS relocations to numbers.

        bfd/
        * bfd-in2.h: Regenerate.
        * elf32-m68k.c: Handle 2-slot GOT entries.  Rename variables and
        fields from n_entries to n_slots where appropriate, update comments.
        (HOWTO): Add TLS relocations.
        (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
        (enum elf_m68k_got_offset_size): New enum.
        (struct elf_m68k_got_entry.type): Move field to ...
        (struct elf_m68k_got_entry_key): ... here.  Update all uses.
        (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
        functions.
        (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
        functions.
        (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
        fields into n_entries array.  Update comments.
        (elf_m68k_init_got): Simplify, update all uses.
        (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
        (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
        GOT entries; update name, update all uses.
        (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
        (elf_m68k_get_got_entry): Update.
        (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
        simplify.
        (elf_m68k_remove_got_entry_type): Simplify.
        (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
        (elf_m68k_can_merge_gots): Update.
        (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
        (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
        GOT entries, simplify.
        (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
        (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
        field, remove obsoleted local_n_entries field.
        (elf_m68k_partition_multi_got_2): New static function.
        (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
        update.
        (elf_m68k_remove_got_entry_type): Update.
        (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
        (elf_m68k_check_relocs): Handle TLS relocations.  Remove unnecessary
        update of sgot->size and srelgot->size.
        (elf_m68k_gc_sweep_hook): Update.
        (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
        (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
        TLS relocations.
        * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
        * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.

15 years ago * pathnames.sgml: Rephrase the "Case sensitive filenames" chapter
Corinna Vinschen [Tue, 3 Feb 2009 09:03:18 +0000 (09:03 +0000)]
* pathnames.sgml: Rephrase the "Case sensitive filenames" chapter
slightly.

15 years ago * config/tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails.
Doug Evans [Mon, 2 Feb 2009 23:18:05 +0000 (23:18 +0000)]
* config/tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails.
(SC_PATH_TKCONFIG): Don't exit 0 if tkconfig fails.
(SC_LOAD_TCLCONFIG): Quote all uses of TCL_BIN_DIR, it may contain
"# no Tcl configs found".
(SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.

* gdb/configure.ac (gdbkt): Check both no_tcl/no_tk first, before
doing any further tcl/tk configury.  Don't configure gdbtk if
tcl or tk check fails.
* gdb/aclocal.m4: Regenerate.
* gdb/configure: Regenerate.
* gdb/gdbtk/plugins/aclocal.m4: Regenerate.
* gdb/gdbtk/plugins/configure: Regenerate.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix inode number
Corinna Vinschen [Thu, 29 Jan 2009 20:32:08 +0000 (20:32 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix inode number
evaluation for faked "." entry.

* mount.cc (fs_info::update): Move setting of is_cdrom after checking
for caseinsensitivity.  Recognize UDF in is_cdrom case and set
caseinsensitive flag according to UDF brokenness determined by OS.
Add comment to explain why.
* mount.h (class fs_info): Add is_udf status flag.
* path.cc (symlink_info::check): Add workaround for UDF bug in
terms of casesensitivity on certain OSes.
* wincap.h (wincaps::has_broken_udf): New element.
(wincaps::has_broken_udf): New element

15 years ago * cygcheck.cc (dump_sysinfo): Evaluate and print state of
Corinna Vinschen [Thu, 29 Jan 2009 19:31:04 +0000 (19:31 +0000)]
* cygcheck.cc (dump_sysinfo): Evaluate and print state of
obcaseinsensitive kernel flag.

15 years agofix typo in previous entry
Doug Evans [Thu, 29 Jan 2009 00:37:12 +0000 (00:37 +0000)]
fix typo in previous entry

15 years ago * opcode/i386.h: Add multiple inclusion protection.
Doug Evans [Thu, 29 Jan 2009 00:29:53 +0000 (00:29 +0000)]
* opcode/i386.h: Add multiple inclusion protection.
(EAX_REG_NUM,ECX_REG_NUM,EDX_REGNUM,EBX_REG_NUM,ESI_REG_NUM)
(EDI_REG_NUM): New macros.
(MODRM_MOD_FIELD,MODRM_REG_FIELD,MODRM_RM_FIELD): New macros.
(SIB_SCALE_FIELD,SIB_INDEX_FIELD,SIB_BASE_FIELD): New macros.
(REG_PREFIX_P): New macro.

* amd64-tdep.h (amd64_displaced_step_copy_insn): Declare.
(amd64_displaced_step_fixup): Declare.
* amd64-tdep.c: #include opcode/i386.h, dis-asm.h.
(amd64_arch_regmap): Move out of amd64_analyze_stack_align
and make static global.
(amd64_arch_regmap_len): New static global.
(amd64_arch_reg_to_regnum): New function.
(struct amd64_insn): New struct.
(struct displaced_step_closure): New struct.
(onebyte_has_modrm,twobyte_has_modrm): New static globals.
(rex_prefix_p,skip_prefixes)
(amd64_insn_length_fprintf,amd64_insn_length_init_dis)
(amd64_insn_length,amd64_get_unused_input_int_reg)
(amd64_get_insn_details,fixup_riprel,fixup_displaced_copy)
(amd64_displaced_step_copy_insn)
(amd64_absolute_jmp_p,amd64_absolute_call_p,amd64_ret_p)
(amd64_call_p,amd64_breakpoint_p,amd64_syscall_p)
(amd64_displaced_step_fixup): New functions.
* amd64-linux-tdep.c: #include arch-utils.h.
(amd64_linux_init_abi): Install displaced stepping support.

* gdb.arch/amd64-disp-step.S: New file.
* gdb.arch/amd64-disp-step.exp: New file.
* gdb.arch/i386-disp-step.S: New file.
* gdb.arch/i386-disp-step.exp: New file.

15 years ago2009-01-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 28 Jan 2009 18:12:52 +0000 (18:12 +0000)]
2009-01-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for
        inf and nan processing to not proceed if we have already collected
        zeroes.

15 years ago* fhandler.cc (fhandler_base::wait_overlapped): Set bytes to -1 on EINTR or
Christopher Faylor [Tue, 27 Jan 2009 05:21:08 +0000 (05:21 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Set bytes to -1 on EINTR or
real error.
(fhandler_base::write_overlapped): Assume that bytes_written will contain
proper error value.
* pipe.cc (fhandler_pipe::fhandler_pipe): Set uninterruptible_io since signals
are handled by pipe functions now.

15 years ago* configure.host (m32c-*-*): Add long long I/O support by default.
DJ Delorie [Tue, 27 Jan 2009 01:41:31 +0000 (01:41 +0000)]
* configure.host (m32c-*-*): Add long long I/O support by default.

15 years ago * shared.cc (shared_name): New function for WCHAR names.
Corinna Vinschen [Mon, 26 Jan 2009 13:42:37 +0000 (13:42 +0000)]
* shared.cc (shared_name): New function for WCHAR names.
(open_shared): Take name parameter as WCHAR.  Accommodate throughout.
* shared_info.h ((CURR_SHARED_MAGIC): Redefine.
(shared_name): Add declaration for function taking a WCHAR name.
(open_shared): Change declaration according to above change.
* pinfo.cc (pinfo::init) : Accommodate above change.

15 years ago * grp.cc (getgrgid_r): Simplify code by using stpcpy.
Corinna Vinschen [Mon, 26 Jan 2009 13:20:46 +0000 (13:20 +0000)]
* grp.cc (getgrgid_r): Simplify code by using stpcpy.
(getgrnam_r): Ditto.
* passwd.cc (getpwuid_r32): Simplify code by using stpcpy.
(getpwnam_r): Ditto.

15 years ago * uinfo.cc (pwdgrp::load): Open file with FILE_OPEN_FOR_BACKUP_INTENT
Corinna Vinschen [Mon, 26 Jan 2009 13:03:49 +0000 (13:03 +0000)]
* uinfo.cc (pwdgrp::load): Open file with FILE_OPEN_FOR_BACKUP_INTENT
flag.

15 years ago * mount.cc (mount_info::from_fstab): Open fstab file with
Corinna Vinschen [Sat, 24 Jan 2009 16:30:09 +0000 (16:30 +0000)]
* mount.cc (mount_info::from_fstab): Open fstab file with
FILE_OPEN_FOR_BACKUP_INTENT flag.

15 years ago * pathnames.sgml: Add requirement for world-readability of special
Corinna Vinschen [Sat, 24 Jan 2009 15:31:18 +0000 (15:31 +0000)]
* pathnames.sgml: Add requirement for world-readability of special
/etc files.

15 years ago * pathnames.sgml: Add section about accessing /etc files.
Corinna Vinschen [Sat, 24 Jan 2009 12:26:10 +0000 (12:26 +0000)]
* pathnames.sgml: Add section about accessing /etc files.

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