]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago2009-04-21 Mark Mitchell <mark@codesourcery.com>
Jeff Johnston [Tue, 21 Apr 2009 18:24:59 +0000 (18:24 +0000)]
2009-04-21  Mark Mitchell  <mark@codesourcery.com>

        * libc/include/_ansi.h: Move C++ defines to top of file.
        (_NOTHROW): New macro.
        (_EXFUN_NOTHROW): Likewise.
        * libc/include/stdlib.h (calloc): Declare with _EXFUN_NOTHROW.
        (free): Likewise.
        (malloc): Likewise.
        (realloc): Likewise.
        (_malloc_r): Likewise.
        (_callor_r): Likewise.
        (_free_r): Likewise.
        (_realloc_r): Likewise.

15 years ago* mep/Makefile.in (SCRIPTS): Update to new config.
DJ Delorie [Tue, 21 Apr 2009 18:13:32 +0000 (18:13 +0000)]
* mep/Makefile.in (SCRIPTS): Update to new config.
* mep/default.ld: New.
* mep/gmap_default.ld: Change default endian to little.
* mep/sim-crt0.S: Maintain 8-byte stack alignment.
* mep/sim-crtn.S: Likewise.

15 years ago * texinfo/texinfo.tex: Update to version 2009-03-28.05.
Joseph Myers [Tue, 21 Apr 2009 12:36:46 +0000 (12:36 +0000)]
* texinfo/texinfo.tex: Update to version 2009-03-28.05.

15 years agobfd/ChangeLog
Dave Korn [Tue, 21 Apr 2009 02:13:48 +0000 (02:13 +0000)]
bfd/ChangeLog

2009-04-21  Kai Tietz  <kai.tietz@onevision.com>

* coff-x86_64.c (PEI_HEADERS): Protect includes.
(bfd_pe_print_pdata): Remove #ifdef PE variation.
* pei-x86_64.c (PEI_HEADERS): Define to prevent double
include in coff-x86_64.c of headers.
(PDATA_ROW_SIZE): New define.
(pex_regs[]): New static array.
(pex64_get_runtime_function): New static function.
(pex64_get_unwind_info): Likewise.
(pex64_get_scope_entry): Likewise.
(pex64_xdata_print_uwd_codes): Likewise.
(pep_get_section_by_rva): Likewise.
(pex64_dump_xdata): Likewise.
(pex64_bfd_print_pdata): Likewise.
(bfd_pe_print_pdata): Define as pex64_bfd_print_pdata.
* peXXigen.c (_bfd_pex64_print_pdata): Removed implementation.
* libpei.h (_bfd_pex64_print_pdata): Removed declaration.

include/ChangeLog

2009-04-21  Kai Tietz  <kai.tietz@onevision.com>

* coff/pe.h (pex64_runtime_function): New structure.
(external_pex64_runtime_function): Likewise.
(pex64_unwind_code): Likewise.
(external_pex64_unwind_code): Likewise.
(pex64_unwind_info): Likewise.
(external_pex64_unwind_info): Likewise.
(external_pex64_scope): Likewise.
(pex64_scope): Likewise.
(pex64_scope_entry):  Likewise.
(external_pex64_scope_entry): Likewise.
(PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro.
(PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise.
(PEX64_UNWCODE_CODE): Likewise.
(PEX64_UNWCODE_INFO): Likewise.
(UWOP_...): Add defines for unwind code.
(UNW_FLAG_...): Add defined for unwind info flags.
(PEX64_SCOPE_ENTRY_SIZE): New macro.
(PEX64_UWI_VERSION): Likewise.
(PEX64_UWI_FLAGS): Likewise.
(PEX64_UWI_FRAMEREG): Likewise.
(PEX64_UWI_FRAMEOFF): Likewise.
(PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise.
(PEX64_OFFSET_TO_UNWIND_CODE): Likewise.
(PEX64_OFFSET_TO_HANDLER_RVA): Likewise.
(PEX64_OFFSET_TO_SCOPE_COUNT): Likewise.
(PEX64_SCOPE_ENTRY): Likewise.

15 years ago2009-04-20 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 20 Apr 2009 18:06:14 +0000 (18:06 +0000)]
2009-04-20  Jeff johnston  <jjohnstn@redhat.com>

        * libc/include/math.h: Change _LDBL_EQ_DBL flag usage to
        be _HAVE_LDBL_MATH.
        * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to
        be _HAVE_LDBL_STDLIB.

15 years ago * flock.cc (lf_setlock): Handle border case which results in WFMO loop
Corinna Vinschen [Mon, 20 Apr 2009 17:13:19 +0000 (17:13 +0000)]
* flock.cc (lf_setlock): Handle border case which results in WFMO loop
exiting with ret == WAIT_TIMEOUT gracefully.  Add a system_printf to
uncover other potential problems with WFMO loop.

15 years ago* mkimport: Specify .text for stub explicitly.
Christopher Faylor [Sat, 18 Apr 2009 17:23:45 +0000 (17:23 +0000)]
* mkimport: Specify .text for stub explicitly.
* speclib: Add a dummy '.idata$7' section referring to the dll associated with
the real import library.

15 years ago * dcrt0.cc (globify): Only call mbtowc for non-ascii chars.
Corinna Vinschen [Sat, 18 Apr 2009 11:08:37 +0000 (11:08 +0000)]
* dcrt0.cc (globify): Only call mbtowc for non-ascii chars.

15 years ago2009-04-17 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Apr 2009 22:15:43 +0000 (22:15 +0000)]
2009-04-17  Jeff johnston  <jjohnstn@redhat.com>

        * libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove.
        * libc/stdlib/local.h (_LDBL_EQ_DBL): Add.
        * libc/stdlib/strtold.c: Include local.h.
        * libc/stdlib/wcstold.c: Likewise.
        * libm/common/atanl.c: Likewise.
        * libm/common/cosl.c: Likewise.
        * libm/common/sinl.c: Likewise.
        * libm/common/modfl.c: Likewise.
        * libm/common/frexpl.c: Likewise.
        * libm/common/tanhl.c: Likewise.
        * libm/common/tanl.c: Likewise.
        * libm/common/expm1l.c: Likewise.
        * libm/common/log1pl.c: Likewise.
        * libm/common/ceill.c: Likewise.
        * libm/common/fabsl.c: Likewise.
        * libm/common/floorl.c: Likewise.
        * libm/common/acosl.c: Likewise.
        * libm/common/asinl.c: Likewise.
        * libm/common/atan2l.c: Likewise.
        * libm/common/coshl.c: Likewise.
        * libm/common/expl.c: Likewise.
        * libm/common/fmodl.c: Likewise.
        * libm/common/hypotl.c: Likewise.
        * libm/common/ldexpl.c: Likewise.
        * libm/common/log10l.c: Likewise.
        * libm/common/logl.c: Likewise.
        * libm/common/powl.c: Likewise.
        * libm/common/sqrtl.c: Likewise.
        * libm/common/copysignl.c: Likewise.
        * libm/common/ilogbl.c: Likewise.
        * libm/common/nanl.c: Likewise.
        * libm/common/cbrtl.c: Likewise.
        * libm/common/asinhl.c: Likewise.
        * libm/common/nextafterl.c: Likewise.
        * libm/common/rintl.c: Likewise.
        * libm/common/scalbnl.c: Likewise.
        * libm/common/exp2l.c: Likewise.
        * libm/common/fdiml.c: Likewise.
        * libm/common/fmal.c: Likewise.
        * libm/common/fmaxl.c: Likewise.
        * libm/common/fminl.c: Likewise.
        * libm/common/lrintl.c: Likewise.
        * libm/common/lroundl.c: Likewise.
        * libm/common/nearbyintl.c: Likewise.
        * libm/common/remquol.c: Likewise.
        * libm/common/roundl.c: Likewise.
        * libm/common/scalblnl.c: Likewise.
        * libm/common/truncl.c: Likewise.
        * libm/common/acoshl.c: Likewise.
        * libm/common/atanhl.c: Likewise.
        * libm/common/erfcl.c: Likewise.
        * libm/common/erfl.c: Likewise.
        * libm/common/lgammal.c: Likewise.
        * libm/common/remainderl.c: Likewise.
        * libm/common/tgammal.c: Likewise.
        * libm/common/sinhl.c: Likewise.
        * libm/common/llroundl.c: Likewise.
        * libm/common/llrintl.c: Likewise.
        * libm/common/local.h: New file with _LDBL_EQ_DBL macro.

15 years ago2009-04-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 17 Apr 2009 20:54:19 +0000 (20:54 +0000)]
2009-04-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/include/machine/ieeefp.h: _LDBL_EQ_DBL check fixed.
        * libc/include/math.h (llrintl): Declare.
        * libm/common/llrintl.c: New File.
        * libm/common/Makefile.am: New File added.
        * libm/common/Makefile.in: Regenerate.

15 years ago2009-04-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 17 Apr 2009 20:50:44 +0000 (20:50 +0000)]
2009-04-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
        avoid executable test.
        * libc/configure: Regenerate.

15 years ago2009-04-17 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Apr 2009 20:48:34 +0000 (20:48 +0000)]
2009-04-17  Jeff johnston  <jjohnstn@redhat.com>

        * configure.in: Remove _HAVE_ARRAY_ALIASING check.
        * configure: Regenerated.
        * Makefile.in: Regenerated.
        * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
        * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
        * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
        avoid executable test.
        * libm/configure: Regenerated.

15 years ago2009-04-17 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Apr 2009 16:18:17 +0000 (16:18 +0000)]
2009-04-17  Jeff johnston  <jjohnstn@redhat.com>

        * configure.in: Remove _HAVE_ARRAY_ALIASING check.
        * configure: Regenerated.
        * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
        * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
        * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
        avoid executable test.
        * libm/configure: Regenerated.

15 years agobfd/
H.J. Lu [Fri, 17 Apr 2009 15:03:47 +0000 (15:03 +0000)]
bfd/

2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>

* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace
IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER.

binutils/

2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>

* objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
* doc/binutils.texi: Likewise.

include/coff/

2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>

* pe.h (IMAGE_SUBSYSTEM_EFI_ROM): Renamed to ...
(IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER): This.

15 years ago * dcrt0.cc (globify): Make multibyte-aware.
Corinna Vinschen [Fri, 17 Apr 2009 14:51:44 +0000 (14:51 +0000)]
* dcrt0.cc (globify): Make multibyte-aware.

15 years ago * flock.cc (class inode_t): Add i_wait member and matching methods
Corinna Vinschen [Fri, 17 Apr 2009 13:29:08 +0000 (13:29 +0000)]
* flock.cc (class inode_t): Add i_wait member and matching methods
wait(), unwait(), and waiting().
(inode_t::inode_t): Initialize i_wait to 0.
(fhandler_disk_file::lock): Only remove node if no other thread is
waiting for a blocking lock.
(lf_setlock): Manipulate node->i_wait to signal that a thread is
waiting for a blocking lock in this node.
(lf_findoverlap): Reinstantiate SELF test as in original code.

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Fri, 17 Apr 2009 11:40:14 +0000 (11:40 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago2009-04-16 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 16 Apr 2009 19:16:41 +0000 (19:16 +0000)]
2009-04-16  Jeff johnston  <jjohnstn@redhat.com>

        * libc/misc/init.c (__libc_fini_array): Process fini_array in
        reverse order as compliant with the ELF specification.

15 years ago2009-04-16 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 16 Apr 2009 18:38:23 +0000 (18:38 +0000)]
2009-04-16  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/Makefile.am: Add new File.
        * libc/machine/spu/Makefile.in: Regenerate.
        * libc/machine/spu/fdopen.c: New file.

15 years ago2009-04-16 Hans-Peter Nilsson <hp@axis.com>
Jeff Johnston [Thu, 16 Apr 2009 18:29:51 +0000 (18:29 +0000)]
2009-04-16  Hans-Peter Nilsson  <hp@axis.com>

        * libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.

15 years ago2009-04-16 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 16 Apr 2009 18:24:35 +0000 (18:24 +0000)]
2009-04-16  Ken Werner  <ken.werner@de.ibm.com>

        * libm/libm.texinfo: Add long double function support chapter.
        * libc/include/machine/ieeefp.h: Add _LDBL_EQ_DBL define.
        * libc/include/stdlib.h: Include <machine/ieeefp.h>.
        (strtold, wcstold): Declare.
        * libc/stdlib/strtold.c: New File.
        * libc/stdlib/wcstold.c: Likewise.
        * libc/configure.in: Add long double check.
        * libc/configure: Regenerate.
        * libc/stdlib/Makefile.am: Add strtold.c and wcstold.c.
        * libc/stdlib/Makefile.in: Regenerate.
        * libc/include/math.h (atanl, cosl, sinl, tanl, tanhl): Declare.
        (frexpl, modfl, ceill, fabsl, floorl, log1pl, expm1l, acosl): Ditto.
        (asinl, atan2l, coshl, sinhl, expl, ldexpl, logl, log10l, powl): Ditto.
        (sqrtl, fmodl, hypotl, copysignl, nanl, ilogbl, asinhl, cbrt): Ditto.
        (nextafterl, rintl, scalbnl, exp2l, scalblnl, tgammal): Ditto.
        (nearbyintl, lrintl, llrintl, roundl, lroundl, llround): Ditto.
        (llroundl, truncl, remquol, fdiml, fmaxl, fminl, fmal, acoshl): Ditto.
        (atanhl, remainderl, lgammal, erfl, erfcl): Ditto.
        * libm/common/atanl.c: New File.
        * libm/common/cosl.c: Likewise.
        * libm/common/sinl.c: Likewise.
        * libm/common/modfl.c: Likewise.
        * libm/common/frexpl.c: Likewise.
        * libm/common/tanhl.c: Likewise.
        * libm/common/tanl.c: Likewise.
        * libm/common/expm1l.c: Likewise.
        * libm/common/log1pl.c: Likewise.
        * libm/common/ceill.c: Likewise.
        * libm/common/fabsl.c: Likewise.
        * libm/common/floorl.c: Likewise.
        * libm/common/acosl.c: Likewise.
        * libm/common/asinl.c: Likewise.
        * libm/common/atan2l.c: Likewise.
        * libm/common/coshl.c: Likewise.
        * libm/common/expl.c: Likewise.
        * libm/common/fmodl.c: Likewise.
        * libm/common/hypotl.c: Likewise.
        * libm/common/ldexpl.c: Likewise.
        * libm/common/log10l.c: Likewise.
        * libm/common/logl.c: Likewise.
        * libm/common/powl.c: Likewise.
        * libm/common/sqrtl.c: Likewise.
        * libm/common/copysignl.c: Likewise.
        * libm/common/ilogbl.c: Likewise.
        * libm/common/nanl.c: Likewise.
        * libm/common/cbrtl.c: Likewise.
        * libm/common/asinhl.c: Likewise.
        * libm/common/nextafterl.c: Likewise.
        * libm/common/rintl.c: Likewise.
        * libm/common/scalbnl.c: Likewise.
        * libm/common/exp2l.c: Likewise.
        * libm/common/fdiml.c: Likewise.
        * libm/common/fmal.c: Likewise.
        * libm/common/fmaxl.c: Likewise.
        * libm/common/fminl.c: Likewise.
        * libm/common/lrintl.c: Likewise.
        * libm/common/lroundl.c: Likewise.
        * libm/common/nearbyintl.c: Likewise.
        * libm/common/remquol.c: Likewise.
        * libm/common/roundl.c: Likewise.
        * libm/common/scalblnl.c: Likewise.
        * libm/common/truncl.c: Likewise.
        * libm/common/acoshl.c: Likewise.
        * libm/common/atanhl.c: Likewise.
        * libm/common/erfcl.c: Likewise.
        * libm/common/erfl.c: Likewise.
        * libm/common/lgammal.c: Likewise.
        * libm/common/remainderl.c: Likewise.
        * libm/common/tgammal.c: Likewise.
        * libm/common/sinhl.c: Likewise.
        * libm/common/llroundl.c: Likewise.
        * libm/configure.in: Add long double check.
        * libm/configure: Regenerate.
        * libm/common/Makefile.am: Add new files.
        * libm/common/Makefile.in: Regenerate.

15 years agoFix typo in previous commit.
Nick Clifton [Thu, 16 Apr 2009 17:11:21 +0000 (17:11 +0000)]
Fix typo in previous commit.

15 years ago * dlfcn.cc (get_full_path_of_dll): Just return a bool value. Drop
Corinna Vinschen [Thu, 16 Apr 2009 16:17:58 +0000 (16:17 +0000)]
* dlfcn.cc (get_full_path_of_dll): Just return a bool value.  Drop
local path_conv in favor of getting it as parameter.  Add local string
buffer instead of getting it as parameter.
(dlopen): Accommodate get_full_path_of_dll change.  Fetch WCHAR Windows
path from path_conv variable and call LoadLibraryW.

15 years agoAdd new binutils target: moxie
Nick Clifton [Thu, 16 Apr 2009 15:39:46 +0000 (15:39 +0000)]
Add new binutils target: moxie

15 years ago * ntdll.h (STATUS_LOCK_NOT_GRANTED): Define.
Corinna Vinschen [Thu, 16 Apr 2009 12:16:35 +0000 (12:16 +0000)]
* ntdll.h (STATUS_LOCK_NOT_GRANTED): Define.
* syscalls.cc (unlink_nt): Handle STATUS_LOCK_NOT_GRANTED same as
STATUS_SHARING_VIOLATION.  Add lengthy comment to explain why.

15 years ago * cygpath.cc (do_pathconv): Only skip \\?\ prefix if it's really
Corinna Vinschen [Wed, 15 Apr 2009 10:00:40 +0000 (10:00 +0000)]
* cygpath.cc (do_pathconv): Only skip \\?\ prefix if it's really
given.  Do backslash to slash conversion for mixed paths after
handling \\?\ prefix.

15 years ago * path.cc (path_conv::get_wide_win32_path): Allow relative paths.
Corinna Vinschen [Wed, 15 Apr 2009 09:58:41 +0000 (09:58 +0000)]
* path.cc (path_conv::get_wide_win32_path): Allow relative paths.
(cygwin_conv_path): In case of CCP_POSIX_TO_WIN_W, convert relative
paths to absolute paths if the relative pathname length exceeds
MAX_PATH.

15 years ago * libc/bsdlib.cc: Align copyright with upstream.
Corinna Vinschen [Wed, 15 Apr 2009 08:20:47 +0000 (08:20 +0000)]
* libc/bsdlib.cc: Align copyright with upstream.
* libc/fnmatch.c: Ditto.
* libc/fts.c: Ditto.
* libc/inet_addr.c: Ditto.
* libc/inet_network.c: Ditto.
* libc/rcmd.cc: Ditto.
* libc/rexec.cc: Ditto.

15 years ago* speclib: Really revert to using tempdir.
Christopher Faylor [Tue, 14 Apr 2009 15:10:28 +0000 (15:10 +0000)]
* speclib: Really revert to using tempdir.

15 years ago* speclib: Revert to using tempdir.
Christopher Faylor [Tue, 14 Apr 2009 14:28:34 +0000 (14:28 +0000)]
* speclib: Revert to using tempdir.

15 years ago * localtime.cc (tzload): Implement setting __tzrule's offset member
Corinna Vinschen [Tue, 14 Apr 2009 12:08:07 +0000 (12:08 +0000)]
* localtime.cc (tzload): Implement setting __tzrule's offset member
using newlib's __gettzinfo () interface also when tzload returns
successfully.

15 years ago * include/stdint.h (intptr_t): Remove long from type.
Dave Korn [Mon, 13 Apr 2009 22:55:00 +0000 (22:55 +0000)]
* include/stdint.h (intptr_t):  Remove long from type.
(uintptr_t):  Likewise.
(INTPTR_MIN):  Remove 'L' suffix.
(INTPTR_MAX, UINTPTR_MAX):  Likewise.

15 years ago * Makefile.in (dumper.exe): Add -lz to ALL_LDFLAGS.
Dave Korn [Mon, 13 Apr 2009 22:51:02 +0000 (22:51 +0000)]
* Makefile.in (dumper.exe):  Add -lz to ALL_LDFLAGS.

15 years ago* speclib: Initial stab at cleaning up temp files. More work needed.
Christopher Faylor [Sun, 12 Apr 2009 05:11:08 +0000 (05:11 +0000)]
* speclib: Initial stab at cleaning up temp files.  More work needed.
* mkimport: Ditto.

15 years ago* Makefile.in (clean): Clean globals.h.
Christopher Faylor [Sun, 12 Apr 2009 04:14:31 +0000 (04:14 +0000)]
* Makefile.in (clean): Clean globals.h.
(LIBCOS): Depend on globals.h.

15 years ago* mkimport: New script to perform all operations necessary to create
Christopher Faylor [Sun, 12 Apr 2009 03:19:52 +0000 (03:19 +0000)]
* mkimport: New script to perform all operations necessary to create
libcygwin.a.
* rmsym: Delete.
* newsym: Delete.
* Makefile.in (toolopts): New variable which holds options relating to
binutils/gcc tools.
(speclib): Use toolopts.  Add symbols to avoid copying to special libraries.
(OBSOLETE_FUNCTIONS): Delete.
(NEW_FUNCTIONS): Change to represent an argument to new mkimport script.
(libcygwin.a): Use only new mkimport script to create libcygwin.a.  Only rely
on ${LIBCOS}.
(*/lib*.a): Simplify speclib dependencies.
(speclib): Accept toolchain options.  Convert every argument to absolute path.
Simplify parsing of nm output.  Accommodate new exclude option.

15 years ago2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
Chris Sutcliffe [Sat, 11 Apr 2009 12:41:09 +0000 (12:41 +0000)]
2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>

        * include/stdint.h (int_fast8_t): Specify as signed char.
        (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
        (INT32_C, UINT32_C): Remove 'L' type specifier on constant.

15 years ago * include/stdint.h (INTPTR_MIN, INTPTR_MAX): Add 'L' suffix.
Corinna Vinschen [Sat, 11 Apr 2009 08:07:30 +0000 (08:07 +0000)]
* include/stdint.h (INTPTR_MIN, INTPTR_MAX):  Add 'L' suffix.
(WINT_MAX):  Add 'U' suffix.

15 years ago* speclib: Use a more robust method to derive full file path.
Christopher Faylor [Fri, 10 Apr 2009 04:29:25 +0000 (04:29 +0000)]
* speclib: Use a more robust method to derive full file path.

15 years ago* speclib: Semi-revert to previous version but don't try to generate
Christopher Faylor [Thu, 9 Apr 2009 21:02:53 +0000 (21:02 +0000)]
* speclib: Semi-revert to previous version but don't try to generate
well-formed import library.  Instead, just extract appropriate symbols and let
later libcygwin.a on link line fill in the rest of the import stuff.
* gendef: Hopefully no-op modification to allow easier post-processing on
symbol values.

15 years ago * syscalls.cc (try_to_bin): Use tmp_pathbuf buffer to allocate infobuf
Corinna Vinschen [Thu, 9 Apr 2009 17:55:01 +0000 (17:55 +0000)]
* syscalls.cc (try_to_bin): Use tmp_pathbuf buffer to allocate infobuf
rather than using the stack.

15 years ago * syscalls.cc (try_to_bin): Fix alignment of infobuf.
Corinna Vinschen [Thu, 9 Apr 2009 17:00:35 +0000 (17:00 +0000)]
* syscalls.cc (try_to_bin): Fix alignment of infobuf.

15 years ago2009-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
H.J. Lu [Thu, 9 Apr 2009 15:54:10 +0000 (15:54 +0000)]
2009-04-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.
* configure: Regenerate.

15 years ago2009-04-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 9 Apr 2009 15:40:57 +0000 (15:40 +0000)]
2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10039
* configure.ac: Require texinfo 4.7.
* configure: Regenerated.

15 years ago2009-04-09 Steve Ellcey <sje@cup.hp.com>
H.J. Lu [Thu, 9 Apr 2009 15:39:52 +0000 (15:39 +0000)]
2009-04-09  Steve Ellcey  <sje@cup.hp.com>

* Makefil.def (languages): New entries.
* Makefile.tpl (check-gcc-*): New generic target.
* Makefile.in: Regenerate.

15 years ago * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
Corinna Vinschen [Thu, 9 Apr 2009 10:37:58 +0000 (10:37 +0000)]
* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
* libc/ctype/ctype_cp.h: Mark non-cased letters in tables for codepages
720, 862, 874, 1255, and 1256 to _U|_L.  Fix a couple of incorrect
class mappings.
* libc/ctype/ctype_iso.h: Mark non-cased letters in ISO-8859 tables
6, 8, and 11 to _U|_L.  Fix a couple of incorrect class mappings.
* libc/ctype/isblank.c (isblank): Special case TAB.
* libc/ctype/islower.c (islower): Check explicitely for _L flag only
in (_U|_L).
* libc/ctype/isupper.c (isupper): Ditto, but check for _U flag.
* libc/include/ctype.h (islower): Same in macro.
(isupper): Ditto.
(isblank): Special case TAB.  Redefine macro for GCC only.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchown): Catch an
Corinna Vinschen [Thu, 9 Apr 2009 09:19:03 +0000 (09:19 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Catch an
error when changing the user account on a standalone Samba server.
Explain why.
* sec_acl.cc (setacl): Accommodate additional parameter to set_file_sd.
* sec_helper.cc (SECURITY_SAMBA_UNIX_AUTHORITY): Define.
(well_known_samba_unix_user_fake_sid): Define.
* security.cc (set_file_sd): Take additional parameter if ownership
should be changed.  Restrict requested permissions accordingly.
(set_file_attribute): Accommodate additional parameter to set_file_sd.
* security.h (well_known_samba_unix_user_fake_sid): Declare.
(set_file_sd): Align declaration to above change.

15 years ago * libc/stdlib/local.h (__mbtowc): Declare extern.
Corinna Vinschen [Thu, 9 Apr 2009 08:24:37 +0000 (08:24 +0000)]
* libc/stdlib/local.h (__mbtowc): Declare extern.
(__wctomb): Ditto.

15 years ago * libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
Corinna Vinschen [Thu, 9 Apr 2009 08:20:10 +0000 (08:20 +0000)]
* libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
recognizes 0x8e and 0x8f lead bytes.
(_iseucjp2): Rename from _iseucjp.
* libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212
triplebyte sequences as well.
* libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212
triplebyte sequences as well.

15 years ago2009-04-08 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Wed, 8 Apr 2009 20:00:01 +0000 (20:00 +0000)]
2009-04-08  Ken Werner  <ken.werner@de.ibm.com>

        * configure.in: Add square brackets for the array aliasing conftest.
        * configure: Regenerate.

15 years agobfd/
H.J. Lu [Wed, 8 Apr 2009 16:04:49 +0000 (16:04 +0000)]
bfd/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_add_object_symbols): Warn alternate ELF
machine code.

include/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Add warn_alternate_em.

ld/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
(ld_options): Likewise.
(parse_args): Likewise.

* ld.texinfo: Document --warn-alternate-em.

* NEWS: Mention --warn-alternate-em.

15 years ago[include/elf]
DJ Delorie [Wed, 8 Apr 2009 02:24:19 +0000 (02:24 +0000)]
[include/elf]
* mep.h (EF_MEP_CPU_C5): New.
[bfd]
* archures.c: Add bfd_mach_mep_c5.
* bfd-in2.h: Likewise.
* cpu-mep.c: Add bfd_c5_arch.
* elf32-mep.c: Support it.
[gas]
* config/tc-mep.c: Add UCI/DSP instruction support.  Add C5 support.
(md_show_usage): Change default endian to little.
* config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
[ld]
* emulparams/elf32mep.sh: Change default endian to little.

15 years ago[bfd]
DJ Delorie [Tue, 7 Apr 2009 18:21:21 +0000 (18:21 +0000)]
[bfd]
* elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes.
[gas]
* tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
immediates.
(build_bytes): Pass insn to do_a_fix_imm.
[include/opcode]
* h8300.h: Add relaxation attributes to MOVA opcodes.

15 years ago * include/stdint.h (int_least32_t): Define as int.
Corinna Vinschen [Tue, 7 Apr 2009 17:23:20 +0000 (17:23 +0000)]
* include/stdint.h (int_least32_t): Define as int.
(uint_least32_t): Ditto, unsigned.
(int_fast16_t): Define as int.
(int_fast32_t): Ditto.
(uint_fast16_t): Ditto, unsigned.
(uint_fast32_t): Ditto.
(UINT32_MAX): Remove `L' long marker.
(UINT_LEAST32_MAX): Ditto.
(UINT_FAST16_MAX): Ditto.
(UINT_FAST32_MAX): Ditto.
(INT32_C): Ditto.
(UINT32_C): Ditto.

15 years ago * path.cc (readlink): Accommodate new UTF-16 symlinks.
Corinna Vinschen [Tue, 7 Apr 2009 16:24:50 +0000 (16:24 +0000)]
* path.cc (readlink): Accommodate new UTF-16 symlinks.

15 years ago * strfuncs.cc: Change WCHAR to wchar_t in multibyte<->widechar
Corinna Vinschen [Tue, 7 Apr 2009 16:22:55 +0000 (16:22 +0000)]
* strfuncs.cc: Change WCHAR to wchar_t in multibyte<->widechar
conversion functions throughout.
* wchar.h: Ditto in declarations.  Guard them __INSIDE_CYGWIN__.

15 years ago * setup2.sgml (setup-locale-console): New section to explain
Corinna Vinschen [Tue, 7 Apr 2009 13:04:43 +0000 (13:04 +0000)]
* setup2.sgml (setup-locale-console): New section to explain
console character set setting.
* faq: Throughout, change references to User's Guide to references
to 1.7 User's Guide temporarily.
* faq-setup.html (faq.using.unicode): Rephrase slightly.
(faq.using.weirdchars): New FAQ entry for console charset problems.

15 years ago * fhandler.h (class dev_console): Add members con_mbtowc, con_wctomb,
Corinna Vinschen [Tue, 7 Apr 2009 12:13:37 +0000 (12:13 +0000)]
* fhandler.h (class dev_console): Add members con_mbtowc, con_wctomb,
and con_charset.
(dev_console::str_to_con): Take mbtowc function pointer and charset
as additional parameters.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Initialize
aforementioned new members.  Explain why.
(dev_console::con_to_str): Remove useless comment.  Call new
sys_cp_wcstombs function rather than sys_wcstombs.
(dev_console::str_to_con): Take mbtowc function pointer and charset
as additional parameters.  Call sys_cp_mbstowcs accordingly.
(fhandler_console::write_normal): Only initialize f_mbtowc and charset
once.  Accommodate changed str_to_con.
* strfuncs.cc (sys_cp_wcstombs): Renamed from sys_wcstombs.  Take
wctomb function pointer and charset as parameters.  Use throughout.
(sys_cp_mbstowcs): Take wctomb function pointer and charset as
parameters instead of codepage.  Remove matching local variables and
their initialization.
* wchar.h (ENCODING_LEN): Define as in newlib.
(__mbtowc): Use mbtowc_p typedef for declaration.
(wctomb_f): New type.
(wctomb_p): New type.
(__wctomb): Declare.
(__utf8_wctomb): Use wctomb_f typedef for declaration.
(sys_cp_wcstombs): Move declaration from winsup.h here.
(sys_wcstombs): Ditto.
(sys_wcstombs_alloc): Ditto.
(sys_cp_mbstowcs): Ditto.
(sys_mbstowcs): Ditto.
(sys_mbstowcs_alloc): Ditto.
* winsup.h: Move declaration of sys_FOO functions to wchar.h.  Include
wchar.h instead.

15 years ago2009-04-06 Mike Burgess <wizardsguild@earthlink.net>
Jeff Johnston [Mon, 6 Apr 2009 22:42:08 +0000 (22:42 +0000)]
2009-04-06  Mike Burgess  <wizardsguild@earthlink.net>

        * libc/string/strncasecmp.c: Optimized rewrite.

15 years ago2009-04-06 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 6 Apr 2009 22:04:33 +0000 (22:04 +0000)]
2009-04-06  Ken Werner  <ken.werner@de.ibm.com>

        * libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
        * libc/include/machine/time.h (nanosleep): Declare.

15 years ago * libc/rexec.cc (ruserpass): Use fstat64 instead of fstat.
Corinna Vinschen [Mon, 6 Apr 2009 20:44:55 +0000 (20:44 +0000)]
* libc/rexec.cc (ruserpass): Use fstat64 instead of fstat.

15 years ago * strfuncs.cc: Add comment to explain why we can't support JIS
Corinna Vinschen [Mon, 6 Apr 2009 10:50:11 +0000 (10:50 +0000)]
* strfuncs.cc: Add comment to explain why we can't support JIS
for now.
(__db_wctomb): Alwaus use WC_NO_BEST_FIT_CHARS.
(__jis_wctomb): Just call __ascii_wctomb from here.
(__eucjp_wctomb): Convert to standalone implementation to fix up the
difference between eucJP and CP 20932 affecting JIS-X-0212 characters.
Explain.
(__kr_wctomb): Use codepage 949.
(__db_mbtowc): Reorder code slightly.  Always use MB_ERR_INVALID_CHARS
in call to MultiByteToWideChar.  Fix a problem with singlebyte
sequences.  Fix a bug in '\0' handling.  Reset state->__count on
successful return from non-zero state.
(__jis_mbtowc): Just call __ascii_mbtowc from here.
(__eucjp_mbtowc): Convert to standalone implementation to fix up the
difference between eucJP and CP 20932 affecting JIS-X-0212 characters.
(__kr_mbtowc): Use codepage 949.
(__set_charset_from_codepage): Handle codepage 20932 as eucJP.

15 years ago * libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
Corinna Vinschen [Mon, 6 Apr 2009 10:36:49 +0000 (10:36 +0000)]
* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.

15 years ago * new-features.sgml (ov-new1.7-posix): Remove JIS from supported
Corinna Vinschen [Mon, 6 Apr 2009 10:30:02 +0000 (10:30 +0000)]
* new-features.sgml (ov-new1.7-posix): Remove JIS from supported
charsets.
* setup2.sgml (setup-locale-charsetlist): Ditto.

15 years ago * setup2.sgml (setup-locale-problems): Change title to be more clear
Corinna Vinschen [Mon, 6 Apr 2009 10:25:28 +0000 (10:25 +0000)]
* setup2.sgml (setup-locale-problems): Change title to be more clear
when referencing this section.

15 years ago* Makefile.in: Use all compile options when calculating magic values.
Christopher Faylor [Sun, 5 Apr 2009 16:49:15 +0000 (16:49 +0000)]
* Makefile.in: Use all compile options when calculating magic values.
* shared_info.h (CURR_SHARED_MAGIC): Revert erroneous value.
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
* fhandler.h (acquire_output_mutex): Remove unneeded ';'.
(release_output_mutex): Ditto.

15 years ago* net.cc: Undefine NOERROR and DELETE to avoid compiler warnings.
Christopher Faylor [Sun, 5 Apr 2009 04:23:50 +0000 (04:23 +0000)]
* net.cc: Undefine NOERROR and DELETE to avoid compiler warnings.
* shared_info.h (CURR_SHARED_MAGIC): Update.
* spawn.cc (spawn_guts): Avoid copying one line command line argument if it
hasn't been filled out.

15 years ago * libc/stdlib/wcstombs.c: Fix datatypes in documentation.
Corinna Vinschen [Sat, 4 Apr 2009 16:00:31 +0000 (16:00 +0000)]
* libc/stdlib/wcstombs.c: Fix datatypes in documentation.

15 years ago * include/asm/byteorder.h (__ntohl): Prototype before define to avoid
Corinna Vinschen [Sat, 4 Apr 2009 15:49:05 +0000 (15:49 +0000)]
* include/asm/byteorder.h (__ntohl): Prototype before define to avoid
a warning with -Wmissing-prototypes.  Use _ELIDABLE_INLINE macro from
_ansi.h.
(__ntohs): Ditto.

15 years ago * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
Corinna Vinschen [Sat, 4 Apr 2009 15:44:19 +0000 (15:44 +0000)]
* libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
* libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.

15 years ago2009-04-03 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Jeff Johnston [Fri, 3 Apr 2009 22:46:15 +0000 (22:46 +0000)]
2009-04-03  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

        * libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define
        to avoid a warning with -Wmissing-prototypes.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 3 Apr 2009 22:42:31 +0000 (22:42 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 3 Apr 2009 22:37:40 +0000 (22:37 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * spu/Makefile.in: Add new files.
        * spu/times.c: New File.
        * spu/getitimer.c: Likewise.
        * spu/setitimer.c: Likewise.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 3 Apr 2009 22:34:17 +0000 (22:34 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/sys/linux_syscalls.h: include <sys/types.h>
        (linux_getpid, linux_gettid): Declare.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 3 Apr 2009 22:32:28 +0000 (22:32 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * spu/Makefile.in: Add linux_getpid.o and linux_gettid.o.
        * spu/linux_getpid.c: New file.
        * spu/linux_getpid.c: New file.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 3 Apr 2009 22:29:24 +0000 (22:29 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/spu-gmon.c: Tweaks to support simultaneous SPU
        profiling.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 3 Apr 2009 22:27:31 +0000 (22:27 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * spu/crt0.S (_start): Place spu_id in the first agument register.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Fri, 3 Apr 2009 17:42:27 +0000 (17:42 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * libc/include/math.h: Remove duplicate copysign prototype.
        Fix __math_68881 define typo.  Guard functions of the rint family.

15 years ago2009-04-03 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Fri, 3 Apr 2009 17:39:24 +0000 (17:39 +0000)]
2009-04-03  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_llrint.c: New file, implementing llrint().
        * libm/common/sf_llrint.c: New file, implementing llrintf().
        * libm/common/Makefile.am:  Add s_llrint.c (src); sf_llrint.c (fsrc).
        * libm/common/Makefile.in:  Regenerate.

15 years ago * Various syntactical and semantical fixes throughout.
Corinna Vinschen [Fri, 3 Apr 2009 11:51:31 +0000 (11:51 +0000)]
* Various syntactical and semantical fixes throughout.

15 years ago * utils.sgml: Various syntactical and semantical fixes.
Corinna Vinschen [Fri, 3 Apr 2009 11:50:26 +0000 (11:50 +0000)]
* utils.sgml: Various syntactical and semantical fixes.
* cygcheck.cc (usage): Fix --find-package explanation.

15 years ago * environ.cc (build_env): Fix length calculation of resulting
Corinna Vinschen [Thu, 2 Apr 2009 17:44:01 +0000 (17:44 +0000)]
* environ.cc (build_env): Fix length calculation of resulting
wide char environment string.

15 years ago * include/netdb.h: #include <inttypes.h>, <netinet/in.h>,
Corinna Vinschen [Thu, 2 Apr 2009 08:48:03 +0000 (08:48 +0000)]
* include/netdb.h: #include <inttypes.h>, <netinet/in.h>,
and <sys/socket.h> per SUSv3.

15 years ago * libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
Corinna Vinschen [Thu, 2 Apr 2009 07:53:12 +0000 (07:53 +0000)]
* libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
ctype_cp.h out of ALLOW_NEGATIVE_CTYPE_INDEX case.
(__ctype_ptr__): Constify in !_MB_CAPABLE case.  Otherwise,
de-constify in !ALLOW_NEGATIVE_CTYPE_INDEX case, too.  Add comment.
(__set_ctype): Set __ctype_ptr__ pointer according to definition
of ALLOW_NEGATIVE_CTYPE_INDEX.
* libc/include/ctype.h (__ctype_ptr__): Constify in !_MB_CAPABLE case.

15 years agoinclude/coff/
Richard Sandiford [Wed, 1 Apr 2009 19:38:11 +0000 (19:38 +0000)]
include/coff/
* xcoff.h (xcoff_link_hash_table): Move to bfd/xcofflink.c.

bfd/
* xcofflink.c (xcoff_link_hash_table): Moved from include/coff/xcoff.h.

15 years ago2009-04-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 1 Apr 2009 17:30:35 +0000 (17:30 +0000)]
2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (EM_INTEL178): Removed.
(EM_INTEL179): Likewise.
(EM_ETPU): New.
(EM_SLE9X): Likewise.
(EM_INTEL181): Likewise.
(EM_INTEL182): Likewise.

15 years ago * faq-using.xml (faq.using.symlinkstoppedworking): Rename.
Corinna Vinschen [Wed, 1 Apr 2009 16:56:08 +0000 (16:56 +0000)]
* faq-using.xml (faq.using.symlinkstoppedworking): Rename.
(faq.using.ipv6): New IPv6 FAQ.
* gdb.sgml: Remove incorrect statement about Insight.

15 years ago * strfuncs.cc (sys_cp_mbstowcs): Check if ASCII SO is followed by at
Corinna Vinschen [Wed, 1 Apr 2009 09:49:25 +0000 (09:49 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Check if ASCII SO is followed by at
least two chars and the next byte is a valid UTF-8 start byte before
trying to convert the followup bytes as UTF-8 sequence.

15 years ago2009-03-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 31 Mar 2009 21:19:03 +0000 (21:19 +0000)]
2009-03-31  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (EM_INTEL178): New.
(EM_INTEL179): Likewise.
(EM_INTEL180): Likewise.

15 years ago * shm.cc (struct shm_attached_list): Convert access type to ULONG.
Corinna Vinschen [Tue, 31 Mar 2009 14:58:14 +0000 (14:58 +0000)]
* shm.cc (struct shm_attached_list): Convert access type to ULONG.
(fixup_shms_after_fork): Fix comment.  Use NtMapViewOfSection rather
than MapViewOfFileEx to recreate shared memory regions.  Add function
name to api_fatal output.
(shmat): Use NtMapViewOfSection to create shared memory region
top-down.

15 years ago * setup2.sgml (setup-locale-problems): Fix an incomplete sentence.
Corinna Vinschen [Tue, 31 Mar 2009 11:17:08 +0000 (11:17 +0000)]
* setup2.sgml (setup-locale-problems): Fix an incomplete sentence.

15 years ago * faq-using.xml (faq.using.unicode): Modernize.
Corinna Vinschen [Tue, 31 Mar 2009 10:54:28 +0000 (10:54 +0000)]
* faq-using.xml (faq.using.unicode): Modernize.
(faq.api.symlinkstoppedworking): Move here from faq-api.xml.

15 years ago * ctype.cc: Remove implementation of ctype functions in favor of
Corinna Vinschen [Tue, 31 Mar 2009 09:42:58 +0000 (09:42 +0000)]
* ctype.cc: Remove implementation of ctype functions in favor of
pointer-based newlib implementation.
(_ctype_b): Declare.
(__ctype_cp): Move to newlib. Declare.
(__ctype_iso): Ditto.
(__set_ctype): Implement changing __ctype_ptr__.  Only copy character
class data in applications built under older Cygwin.
* cygwin.din (__ctype_ptr__): Export.
* include/ctype.h: Remove in favor of newlib implementation.
* include/cygwin/config.h (__EXPORT): Define alongside __IMPORT.
* include/cygwin/version.h (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE):
Define check for old vs. new ctype implementation.
Bump API minor number.

15 years ago * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
Corinna Vinschen [Tue, 31 Mar 2009 09:31:38 +0000 (09:31 +0000)]
* libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
source files.  Add a dependency rule for ctype_o to note
changes in ctype_iso.h and ctype_cp.h.
* libc/ctype/Makefile.in: Regenerate.
* libc/ctype/_tolower.c: Remove file.
* libc/ctype/_toupper.c: Remove file.
* libc/ctype/ctype_.c: Make sure ALLOW_NEGATIVE_CTYPE_INDEX
is always defined on Cygwin.
(_ctype_b): Don't make `static const' on Cygwin.
(ctype_iso.h): Include if _MB_EXTENDED_CHARSETS_ISO is set.
(ctype_cp.h): Include if _MB_EXTENDED_CHARSETS_WINDOWS is set.
(__ctype_ptr): Drop definition.
(__ctype_ptr__): De-constify.  Mark as __EXPORT symbol.
(_ctype_): Add Cygwin-specifc asm define.
(__set_ctype): New function to set __ctype_ptr__ according to
current charset.
* libc/ctype/ctype_cp.h: New file containing Windows codepage
specific character class tables.
* libc/ctype/ctype_iso.h: New file containing ISO-8859-x
specific character class tables.
* libc/ctype/tolower.c (tolower): Reimplement to support any singlebyte
charset if one of the extended charsets is enabled.
* libc/ctype/toupper.c (toupper): Ditto.
* libc/include/ctype.h (_tolower): Define as macro per POSIX.
(_toupper): Ditto.
(__ctype_ptr__): De-constify.
(toupper): Disable macro on systems supporting extended charsets.
(tolower): Ditto.
* libc/include/sys/config.h (__EXPORT): Define empty if not defined.
* libc/locale/locale.c (__mb_cur_max): Mark as __EXPORT symbol.
(__set_ctype): Declare unconditionally.
(loadlocale): Remove __CYGWIN__ guard around __set_ctype call.

15 years ago * faq-using.xml (faq.using.bloda): Update with new entries.
Dave Korn [Mon, 30 Mar 2009 09:23:13 +0000 (09:23 +0000)]
* faq-using.xml (faq.using.bloda):  Update with new entries.

15 years ago* Makefile.in: Perform some minor cleanup. Revamp speclib handling.
Christopher Faylor [Sat, 28 Mar 2009 04:55:36 +0000 (04:55 +0000)]
* Makefile.in: Perform some minor cleanup.  Revamp speclib handling.
* speclib: Rewrite to create libraries with dlltool rather than attempting
surgery on libcygwin.a.

15 years ago * net.cc (inet_ntop6): Convert to lowercase hex digits on the fly.
Corinna Vinschen [Fri, 27 Mar 2009 15:20:27 +0000 (15:20 +0000)]
* net.cc (inet_ntop6): Convert to lowercase hex digits on the fly.

15 years ago * net.cc (cygwin_getaddrinfo): Check hints for non-NULL before
Corinna Vinschen [Fri, 27 Mar 2009 15:10:18 +0000 (15:10 +0000)]
* net.cc (cygwin_getaddrinfo): Check hints for non-NULL before
checking its content.

15 years ago * fhandler.h (class fhandler_fifo): Rename read/write methods to
Corinna Vinschen [Fri, 27 Mar 2009 15:04:42 +0000 (15:04 +0000)]
* fhandler.h (class fhandler_fifo): Rename read/write methods to
raw_read/raw_write.
* fhandler_fifo.cc: Ditto.

15 years ago * djunpack.bat: Use ".." quoting in Sed command, for the sake of
Eli Zaretskii [Fri, 27 Mar 2009 13:37:09 +0000 (13:37 +0000)]
* djunpack.bat: Use ".." quoting in Sed command, for the sake of
Windows builds of Sed.

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