]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
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.

15 years ago * syscalls.cc (pathconf): Fix memory leak.
Corinna Vinschen [Fri, 27 Mar 2009 11:29:56 +0000 (11:29 +0000)]
* syscalls.cc (pathconf): Fix memory leak.

15 years ago * README: Remove "How to use" section, as CYGWIN="server" is
Corinna Vinschen [Fri, 27 Mar 2009 10:17:48 +0000 (10:17 +0000)]
* README: Remove "How to use" section, as CYGWIN="server" is
no longer required.

15 years ago * utils.sgml (passwd -R): Remove references to CYGWIN="server".
Corinna Vinschen [Fri, 27 Mar 2009 10:16:13 +0000 (10:16 +0000)]
* utils.sgml (passwd -R): Remove references to CYGWIN="server".

15 years ago * cygwinenv.sgml: Add text to explain new UTF-16 symlinks.
Corinna Vinschen [Thu, 26 Mar 2009 12:25:11 +0000 (12:25 +0000)]
* cygwinenv.sgml: Add text to explain new UTF-16 symlinks.
* faq-api.xml: Add FAQ entry "Why do some of my old symlinks don't
work anymore?"
* new-features.sgml: Fix symlink text.  Add new UTF-16 symlinks.
* overview2.sgml: Add text about new UTF-16 symlinks and potential
problems with old symlinks.
* pathnames.sgml: Fix typo.
* setup2.sgml: Extend text about problems with symlinks.

15 years ago * path.cc (symlink_worker): Write target filename as UTF-16 string
Corinna Vinschen [Thu, 26 Mar 2009 12:12:11 +0000 (12:12 +0000)]
* path.cc (symlink_worker): Write target filename as UTF-16 string
with leading BOM marker.
(symlink_info::check_shortcut): If check for leading BOM marker
succeeds, read filename as UTF-16 string.
(symlink_info::check_sysfile): Ditto.

15 years ago * include/asm/byteorder.h (__ntohl): Align definition to ISO C99.
Corinna Vinschen [Thu, 26 Mar 2009 10:40:29 +0000 (10:40 +0000)]
* include/asm/byteorder.h (__ntohl): Align definition to ISO C99.
(__ntohs): Ditto.

15 years ago * new-features.sgml: Replace GB2312 with GBK.
Corinna Vinschen [Thu, 26 Mar 2009 10:31:08 +0000 (10:31 +0000)]
* new-features.sgml: Replace GB2312 with GBK.
* setup2.sgml: Ditto.

15 years ago * strfuncs.cc (__set_charset_from_codepage): Revert to translating
Corinna Vinschen [Thu, 26 Mar 2009 10:26:57 +0000 (10:26 +0000)]
* strfuncs.cc (__set_charset_from_codepage): Revert to translating
codepage 936 to "GBK".

15 years ago * libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
Corinna Vinschen [Thu, 26 Mar 2009 10:24:38 +0000 (10:24 +0000)]
* libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
of "GB2312".  Fix documentation accordingly.

15 years ago Revert erroneously checked in files.
Corinna Vinschen [Thu, 26 Mar 2009 10:04:40 +0000 (10:04 +0000)]
Revert erroneously checked in files.

15 years ago * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character.
Corinna Vinschen [Thu, 26 Mar 2009 09:45:11 +0000 (09:45 +0000)]
* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character.
* libc/ctype/isblank.c: Replace hardcoded test with test for having _B
marker in ctype array.
* libc/include/ctype.h (isblank): Add macro.

15 years ago2009-03-25 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Wed, 25 Mar 2009 21:16:04 +0000 (21:16 +0000)]
2009-03-25  Craig Howland <howland@LGSInnovations.com>

* libc/include/math.h:  (llround, llroundf): Declare.
* libm/common/s_llround.c: New file, implementing llround().
* libm/common/sf_llround.c: New file, implementing llroundf().
* libm/common/sf_lround.c: Remove spurious cast in _DOUBLE_IS_32BITS
version of function.
* libm/common/sf_lrint.c: Ditto.
* libm/common/sf_logb.c:  Corrected return for subnormal argument
by replacing existing function with a version created from sf_ilogb.c.
* libm/common/s_logb.c: Ditto, except starting point s_ilogb.c.  Also
added documentation for logb() and logbf().
* libm/common/s_signbit.c:  Add signbit() documentation.
* libm/common/s_log2.c: Update return values to match what w_log2.c has,
since log2 uses log(); add note about being derived instead of direct.
* libm/common/sf_fma.c: Add casts to attempt to get correct results,
as well as comments pointing out problems with the implementation.
* libm/common/s_fma.c: Add fma() and fmaf() documentation.
* libm/common/sf_remquo.c: Incorrect quotient returns for large values
corrected by discarding existing function and replacing with Sun
verion, with some enhancements.
* libm/common/s_remquo.c: Ditto.  Add remquo() and remquof()
documentation.
* libm/common/s_fmax.c: Add fmax() and fmaxf() documentation.
* libm/common/s_fmin.c: Add fmin() and fminf() documentation.
* libm/common/s_fdim.c: Return NAN for NAN arg, add fdim() and fdimf()
documentation.
* libm/common/sf_fdim.c: Return NAN for NAN arg, HUGE_VALF for inf arg.
* libm/common/s_trunc.c: Add trunc() and truncf() documentation.
* libm/common/s_rint.c: Add rint() and rintf() documentation.
* libm/common/s_round.c: Add round() and roundf() documentation.
* libm/common/s_scalbn.c: Add scalbln() and scalblnf() documentation.
* libm/common/s_infinity.c: Add infinity() and infinityf()
documentation.
* libm/common/s_lround.c: Add lround(), lroundf(), llround(), and
llroundf() documentation.
* libm/common/s_lrint.c: Add lrint(), lrintf(), llrint(), and llrintf()
documentation.
* libm/common/isgreater.c: New file for documenting math.h function-like
macros isgreater(), isgreaterequal(), isless(), islessequal(),
islessgreater(), and isunordered().
* libm/common/s_isnan.c: Add documentation for function-like macros
fpclassify(), isfinite(), isinf(), isnan(), and isnormal().
* libm/common/s_nearbyint.c: Add nearbyint() and nearbyintf()
documentation.
* libm/common/Makefile.am: Add s_llround.c (src); sf_llround.c (fsrc);
s_fdim.def, s_fma.def, s_fmax.def, s_fmin.def,
s_logb.def, s_lrint.def, s_lround.def, s_nearbyint.def, s_remquo.def,
        s_rint.def, s_round.def, s_signbit.def, s_trunc.def, and
        isgreater.def (chobj);
re-name all existing chew files (chobj) to match source file base
names (put in underscores), delete all special targets for chew files
(leaving all to be generated by rule).
* libm/common/Makefile.in: regenerate.
* libm/math/w_exp2.c: Add "base 2" to documentation description (and
delete TRAD_SYNOPSIS).
* libm/math/w_gamma.c: Add tgamma() and tgammaf() documentation, along
with some history behind the function names.
* libm/math/math.tex: Add includes for newly-added documentation (see
.def additions to common/Makefile.am and math/Makefile.am in this
ChangeLog list), adjusted existing .def file names to match source file
base names (added underscores); add mention of HUGE_VALF; rename
"Version of library" section to "Error Handling" and add some text
about floating-point exception; added section "Standards Compliance And
Portability".
* libm/math/Makefile.am: Add w_exp2.def (chobj);
re-name all existing chew files (chobj) to match source file base
names, delete all special targets for chew files (leaving all to be
generated by rule).
* libm/math/Makefile.in: regenerated
* doc/makedoc.c: Change silent ignoring of commands < 5 characters
to a failure when reading macro file for commands < 4 characters;
add -v (verbose) option for printing some debugging information;
get rid of spurious translation of "@*" to "*" (no source files used @*,
so no existing doc pages were affected); clean up some compiler
warnings.
* doc/doc.str: add BUGS and SEEALSO sections (to match texi2pod.pl
which has them); Remove ITEM command (redundant with makedoc built-in
"o", not used in any present source file so nothing is lost, anyway).
* HOWTO: New file to hold information for maintainers regarding how
to do things.  Initial sections on documentation and ELIX levels.

15 years ago2009-03-25 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Wed, 25 Mar 2009 19:13:24 +0000 (19:13 +0000)]
2009-03-25  Craig Howland <howland@LGSInnovations.com>

* libc/include/math.h:  (llround, llroundf): Declare.
* libm/common/s_llround.c: New file, implementing llround().
* libm/common/sf_llround.c: New file, implementing llroundf().
* libm/common/sf_lround.c: Remove spurious cast in _DOUBLE_IS_32BITS
version of function.
* libm/common/sf_lrint.c: Ditto.
* libm/common/sf_logb.c:  Corrected return for subnormal argument
by replacing existing function with a version created from sf_ilogb.c.
* libm/common/s_logb.c: Ditto, except starting point s_ilogb.c.  Also
added documentation for logb() and logbf().
* libm/common/s_signbit.c:  Add signbit() documentation.
* libm/common/s_log2.c: Update return values to match what w_log2.c has,
since log2 uses log(); add note about being derived instead of direct.
* libm/common/sf_fma.c: Add casts to attempt to get correct results,
as well as comments pointing out problems with the implementation.
* libm/common/s_fma.c: Add fma() and fmaf() documentation.
* libm/common/sf_remquo.c: Incorrect quotient returns for large values
corrected by discarding existing function and replacing with Sun
verion, with some enhancements.
* libm/common/s_remquo.c: Ditto.  Add remquo() and remquof()
documentation.
* libm/common/s_fmax.c: Add fmax() and fmaxf() documentation.
* libm/common/s_fmin.c: Add fmin() and fminf() documentation.
* libm/common/s_fdim.c: Return NAN for NAN arg, add fdim() and fdimf()
documentation.
* libm/common/sf_fdim.c: Return NAN for NAN arg, HUGE_VALF for inf arg.
* libm/common/s_trunc.c: Add trunc() and truncf() documentation.
* libm/common/s_rint.c: Add rint() and rintf() documentation.
* libm/common/s_round.c: Add round() and roundf() documentation.
* libm/common/s_scalbn.c: Add scalbln() and scalblnf() documentation.
* libm/common/s_infinity.c: Add infinity() and infinityf()
documentation.
* libm/common/s_lround.c: Add lround(), lroundf(), llround(), and
llroundf() documentation.
* libm/common/s_lrint.c: Add lrint(), lrintf(), llrint(), and llrintf()
documentation.
* libm/common/isgreater.c: New file for documenting math.h function-like
macros isgreater(), isgreaterequal(), isless(), islessequal(),
islessgreater(), and isunordered().
* libm/common/s_isnan.c: Add documentation for function-like macros
fpclassify(), isfinite(), isinf(), isnan(), and isnormal().
* libm/common/s_nearbyint.c: Add nearbyint() and nearbyintf()
documentation.
* libm/common/Makefile.am: Add s_llround.c (src); sf_llround.c (fsrc);
s_fdim.def, s_fma.def, s_fmax.def, s_fmin.def,
s_logb.def, s_lrint.def, s_lround.def, s_nearbyint.def, s_remquo.def,
        s_rint.def, s_round.def, s_signbit.def, s_trunc.def, and
        isgreater.def (chobj);
re-name all existing chew files (chobj) to match source file base
names (put in underscores), delete all special targets for chew files
(leaving all to be generated by rule).
* libm/common/Makefile.in: regenerate.
* libm/math/w_exp2.c: Add "base 2" to documentation description (and
delete TRAD_SYNOPSIS).
* libm/math/w_gamma.c: Add tgamma() and tgammaf() documentation, along
with some history behind the function names.
* libm/math/math.tex: Add includes for newly-added documentation (see
.def additions to common/Makefile.am and math/Makefile.am in this
ChangeLog list), adjusted existing .def file names to match source file
base names (added underscores); add mention of HUGE_VALF; rename
"Version of library" section to "Error Handling" and add some text
about floating-point exception; added section "Standards Compliance And
Portability".
* libm/math/Makefile.am: Add w_exp2.def (chobj);
re-name all existing chew files (chobj) to match source file base
names, delete all special targets for chew files (leaving all to be
generated by rule).
* libm/math/Makefile.in: regenerated
* doc/makedoc.c: Change silent ignoring of commands < 5 characters
to a failure when reading macro file for commands < 4 characters;
add -v (verbose) option for printing some debugging information;
get rid of spurious translation of "@*" to "*" (no source files used @*,
so no existing doc pages were affected); clean up some compiler
warnings.
* doc/doc.str: add BUGS and SEEALSO sections (to match texi2pod.pl
which has them); Remove ITEM command (redundant with makedoc built-in
"o", not used in any present source file so nothing is lost, anyway).
* HOWTO: New file to hold information for maintainers regarding how
to do things.  Initial sections on documentation and ELIX levels.

15 years ago2009-03-25 Richard Earnshaw <rearnsha@arm.com>
Jeff Johnston [Wed, 25 Mar 2009 18:56:15 +0000 (18:56 +0000)]
2009-03-25  Richard Earnshaw  <rearnsha@arm.com>

        * libc/machine/arm/strcmp.c (strcmp_unaligned): Correctly
        detect the nul-byte in a big-endian string.

15 years ago2009-03-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 25 Mar 2009 17:57:11 +0000 (17:57 +0000)]
2009-03-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/wcsdup.c: Fix documentation error.
        * libc/string/Makefile.am: Fix CHEWOUT files to contain
        wcsdup.def rather than wcsdup.
        * libc/string/Makefile.in: Regenerated.

15 years ago * pathnames.sgml: Add a note that ASCII SO handling isn't foolproof
Corinna Vinschen [Wed, 25 Mar 2009 14:33:05 +0000 (14:33 +0000)]
* pathnames.sgml: Add a note that ASCII SO handling isn't foolproof
under all circumstances.

15 years ago * strfuncs.cc (sys_wcstombs): Don't convert ASCII SO into two
Corinna Vinschen [Wed, 25 Mar 2009 13:54:41 +0000 (13:54 +0000)]
* strfuncs.cc (sys_wcstombs): Don't convert ASCII SO into two
ASCII SO's.

15 years ago * libc/locale/locale.c (loadlocale): Only change __wctomb and __mbtowc
Corinna Vinschen [Wed, 25 Mar 2009 13:52:08 +0000 (13:52 +0000)]
* libc/locale/locale.c (loadlocale): Only change __wctomb and __mbtowc
pointers if category is LC_CTYPE.

15 years ago * environ.cc (environ_init): Break from locale loop after first hit.
Corinna Vinschen [Wed, 25 Mar 2009 12:29:04 +0000 (12:29 +0000)]
* environ.cc (environ_init): Break from locale loop after first hit.
* fhandler_console.cc (fhandler_console::write_normal): Print a SO
sequence using always valid Unicode chars.

15 years ago * new-features.sgml: Add missing GB2312 and eucKR character sets.
Corinna Vinschen [Wed, 25 Mar 2009 10:37:06 +0000 (10:37 +0000)]
* new-features.sgml: Add missing GB2312 and eucKR character sets.
* pathnames.sgml: Change "DOS devices" title to "Invalid filenames"
and rephrase that section.
Add section "Filenames with unusual (foreign) characters".
Fix an emphasis.
* setup-net.sgml: Integrate setup-locale section.
* setup2.sgml: Add locale variables to section "Environment Variables".
Add section "Internationalization".

15 years ago * strfuncs.cc (__kr_wctomb): Use codepage 51949 rather than 50949.
Corinna Vinschen [Wed, 25 Mar 2009 09:02:22 +0000 (09:02 +0000)]
* strfuncs.cc (__kr_wctomb): Use codepage 51949 rather than 50949.
(__kr_mbtowc): Ditto.
(__set_charset_from_codepage): Ditto.  Translate codepage 936 to
"GB2312" and drop the charset name "GBK".

15 years ago * libc/locale/locale.c (loadlocale): Rename charset "GBK" to
Corinna Vinschen [Wed, 25 Mar 2009 09:00:03 +0000 (09:00 +0000)]
* libc/locale/locale.c (loadlocale): Rename charset "GBK" to
"GB2312".  Fix documentation accordingly.

15 years ago * strfuncs.cc (__kr_wctomb): Use codepage 50949 rather than 949.
Corinna Vinschen [Tue, 24 Mar 2009 18:20:01 +0000 (18:20 +0000)]
* strfuncs.cc (__kr_wctomb): Use codepage 50949 rather than 949.
(__kr_mbtowc): Ditto.
(__set_charset_from_codepage): Translate codepages 949 and 50949 to
"EUCKR" and drop the charset name "CP949".

15 years ago * libc/locale/locale.c (loadlocale): Rename charset "CP949" to
Corinna Vinschen [Tue, 24 Mar 2009 18:18:14 +0000 (18:18 +0000)]
* libc/locale/locale.c (loadlocale): Rename charset "CP949" to
"eucKR".  Fix documentation accordingly.

15 years ago * libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
Corinna Vinschen [Tue, 24 Mar 2009 16:56:33 +0000 (16:56 +0000)]
* libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
for "eucJP" charset support.

15 years ago * strfuncs.cc (sys_cp_mbstowcs): Don't read beyond src + nms.
Corinna Vinschen [Tue, 24 Mar 2009 16:42:36 +0000 (16:42 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Don't read beyond src + nms.

15 years ago2009-03-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 24 Mar 2009 16:05:07 +0000 (16:05 +0000)]
2009-03-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/errno.h: Move EFTYPE to general usage because
        it is used in libc/search.

15 years ago * new-features.sgml: Add section about chaged (no)winsymlink default.
Corinna Vinschen [Tue, 24 Mar 2009 13:51:25 +0000 (13:51 +0000)]
* new-features.sgml: Add section about chaged (no)winsymlink default.

15 years ago * shared_info.h (CURR_SHARED_MAGIC): Update.
Corinna Vinschen [Tue, 24 Mar 2009 13:44:53 +0000 (13:44 +0000)]
* shared_info.h (CURR_SHARED_MAGIC): Update.

15 years ago * cygcheck.cc (dump_sysinfo): Fix compiler warning in printf.
Corinna Vinschen [Tue, 24 Mar 2009 13:35:08 +0000 (13:35 +0000)]
* cygcheck.cc (dump_sysinfo): Fix compiler warning in printf.
* strace.cc (proc_child): Ditto.
* ldd.cc: Remove now useless undef wcscasecmp.

15 years ago * wchar.h: Replace UINT with unsigned int.
Corinna Vinschen [Tue, 24 Mar 2009 13:33:57 +0000 (13:33 +0000)]
* wchar.h: Replace UINT with unsigned int.

15 years ago * wchar.h: Remove erroneous "C" specifier from extern declaration.
Corinna Vinschen [Tue, 24 Mar 2009 13:21:23 +0000 (13:21 +0000)]
* wchar.h: Remove erroneous "C" specifier from extern declaration.

15 years ago * cygwinenv.sgml: Move "codepage:xxx" to the removed options section.
Corinna Vinschen [Tue, 24 Mar 2009 12:37:02 +0000 (12:37 +0000)]
* cygwinenv.sgml: Move "codepage:xxx" to the removed options section.
Change text accordingly.
* new-features.sgml: Try to explain new way to define character sets.

15 years ago * ctype.cc (_CTYPE_DATA_0_127): Add _B class to TAB character.
Corinna Vinschen [Tue, 24 Mar 2009 12:18:34 +0000 (12:18 +0000)]
* ctype.cc (_CTYPE_DATA_0_127): Add _B class to TAB character.
(__ctype_default): New character class array for default ASCII
character set.
(__ctype_iso): New array of character class array for ISO charsets.
(__ctype_cp): Ditto for singlebyte Windows codepages.
(tolower): Implement as distinct function to support any singlebyte
charset.
(toupper): Ditto.
(__set_ctype): New function to copy singlebyte character classes
corresponding to current charset to ctype_b array.
Align copyright text to upstream.
* dcrt0.cc (dll_crt0_1): Reset current locale to "C" per POSIX.
* environ.cc (set_file_api_mode): Remove.
(codepage_init): Remove.
(parse_thing): Remove "codepage" setting.
(environ_init): Set locale according to environment settings, or
to current codepage, before converting environment to multibyte.
* fhandler.h (fhandler_console::write_replacement_char): Drop argument.
* fhandler_console.cc (dev_console::str_to_con): Call sys_cp_mbstowcs
rather than MultiByteToWideChar.
(fhandler_console::write_replacement_char): Always print a funny
half filled square if a character isn't in the current charset.
(fhandler_console::write_normal): Convert to using __mbtowc
rather than next_char.
* fork.cc (frok::child): Drop call to set_file_api_mode.
* globals.cc (enum codepage_type) Remove.
(current_codepage): Remove.
* miscfuncs.cc (cygwin_wcslwr): Unused, dangerous.  Remove.
(cygwin_wcsupr): Ditto.
(is_cp_multibyte): Remove.
(next_char): Remove.
* miscfuncs.h (is_cp_multibyte): Drop declaration.
(next_char): Ditto.
* strfuncs.cc (get_cp): Remove.
(__db_wctomb): New function to implement _wctomb_r functionality for
doublebyte charsets using WideCharToMultiByte.
(__sjis_wctomb): New function to replace unusable newlib function.
(__jis_wctomb): Ditto.
(__eucjp_wctomb): Ditto.
(__gbk_wctomb): New function.
(__kr_wctomb): Ditto.
(__big5_wctomb): Ditto.
(__db_mbtowc): New function to implement _mbtowc_r functionality for
doublebyte charsets using MultiByteToWideChar.
(__sjis_mbtowc): New function to replace unusable newlib function.
(__jis_mbtowc): Ditto.
(__eucjp_mbtowc): Ditto.
(__gbk_mbtowc): New function.
(__kr_mbtowc): New function
(__big5_mbtowc): New function
(__set_charset_from_codepage): New function.
(sys_wcstombs): Reimplement, basically using same wide char to multibyte
conversion as newlib's application level functions.  Plus extras.
Add lengthy comment to explain.  Change return type to size_t.
(sys_wcstombs_alloc): Just use sys_wcstombs.  Change return type to
size_t.
(sys_cp_mbstowcs): Replace sys_mbstowcs, take additional codepage
argument.  Explain why.  Change return type to size_t.
(sys_mbstowcs_alloc): Just use sys_mbstowcs.  Change return type to
size_t.
* wchar.h: Declare internal functions implemented in strfuncs.cc.
(wcscasecmp): Remove.
(wcsncasecmp): Remove.
(wcslwr): Remove.
(wcsupr): Remove.
* winsup.h (codepage_init): Remove declaration.
(get_cp): Ditto.
(sys_wcstombs): Align declaration to new implementation.
(sys_wcstombs_alloc): Ditto.
(sys_cp_mbstowcs): Add declaration.
(sys_mbstowcs): Define as inline function.
(sys_mbstowcs_alloc): Align declaration to new implementation.
(set_file_api_mode): Remove declaration.
* include/ctype.h (isblank): Redefine to use _B character class.
(toupper): Remove ASCII-only definition.
(tolower): Ditto.

15 years ago * sec_auth.cc (str2buf2uni): Remove.
Corinna Vinschen [Tue, 24 Mar 2009 10:53:57 +0000 (10:53 +0000)]
* sec_auth.cc (str2buf2uni): Remove.
* security.h (str2buf2uni): Remove declaration.

15 years ago * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on
Corinna Vinschen [Tue, 24 Mar 2009 10:13:27 +0000 (10:13 +0000)]
* libc/ctype/iswalpha.c: Handle all wchar_t as unicode on
_MB_CAPABLE systems.
* libc/ctype/iswblank.c: Ditto.
* libc/ctype/iswcntrl.c: Ditto.
* libc/ctype/iswprint.c: Ditto.
* libc/ctype/iswpunct.c: Ditto.
* libc/ctype/iswspace.c: Ditto.
* libc/ctype/jp2uc.c (__jp2uc): On Cygwin, just return c.
Explain why.
* libc/ctype/towlower.c: Ditto.
* libc/ctype/towupper.c: Ditto.
* libc/include/sys/config.h: Define _MB_EXTENDED_CHARSETS_ISO
and _MB_EXTENDED_CHARSETS_WINDOWS if _MB_EXTENDED_CHARSETS_ALL is
defined.  Define _MB_EXTENDED_CHARSETS_ALL on Cygwin only for now.
* libc/include/sys/reent.h (struct _reent): Mark _current_category
and _current_locale as unused.
* libc/locale/locale.c: Add new charset support to documentation.
Include ../stdio/local.h from here.
(lc_ctype_charset): Set to "ASCII" by default.
(lc_message_charset): Ditto.
(_setlocale_r): Don't set _current_category and _current_locale.
(loadlocale): Add Cygwin codepage support.  On _MB_CAPABLE
systems, set __mbtowc and __wctomb function pointers to function
corresponding with current charset.  Don't allow non-existant
ISO-8859-12 charset.  Add support for Windows singlebyte codepages.
On Cygwin, add support for GBK, CP949, and BIG5.  On Cygwin,
call __set_ctype() in case the catorgy is LC_CTYPE.  Don't set
_current_category and _current_locale.
* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add sb_charsets.c.
* libc/stdlib/Makefile.in: Regenerate.
* libc/stdlib/local.h: Add prototype for __locale_charset.
Add prototypes for __mbtowc and __wctomb pointers.
Add prototypes for charset-specific _wctomb_r and _mbtowc_r
functions.
Declare tables and functions from sb_charsets.c.
* libc/stdlib/mbtowc_r.c (__mbtowc): Define.  Set to __ascii_mbtowc
by default.
(_mbtowc_r): Just call __mbtowc from here.
(__ascii_mbtowc): New function.
(__iso_mbtowc): New function.
(__cp_mbtowc): New function.
(__utf8_mbtowc): New function.
(__sjis_mbtowc): New function.  Disable on Cygwin.
(__eucjp_mbtowc): New function.  Disable on Cygwin.
(__jis_mbtowc): New function.  Disable on Cygwin.
* libc/stdlib/sb_charsets.c: New file, adding singlebyte to UTF
conversion tables for all ISO and CP charsets.
(__iso_8859_index): New function.
(__cp_index): New function.
* libc/stdlib/wctomb_r.c (__wctomb): Define.  Set to __ascii_wctomb
by default.
(_wctomb_r): Just call __wctomb from here.
(__ascii_wctomb): New function.
(__utf8_wctomb): New function.
(__sjis_wctomb): New function.  Disable on Cygwin.
(__eucjp_wctomb): New function.  Disable on Cygwin.
(__jis_wctomb): New function.  Disable on Cygwin.
(__iso_wctomb): New function.
(__cp_wctomb): New function.

15 years ago * include/mntent.h: Remove declarations of nonexistant addmntent
Corinna Vinschen [Tue, 24 Mar 2009 09:19:37 +0000 (09:19 +0000)]
* include/mntent.h: Remove declarations of nonexistant addmntent
and hasmntopt.  Update and clarify the /etc/mtab comment.

15 years ago * passwd.c (usage): Change description for -d option according to
Corinna Vinschen [Mon, 23 Mar 2009 20:40:17 +0000 (20:40 +0000)]
* passwd.c (usage): Change description for -d option according to
previous change.
(main): Fix typo.
* utils.sgml: Add missing description for passwd -d option.

15 years ago2009-03-23 Richard Earnshaw <rearnsha@arm.com>
Jeff Johnston [Mon, 23 Mar 2009 18:25:10 +0000 (18:25 +0000)]
2009-03-23  Richard Earnshaw  <rearnsha@arm.com>

* libc/machine/arm/strcmp.c (strcmp): Treat char as unsigned.

15 years ago * passwd.c (caller_is_admin): New function to test if calling user
Corinna Vinschen [Mon, 23 Mar 2009 16:37:49 +0000 (16:37 +0000)]
* passwd.c (caller_is_admin): New function to test if calling user
is an administrator by inspecting user token.
(main): Drop fetching caller info from logonserver.  Only fetch
server from environment when trying to change password for own
account.  Drop admin check entirely in case of doing account
maintainance.  Otherwise replace check for admin by result of
caller_is_admin call.

15 years ago * smallprint.cc (__small_vsprintf): Handle NULL PWCHAR and
Corinna Vinschen [Mon, 23 Mar 2009 15:48:16 +0000 (15:48 +0000)]
* smallprint.cc (__small_vsprintf): Handle NULL PWCHAR and
PUNICODE_STRING arguments.
(__small_vswprintf): Ditto.

15 years ago * include/asm/byteorder.h (__constant_ntohs): Remove declaration.
Corinna Vinschen [Mon, 23 Mar 2009 14:26:55 +0000 (14:26 +0000)]
* include/asm/byteorder.h (__constant_ntohs): Remove declaration.
(__constant_ntohl): Ditto.

15 years ago * libc/locale/locale.c (loadlocale): Fix typo in language and
Corinna Vinschen [Mon, 23 Mar 2009 11:28:12 +0000 (11:28 +0000)]
* libc/locale/locale.c (loadlocale): Fix typo in language and
territory evaluation.

15 years ago * cygwin.din: Export wordexp, wordfree.
Corinna Vinschen [Mon, 23 Mar 2009 09:46:38 +0000 (09:46 +0000)]
* cygwin.din: Export wordexp, wordfree.
* posix.sgml: Move them to SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * include/sys/un.h: #include <string.h> for strlen.
Corinna Vinschen [Mon, 23 Mar 2009 08:45:18 +0000 (08:45 +0000)]
* include/sys/un.h: #include <string.h> for strlen.

15 years ago * passwd.c (main): Always get logonserver from environment and
Corinna Vinschen [Sun, 22 Mar 2009 19:18:26 +0000 (19:18 +0000)]
* passwd.c (main): Always get logonserver from environment and
use when fetching user info for caller.

15 years ago * ldd.cc: Fix compiler warning.
Corinna Vinschen [Sun, 22 Mar 2009 10:09:01 +0000 (10:09 +0000)]
* ldd.cc: Fix compiler warning.

* passwd.c: Use mbstowcs instead of MultiByteToWideChar throughout.
(main): Call setlocale.  Fix a bug in fetching the logon server from
the environment.

15 years agoinclude/elf:
Ian Lance Taylor [Fri, 20 Mar 2009 23:37:51 +0000 (23:37 +0000)]
include/elf:
* common.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
elfcpp:
* elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
gold:
* incremental.cc: New file.
* Makefile.am (CCFILES): Add incremental.cc.
* Makefile.in: Rebuild.

15 years ago2009-03-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 20 Mar 2009 20:44:14 +0000 (20:44 +0000)]
2009-03-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/errno.h: Protect various non-standard errnos
        with either __LINUX_ERRNO_EXTENSIONS__ or __CYGWIN__.
        * libc/include/sys/config.h[__CYGWIN__]: Define
        __LINUX_ERRNO_EXTENSIONS__.

15 years ago * cygserver-config: Remove misleading text describing the
Corinna Vinschen [Fri, 20 Mar 2009 11:54:16 +0000 (11:54 +0000)]
* cygserver-config: Remove misleading text describing the
"CYGWIN=server" setting for the client.

15 years ago * libc/stdlib/mbtowc_r.c (_mbtowc_r): Return EILSEQ in case of an
Corinna Vinschen [Thu, 19 Mar 2009 19:47:52 +0000 (19:47 +0000)]
* libc/stdlib/mbtowc_r.c (_mbtowc_r): Return EILSEQ in case of an
invalid character sequence.

* libc/stdlib/mbtowc_r.c (_mbtowc_r): Fix compiler warning due to
missing declaration of __locale_charset.
* libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.

15 years ago * dlfcn.cc (get_full_path_of_dll): Revert patch from 2008-07-16.
Corinna Vinschen [Thu, 19 Mar 2009 18:16:07 +0000 (18:16 +0000)]
* dlfcn.cc (get_full_path_of_dll): Revert patch from 2008-07-16.

15 years ago * cygwin.din: Export log2, log2f as functions.
Corinna Vinschen [Thu, 19 Mar 2009 09:22:01 +0000 (09:22 +0000)]
* cygwin.din: Export log2, log2f as functions.
* posix.sgml: Add them to SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * configure: Rebuild.
Tom Tromey [Wed, 18 Mar 2009 23:33:26 +0000 (23:33 +0000)]
* configure: Rebuild.
* configure.ac (host_libs): Add libiconv.
* Makefile.in: Rebuild.
* Makefile.def (host_modules): Add libiconv.
(configure-gdb, all-gdb): Depend on libiconv.

15 years ago2009-03-18 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Jeff Johnston [Wed, 18 Mar 2009 18:11:18 +0000 (18:11 +0000)]
2009-03-18  Yaakov Selkowitz <yselkowitz@users.sourceforge.net>

        * libm/common/s_log2.c: New file.
        * libm/common/sf_log2.c: Ditto.
        * libm/common/Makefile.am: Add s_log2.c and sf_log2.c.
        * libm/common/Makefile.in: Regenerated.
        * libc/include/math.h: Add log2 and log2f function prototypes.

15 years ago* common.h (NT_OPENBSD_PROCINFO, NT_OPENBSD_AUXV)
Mark Kettenis [Wed, 18 Mar 2009 15:57:17 +0000 (15:57 +0000)]
* common.h (NT_OPENBSD_PROCINFO, NT_OPENBSD_AUXV)
(NT_OPENBSD_REGS, NT_OPENBSD_FPREGS, NT_OPENBSD_XFPREGS)
(NT_OPENBSD_WCOOKIE): New defines.

15 years ago*** empty log message ***
Christopher Faylor [Wed, 18 Mar 2009 14:47:13 +0000 (14:47 +0000)]
*** empty log message ***

15 years agoRe-add inexplicably missing ldh.cc.
Christopher Faylor [Wed, 18 Mar 2009 14:46:24 +0000 (14:46 +0000)]
Re-add inexplicably missing ldh.cc.

15 years ago * sec_auth.cc (lsaauth): Remove local definitions of struct
Corinna Vinschen [Wed, 18 Mar 2009 13:58:35 +0000 (13:58 +0000)]
* sec_auth.cc (lsaauth): Remove local definitions of struct
_TOKEN_LINKED_TOKEN and TokenLinkedToken in favor of definitions
from winnt.h.
(lsaprivkeyauth): As in lsaauth, fetch linked token if available and
return that in favor of default token.

15 years ago * winnt.h: Add Vista token security extensions.
Corinna Vinschen [Wed, 18 Mar 2009 13:47:18 +0000 (13:47 +0000)]
* winnt.h: Add Vista token security extensions.
(SID_HASH_SIZE): Define.
(TOKEN_MANDATORY_POLICY_OFF, TOKEN_MANDATORY_POLICY_NO_WRITE_UP,
TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN,
TOKEN_MANDATORY_POLICY_VALID_MASK): Define.
(SID_HASH_ENTRY): Define.
(struct _SID_AND_ATTRIBUTES_HASH): Define.
(struct _TOKEN_LINKED_TOKEN): Define.
(struct _TOKEN_MANDATORY_LABEL): Define.
(struct _TOKEN_MANDATORY_POLICY): Define.
(struct _TOKEN_ELEVATION): Define.
(struct _TOKEN_ACCESS_INFORMATION): Define.
(enum _TOKEN_INFORMATION_CLASS): Conditionally define new Vista token
information enumeration values.

15 years ago * cygwin-ug-net.in.sgml: Update date.
Corinna Vinschen [Wed, 18 Mar 2009 11:29:27 +0000 (11:29 +0000)]
* cygwin-ug-net.in.sgml: Update date.
* cygwinenv.sgml: Fix codepage:utf8 text in terms of setting
environment variables.
* new-features.sgml: New file describing new Cygwin 1.7 features.
Layout is preliminiary only.
* overview.sgml: Insert content of new-features.sgml.

15 years agoinclude/
Alan Modra [Wed, 18 Mar 2009 11:27:16 +0000 (11:27 +0000)]
include/
* alloca-conf.h: Revise based on autoconf-2.61, autoconf-2.13
documentation.
bfd/
* elf32-m68hc1x.c: Include alloca-conf.h.
* xsym.c: Likewise.
* elf64-hppa.c: Likewise.  Remove existing #if's handling alloca.
* som.c: Likewise.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* sysdep.h: Include alloca-conf.h instead of config.h and remove
existing #if's handling alloca.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
gas/
* as.h: Include alloca-conf.h instead of config.h and remove
existing #if's handling alloca.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* openrisc-opc.c: Regenerate.
ld/
* ld.h: Remove alloca handling.

15 years ago * overview2.sgml: Remove reference to CYGWIN=binmode.
Corinna Vinschen [Wed, 18 Mar 2009 11:05:45 +0000 (11:05 +0000)]
* overview2.sgml: Remove reference to CYGWIN=binmode.
* textbinary.sgml: Ditto.  Rephrase certain paragraphs to match
Cygwin 1.7 behaviour.  Add popen(3) and pipe(2) behaviour.  Make
quite clear that binmode is preferred.  Add *mode.o files to
description for developers.

15 years ago* ldd.cc (load_dll): Start helper program rather than ldd.exe.
Christopher Faylor [Wed, 18 Mar 2009 04:19:05 +0000 (04:19 +0000)]
* ldd.cc (load_dll): Start helper program rather than ldd.exe.
(set_entry_point_break): Rename from get_entry_point.
(print_dlls): Rename from print_dlls_and_kill_inferior.  Avoid printing
specific dll name if we're looking at a dll.
(report): Always dump dlls on process exit.  Don't allow thread creation.
Accommodate get_entry_point rename.
(start_process): Start process with DEBUG_ONLY_THIS_PROCESS.
(longopts): Eliminate "dll" option.
(main): Ditto.
* ldd.cc: Use wide character Win32 paths throughout.
(load_dll): Fix size expression (add fn) in realloc.

15 years agomerge from gcc
DJ Delorie [Wed, 18 Mar 2009 00:07:38 +0000 (00:07 +0000)]
merge from gcc

15 years ago * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): Handle NULL destination
Corinna Vinschen [Tue, 17 Mar 2009 12:16:28 +0000 (12:16 +0000)]
* libc/stdlib/mbstowcs_r.c (_mbstowcs_r): Handle NULL destination
string correctly.

15 years ago2009-03-16 Mark Mitchell <mark@codesourcery.com>
Jeff Johnston [Mon, 16 Mar 2009 20:12:30 +0000 (20:12 +0000)]
2009-03-16  Mark Mitchell  <mark@codesourcery.com>

        * libc/machine/arm/strlen.c (strlen): Fix defect in Thumb-2 mode.

2009-03-16  Richard Earnshaw  <rearnsha@arm.com>

        * libc/machine/arm/strlen.c (strlen): Correctly detect
        end-of-string.
        * libc/machine/arm/strcpy.c (strcpy): Likewise.
        * libc/machine/arm/strcmp.c (strcmp, strcmp_unaligned): Likewise.

15 years ago2009-03-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 16 Mar 2009 19:26:59 +0000 (19:26 +0000)]
2009-03-16  Jeff Johnston  <jjohnstn@redhat.com>

        * m32r/m32r-stub.c: Replace with one from newer version of gdb.

15 years ago * configure.ac: Treat gdb as supported on x86_64-darwin.
Joel Brobecker [Mon, 16 Mar 2009 17:00:47 +0000 (17:00 +0000)]
    * configure.ac: Treat gdb as supported on x86_64-darwin.
        * configure: Regenerate.

15 years ago Merge from GCC:
Joseph Myers [Mon, 16 Mar 2009 13:29:49 +0000 (13:29 +0000)]
Merge from GCC:

2009-03-16  Joseph Myers  <joseph@codesourcery.com>

* configure.ac (--with-host-libstdcxx): New option.
* configure: Regenerate.

2009-01-29  Robert Millan  <rmh@aybabtu.com>

* configure.ac: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
* configure: Regenerate.

2009-01-12  Sebastian Pop <sebastian.pop@amd.com>

PR tree-optimization/38515
* configure.ac (cloog-polylib): Removed.
(with_ppl, with_cloog): Test for "no".
* configure: Regenerated.

15 years agoMove changelog entry to the right file.
Andrew Stubbs [Mon, 16 Mar 2009 12:50:42 +0000 (12:50 +0000)]
Move changelog entry to the right file.

Sorry folks.

15 years ago2009-03-16 Andrew Stubbs <ams@codesourcery.com>
Andrew Stubbs [Mon, 16 Mar 2009 12:41:26 +0000 (12:41 +0000)]
2009-03-16  Andrew Stubbs  <ams@codesourcery.com>

* dwarf2.c (read_section): Always use rawsize, if available.

15 years agoinclude/elf/
Jan Kratochvil [Mon, 16 Mar 2009 09:45:33 +0000 (09:45 +0000)]
include/elf/
* common.h (AT_RANDOM): Define.

15 years ago * errno.cc (_sys_errlist): Add ESTRPIPE.
Corinna Vinschen [Sun, 15 Mar 2009 13:46:56 +0000 (13:46 +0000)]
* errno.cc (_sys_errlist): Add ESTRPIPE.

15 years ago * cygwin.din: Export wcsdup.
Corinna Vinschen [Sun, 15 Mar 2009 13:45:02 +0000 (13:45 +0000)]
* cygwin.din: Export wcsdup.
* posix.sgml: Add wcsdup to SUSv4 list.
* include/cygwin/version.h: Bump API minor number.

15 years ago * libc/include/sys/errno.h (ESTRPIPE): Define.
Corinna Vinschen [Sun, 15 Mar 2009 13:41:46 +0000 (13:41 +0000)]
* libc/include/sys/errno.h (ESTRPIPE): Define.
* libc/string/strerror.c (strerror): Decode it.

15 years ago * libc/include/wchar.h (wcsdup, _wcsdup_r): Declare.
Corinna Vinschen [Sun, 15 Mar 2009 13:39:07 +0000 (13:39 +0000)]
* libc/include/wchar.h (wcsdup, _wcsdup_r): Declare.
* libc/string/Makefile.am: Add wcsdup.c.
* libc/string/Makefile.in: Regenerate.
* libc/string/strings.tex: Add wcsdup documentation reference.
* libc/string/wcsdup.c: New file.

15 years ago * include/inttypes.h: Remove "l" size specifier from all 16 and 32 bit
Corinna Vinschen [Sun, 15 Mar 2009 13:29:04 +0000 (13:29 +0000)]
* include/inttypes.h: Remove "l" size specifier from all 16 and 32 bit
definitions.

15 years ago* ldd.cc (longopts): Add --dll option.
Christopher Faylor [Sat, 14 Mar 2009 18:40:59 +0000 (18:40 +0000)]
* ldd.cc (longopts): Add --dll option.
(get_module_filename): Generalized wrapper function which avoid path length
restrictions.
(load_dll): Handle special-case of inspecting a DLL.
(start_process): Accept an output parameter "isdll".  Detect when file to start
is a DLL and start a wrapper instead.
(print_dlls_and_kill_inferior): When dealing with a DLL, avoid printing
everything before the DLL itself first appears.  (This is not strictly correct
and should be fixed eventually)
(report): Deal with DLLs.  Don't set a breakpoint for DLLs, just let captive
ldd process terminate normally.  Pass dll info to print_dlls_and_kill_inferior.
(main): Handle special-case "--dll" option by loading the DLL and exiting.

15 years ago* path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered during
Christopher Faylor [Sat, 14 Mar 2009 18:35:26 +0000 (18:35 +0000)]
* path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered during
initialization.

15 years ago * path.cc (from_fstab): Use wcstombs/mbstowcs instead of
Corinna Vinschen [Sat, 14 Mar 2009 14:58:05 +0000 (14:58 +0000)]
* path.cc (from_fstab): Use wcstombs/mbstowcs instead of
WideCharToMultiByte/MultiByteToWideChar to accommodate current locale.

15 years ago * wide_path.h (class wide_path): New class to convert Windows path
Corinna Vinschen [Sat, 14 Mar 2009 14:56:20 +0000 (14:56 +0000)]
* wide_path.h (class wide_path): New class to convert Windows path
to WCHAR win32 path, including long path conversion if necessary.
* cygcheck.cc: Use class wide_path throughout to call Win32 functions
taking potentially long filenames.
(display_error): Use snprintf rather than sprintf.
(display_error_fmt): Ditto.
(dump_sysinfo): Use FindFirstFileW/FindNextFileW.
* cygpath.cc: Use class wide_path throughout to call Win32 functions
taking potentially long filenames.
(get_device_name): Raise buffer size to take long pathnames.
(get_short_paths): Convert to using GetShortPathNameW.
(get_short_name): Ditto.
(get_long_path_name_w32impl): Convert to equivalent of GetLongPathNameW.
(get_long_name): Convert to using GetLongPathNameW.
(do_sysfolders): Raise buffer size for POSIX pathname to PATH_MAX.
(do_pathconv): In case of POSIX->Win32 conversion, convert to wchar_t
Win32 path name and drop long pathname prefix if possible.
(main): Call setlocale to accommodate wide char/multibyte conversions.

15 years ago * libc/include/stdlib.h (_mkstemp_r, _mktemp_r): Move out of
Corinna Vinschen [Sat, 14 Mar 2009 12:17:19 +0000 (12:17 +0000)]
* libc/include/stdlib.h (_mkstemp_r, _mktemp_r): Move out of
!_REENT_ONLY section.

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