]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
18 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Tue, 26 Sep 2006 05:22:50 +0000 (05:22 +0000)]
* config.sub, config.guess: Update from upstream sources.

18 years ago2006-09-22 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Fri, 22 Sep 2006 19:33:11 +0000 (19:33 +0000)]
2006-09-22  Paul Brook  <paul@codesourcery.com>

        * libc/include/sys/reent.h: Define and use __reent_assert.

18 years ago * configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
Thiemo Seufer [Wed, 20 Sep 2006 12:33:49 +0000 (12:33 +0000)]
* configure.in: Remove redundant handling of mips*-dec-bsd*. Likewise
for mipstx39-*-*. Disable libgloss for mips64*-*-linux*.
* configure: Regenerate.

18 years agoAdd x86_64-mingw64 target
Nick Clifton [Wed, 20 Sep 2006 11:35:11 +0000 (11:35 +0000)]
Add x86_64-mingw64 target

18 years ago * mingwex/mb_wc_common.h (get_codepage): Get it
Danny Smith [Tue, 19 Sep 2006 09:09:58 +0000 (09:09 +0000)]
* mingwex/mb_wc_common.h (get_codepage): Get it
from __lc_codepage.

18 years ago* byteorder.h: Correct typo.
Christopher Faylor [Sun, 17 Sep 2006 23:22:10 +0000 (23:22 +0000)]
* byteorder.h: Correct typo.

18 years ago* byteorder.h: Don't #define n* macros if -fnoinline is specified.
Christopher Faylor [Sun, 17 Sep 2006 22:34:45 +0000 (22:34 +0000)]
* byteorder.h: Don't #define n* macros if -fnoinline is specified.

18 years ago * mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify.
Danny Smith [Sun, 17 Sep 2006 22:27:56 +0000 (22:27 +0000)]
* mingwex/gdtoa/g_xfmt.c (g_xfmt): Fix representation of infinity. Use fpclassify.
* mingwex/gdtoa/strtopx (__strtopx): Avoid cast of long double* to void*.
* mingwex/gdtoa/gdtoa.h (__g_fmt): Make declaration consistent with others.

18 years agoAdd support for Score target.
Nick Clifton [Sat, 16 Sep 2006 23:51:50 +0000 (23:51 +0000)]
Add support for Score target.

18 years ago * mingwex/gdtoa/strtopx.c (strtopx): Fix (sic) infinity.
Danny Smith [Sat, 16 Sep 2006 07:35:45 +0000 (07:35 +0000)]
* mingwex/gdtoa/strtopx.c (strtopx): Fix (sic) infinity.

18 years ago2006-09-13 Joel Sherrill <joel@oarcorp.com>
Jeff Johnston [Wed, 13 Sep 2006 22:09:27 +0000 (22:09 +0000)]
2006-09-13  Joel Sherrill <joel@oarcorp.com>

        * libc/include/pthread.h: Add pthread barriers,
        rwlocks, and spinlocks.  Change const to
        _CONST and prefix parameter names with
        an underscore.
        * libc/include/sys/types.h: Add id and attribute
        types for barriers, wrlocks, and spinlocks.
        * libc/include/sys/features.h: Enable barriers,
        wrlocks, and spinlocks for RTEMS.

18 years ago2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 13 Sep 2006 22:06:43 +0000 (22:06 +0000)]
2006-09-13  Patrick Mansfield <patmans@us.ibm.com>

        * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
        supposed to be writable.
        * libm/common/s_lib_ver.c: Ditto.

18 years agowhite space
Christopher Faylor [Wed, 13 Sep 2006 15:33:37 +0000 (15:33 +0000)]
white space

18 years agoCheck in previously mentioned change to cygcheck.cc
Christopher Faylor [Wed, 13 Sep 2006 15:32:04 +0000 (15:32 +0000)]
Check in previously mentioned change to cygcheck.cc

18 years ago2006-09-12 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Tue, 12 Sep 2006 17:31:40 +0000 (17:31 +0000)]
2006-09-12  Paul Brook  <paul@codesourcery.com>

        * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.

18 years ago* Makefile.in: Fix -ntdll typo.
Christopher Faylor [Tue, 12 Sep 2006 15:14:51 +0000 (15:14 +0000)]
* Makefile.in: Fix -ntdll typo.
* cygcheck.cc (main): Restore POSIXLY_CORRECT before displaying user's
environment.

18 years agoForgot ChangeLog in last commit
Chris Sutcliffe [Tue, 12 Sep 2006 00:29:39 +0000 (00:29 +0000)]
Forgot ChangeLog in last commit

18 years ago2006-09-11 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
Chris Sutcliffe [Tue, 12 Sep 2006 00:29:04 +0000 (00:29 +0000)]
2006-09-11  Chris Sutcliffe  <ir0n3h4d@users.sourceforge.net>

        * lib/Makefile.in: fix typo.
        * lib/ddk/Makefile.in: fix typo.
        * lib/directx/Makefile.in: fix typo.

        Thanks to Keith Marshall (keithmarshall at users dot sourceforge dot net)
        for pointing it out.

18 years ago* Makefile.in: Semi-revert 2006-08-30 change.
Christopher Faylor [Mon, 11 Sep 2006 16:06:35 +0000 (16:06 +0000)]
* Makefile.in: Semi-revert 2006-08-30 change.

18 years ago2006-09-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 10 Sep 2006 22:55:43 +0000 (22:55 +0000)]
2006-09-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Remove files from lib directory with distclean target

18 years ago * include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
Danny Smith [Sun, 10 Sep 2006 21:16:05 +0000 (21:16 +0000)]
* include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
(__MINGW_IMPORT): Ansify.
* include/stdlib.h (_sleep, _beep, _seterrormode): Add
__MINGW_ATTRIB_DEPRECATED.

18 years ago2006-09-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 10 Sep 2006 14:55:24 +0000 (14:55 +0000)]
2006-09-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (CS_DROPSHADOW): Define.

18 years ago * aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
Keith Marshall [Sun, 10 Sep 2006 14:44:55 +0000 (14:44 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CC_GNU, LIB_AC_PROG_CXX):
Redundant macros; deleted.

* configure.in (LIB_AC_PROG_CC): Replaced by...
(AC_PROG_CC): ...this.

* configure: Regenerated.

18 years ago2006-09-08 Michael Gerdau <mgdde@users.sourceforge.net>
Danny Smith [Fri, 8 Sep 2006 01:16:46 +0000 (01:16 +0000)]
2006-09-08  Michael Gerdau  <mgdde@users.sourceforge.net>

* include/uxtheme.h: (TMT_GRADIENTCOLOR4, TMT_GRADIENTCOLOR5,
TMT_SHADOWCOLOR, TMT_GLOWCOLOR, TMT_TEXTBORDERCOLOR,
TMT_TEXTSHADOWCOLOR, TMT_GLYPHTEXTCOLOR, TMT_GLYPHTRANSPARENTCOLOR,
TMT_FILLCOLORHINT, TMT_BORDERCOLORHINT, TMT_ACCENTCOLORHINT):
Increase each constant by 1.

18 years ago* environ.cc (build_env): Don't put an empty environment variable into the
Christopher Faylor [Thu, 7 Sep 2006 20:42:53 +0000 (20:42 +0000)]
* environ.cc (build_env): Don't put an empty environment variable into the
environment.  Optimize use of "len".
* errno.cc (ERROR_MORE_DATA): Translate to EMSGSIZE rather than EAGAIN.

18 years ago2006-09-07 Masaki Muranaka <monaka@monami-software.com>
Jeff Johnston [Thu, 7 Sep 2006 17:32:19 +0000 (17:32 +0000)]
2006-09-07  Masaki Muranaka  <monaka@monami-software.com>

        * libc/machine/xstormy16/Makefile.am:
        Add $(lpfx) prefix to LIBADD objects.
        lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
        * libc/machine/xstormy16/Makefile.in: Regenerated.

18 years ago2006-09-07 Masaki Muranaka <monaka@monami-software.com>
Jeff Johnston [Thu, 7 Sep 2006 17:28:09 +0000 (17:28 +0000)]
2006-09-07  Masaki Muranaka  <monaka@monami-software.com>

        * xstormy16/Makefile.in (clean): Fix a mismatched parenthesis.

18 years agobfd/
H.J. Lu [Thu, 7 Sep 2006 17:16:31 +0000 (17:16 +0000)]
bfd/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_link_hash_entry): Add a dynamic field.
(bfd_elf_link_mark_dynamic_symbol): New.
(SYMBOLIC_BIND): New.

* elf32-i386.c (elf_i386_check_relocs): Replace info->symbolic
with SYMBOLIC_BIND (info, h).
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise.

* elflink.c (bfd_elf_link_mark_dynamic_symbol): New.
(bfd_elf_record_link_assignment): Call
bfd_elf_link_mark_dynamic_symbol on new entry.
(_bfd_elf_merge_symbol): Likewise.
(_bfd_elf_export_symbol): Return if the symbol isn't exported.
(_bfd_elf_fix_symbol_flags): Replace info->symbolic with
SYMBOLIC_BIND (info, h).
(_bfd_elf_dynamic_symbol_p): Likewise.
(_bfd_elf_symbol_refs_local_p): Likewise.
(bfd_elf_size_dynamic_sections): Updated.

include/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_elf_dynamic_list): New.
(bfd_link_info): Add a dynamic field.

ld/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (CXX): Set to g++.
(CXX_FOR_TARGET): Likewise.
* Makefile.in: Regenerated.

* NEWS: Mention --dynamic-list.

* ld.texinfo: Document --dynamic-list.

* ldgram.y: Support dynamic list.

* ldlang.c (lang_process): Call lang_finalize_version_expr_head
on link_info.dynamic if needed.
(lang_append_dynamic_list): New.
(lang_append_dynamic_list_cpp_typeinfo): New.
* ldlang.h (lang_append_dynamic_list): Likewise.
* ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.

* ldlex.h (input_enum): Add input_dynamic_list.
* ldlex.l: Handle it.

* ldmain.c (main): Initialize link_info.dynamic.

* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
(ld_options): Add entries for OPTION_DYNAMIC_LIST and
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
(parse_args): Handle OPTION_DYNAMIC_LIST and
OPTION_DYNAMIC_LIST_CPP_TYPEINFO.

ld/testsuite/

2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/dl1.c: New file.
* ld-elf/dl1.list: Likewise.
* ld-elf/dl1.out: Likewise.
* ld-elf/dl1main.c: Likewise.
* ld-elf/dl2.c: Likewise.
* ld-elf/dl2.list: Likewise.
* ld-elf/dl2a.out: Likewise.
* ld-elf/dl2b.out: Likewise.
* ld-elf/dl2main.c: Likewise.
* ld-elf/dl2xxx.c: Likewise.
* ld-elf/dl2xxx.list: Likewise.
* ld-elf/dl3.cc: Likewise.
* ld-elf/dl3.list: Likewise.
* ld-elf/dl3a.out: Likewise.
* ld-elf/dl3b.out: Likewise.
* ld-elf/dl3header.h: Likewise.
* ld-elf/dl3main.cc: Likewise.

* ld-elf/shared.exp: Updated.

* lib/ld-lib.exp (run_ld_link_exec_tests): Take an optional
argument for source language. Use CC/CXX for link, depending
on source language.
(run_cc_link_tests): Likewise.

18 years ago [mingw-Bugs-1553275]
Danny Smith [Thu, 7 Sep 2006 09:09:13 +0000 (09:09 +0000)]
[mingw-Bugs-1553275]
* include/wingdi.h (SetLayout): Add prototype.
(GetLayout): Likewise.

18 years ago * mingwex/gdtoa/misc.c (pow5mult): Restore original code.
Danny Smith [Wed, 6 Sep 2006 22:03:16 +0000 (22:03 +0000)]
* mingwex/gdtoa/misc.c (pow5mult): Restore original code.
* mingwex/gdtoa/gdtoa.h. Add comment that files have been modified.
* mingwex/gdtoa/gdtoaimp.h: Include system headers with <> brackets.

18 years ago2006-09-06 Eric Blake <ebb9@byu.net>
Jeff Johnston [Wed, 6 Sep 2006 20:03:27 +0000 (20:03 +0000)]
2006-09-06  Eric Blake  <ebb9@byu.net>

        * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
        't', and 'z' modifiers.

18 years ago [mingw-Bugs-1550139]
Danny Smith [Sat, 2 Sep 2006 09:00:45 +0000 (09:00 +0000)]
[mingw-Bugs-1550139]
* include/oleauto.h (GetRecordInfoFromTypeInfo): Add prototype.
(GetRecordInfoFromGuids): Add prototype.

18 years agolibgloss/
Kazu Hirata [Fri, 1 Sep 2006 05:41:06 +0000 (05:41 +0000)]
libgloss/
Merge from newlib-csl-20060320-branch:
2006-08-31  Nathan Sidwell  <nathan@codesourcery.com>

* m68k/bdm-crt1.c: Call hardware_init_hook before copying
initialized data.

* m68k/Makefile.in (CF_BDM_SCRIPTS): Rename to CF_RAM_SCRIPTS.
(CF_SCRIPTS): Update.
(%-bdm.ld): Rename to %-ram.ld.

2006-08-25  Nathan Sidwell  <nathan@codesourcery.com>

* m68k/Makefile.in (DBUG_BSP, DBUG_OBJS): Remove.
(BDM_CRT0): New.
(BDM_OBJS): Add bdm-crt1.o.
(BDM_OTHER_OBJS): Remove print.o putnum.o
(CF_BOARDS): New.
(CF_BDM_SCRIPTS): Generated name of ram scripts.
(CF_ROM_SCRIPTS): Generated name of rom scripts.
(CF_SCRIPTS): Adjust.
(all): Add BDM_CRT0.
(bdm-crt0.o, bdm-crt1.o): New targets.
(bdm-isv.o): Remove.
(m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5282evb,
m5329evb, m5485evb): New.
(%-bdm.ld, %-rom.ld): New. Replace individual linker script rules.
(install): Remove DBUG installs.
* m68k/bdm-crt0.S: New.
* m68k/bdm-crt1.c: New.
* m68k/bdm-exit.c: Call __reset.
* m68k/bdm-isv.c: Remove.
* m68k/cf.sc: Adjust to produce either rom or ram images.
* m68k/dbug-exit.S, m68k/dbug-inbyte.S, m68k/dbug-outbyte.S: Remove.

2006-07-24  Nathan Sidwell  <nathan@codesourcery.com>

Bug 844
* m68k/cf.sc: Set entry point to _start.
* m68k/crt0.X (_start): New name for entrypoint
(start): Weak alias for start.

2006-06-09  Nathan Sidwell  <nathan@codesourcery.com>

* m68k/bdm-system.c (_system): Support system(NULL).

2006-06-08  Nathan Sidwell  <nathan@codesourcery.com>

* m68k/bdm-system.c (_system): Properly encode non failure exit
code.

2006-06-05  Nathan Sidwell  <nathan@codesourcery.com>

* m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-inbyte.o.
Add bdm-time.o.
* m68k/bdm-close.c: Add copyright notice.
* m68k/bdm-fstat.c: Add copyright notice.
* m68k/bdm-gettimeofday.c: Add copyright notice.
* m68k/bdm-inbyte.c: Remove.
* m68k/bdm-isatty.c: Add copyright notice.
* m68k/bdm-lseek.c: Add copyright notice. Fix &/| thinko.
* m68k/bdm-open.c: Add copyright notice.
* m68k/bdm-read.c: Add copyright notice.
* m68k/bdm-rename.c: Add copyright notice.
* m68k/bdm-stat.c: Add copyright notice.
* m68k/bdm-system.c: Add copyright notice.
* m68k/bdm-time.c: New.
* m68k/bdm-unlink.c: Add copyright notice.
* m68k/bdm-write.c: Add copyright notice.

2006-05-25  Nathan Sidwell  <nathan@codesourcery.com>

* m68k/Makefile.in (m52235-dbug.ld, m52235-bdm.ld): New
scripts.

2006-05-24  Nathan Sidwell  <nathan@codesourcery.com>

* m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o.
* m68k/bdm-outbyte.c: Delete.
* m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.

2006-05-22  Sandra Loosemore <sandra@codesourcery.com>

* m68k/bdm-semihost.h: Add new constants for additional
semihosting functions.  Add new BDM_TRAP macro to encapsulate
inline asm.
* m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
* m68k/bdm-outbyte.c (outbyte): Ditto.
* m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
now called BDM_TRAPNUM.
* m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
containing declarations and conversion functions for GDB's fileio
protocol.
* m68k/bdm-close.c: New file to define corresponding function.
* m68k/bdm-fstat.c: Ditto.
* m68k/bdm-gettimeofday.c: Ditto.
* m68k/bdm-isatty.c: Ditto.
* m68k/bdm-lseek.c: Ditto.
* m68k/bdm-open.c: Ditto.
* m68k/bdm-read.c: Ditto.
* m68k/bdm-rename.c: Ditto.
* m68k/bdm-stat.c: Ditto.
* m68k/bdm-system.c: Ditto.
* m68k/bdm-unlink.c: Ditto.
* m68k/bdm-write.c Ditto.
* m68k/Makefile.in: Add dependencies for new files.

2006-03-29  Nathan Sidwell  <nathan@codesourcery.com>

* m68k/bdm-isv.c (software_init_hook): Fix trap numbering.

* m68k/Makefile.in (CF_SCRIPTS): Add m5329 board.
Reorder.
(*-dbug.ld, *-bdm.ld): Add appropriate IO definition.
(m5329evb-dbug.ld, m5329evb-bdm.ld): New.
* cf.sc (GROUP): Revert previous change.  Add IO library.

* m68k/Makefile.in (BDM_BSP, BDM_OBJS, BDM_ISRS): New.
(CF_SCRIPTS): Rename dbug scripts.  Add bdm scripts. Add m5485
scripts.
(all): Add new targets.
(BDM_BSP): New target.
(bdm-isv.o, bdm-exit.o, bdm-outbyte.o, bdm-semihost.o): New
targets.
(BDM_ISRS): New targets.
(m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld, m5282evb.ld):
Rename and adjust.
(m5485evb-dbug): New.
(m5208evb-bdm.ld, m5213evb-bdm.ld, m5235evb-bdm.ld,
m5272c3-bdm.ld, m5282evb-bdm.ld, m5485evb-bdm.ld): New.
(install): Add BDM_BSP.
* m68k/bdm-exit.c: New
* m68k/bdm-inbyte.c: New
* m68k/bdm-outbyte.c: New
* m68k/bdm-semihost.c: New
* m68k/bdm-semihost.h: New
* m68k/bdm-isrs.c: New.
* m68k/bdm-isv.c: New.
* dbug-cf.sc: Renamed to ...
* cf.sc: ... here.  Add bdm flexibility. Remove GROUP

2006-05-22  Sandra Loosemore <sandra@codesourcery.com>

* m68k/bdm-semihost.h: Add new constants for additional
semihosting functions.  Add new BDM_TRAP macro to encapsulate
inline asm.
* m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
* m68k/bdm-outbyte.c (outbyte): Ditto.
* m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
now called BDM_TRAPNUM.
* m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
containing declarations and conversion functions for GDB's fileio
protocol.
* m68k/bdm-close.c: New file to define corresponding function.
* m68k/bdm-fstat.c: Ditto.
* m68k/bdm-gettimeofday.c: Ditto.
* m68k/bdm-isatty.c: Ditto.
* m68k/bdm-lseek.c: Ditto.
* m68k/bdm-open.c: Ditto.
* m68k/bdm-read.c: Ditto.
* m68k/bdm-rename.c: Ditto.
* m68k/bdm-stat.c: Ditto.
* m68k/bdm-system.c: Ditto.
* m68k/bdm-unlink.c: Ditto.
* m68k/bdm-write.c Ditto.
* m68k/Makefile.in: Add dependencies for new files.

newlib/
Merge from newlib-csl-20060320-branch:
2006-05-22  Sandra Loosemore <sandra@codesourcery.com>

* configure.host: Tell it we have _rename and _system when
building m68k-unknown-elf.

18 years ago * include/winbase.h: Add comment about 'missing' SEM flag.
Danny Smith [Fri, 1 Sep 2006 01:28:30 +0000 (01:28 +0000)]
* include/winbase.h: Add comment about 'missing' SEM flag.

18 years ago Import David Gay's gdtoa library.
Danny Smith [Thu, 31 Aug 2006 23:48:56 +0000 (23:48 +0000)]
Import David Gay's gdtoa library.

* mingwex/gdtoa: New directory.
* mingwex/gdtoa/(arithchk.c, dmisc.c, dtoa.c, g__fmt.c, g_dfmt.c,
g_ffmt.c, g_xfmt.c, gd_arith.h, gd_qnan.h, gdtoa.c, gdtoa.h,
gdtoaimp.h, gethex.c, gmisc.c, hd_init.c, hexnan.c, misc.c, qnan.c,
README, smisc.c, strtodg.c, strtodnrp.c, strtof.c, strtopx.c, sum.c,
ulp.c): New files.
* mingwex/(strtof.c, strtold.c, ldtoa.c): Remove files.
* mingwex/math/(cephes-emath.c, cephes-emath.h): Remove files.
* mingwex/mb_wc_common.h (get_cp_from_locale); Rename to get_codepage().
        * mingwex/(btowc.c, wctob.c, mbrtowc.c, wcrtomb.c): Adjust call to get_codepage().
* mingwex/wcstold.c: Avoid using strtold internals.
* mingwex/wcstof.c: Rewrite.
* mingwex/Makefile.in (GDTOA_DISTFILES): Add to distribution.
(GDTOA_OBJS): Add to library.
(DISTFILES): Remove strtof.c strtold.c ldtoa.c cephes-emath.c cephes-emath.h.
(STDLIB_OBJS): Remove.
(STDLIB_STUB_OBJS): Remove strtof.o wcstof,o.
(Q8_OBJS): Add wcstof.o wcstold.o.
* include/stdlib.h (strtof): Remove inline definition.
(wcstof): Likewise.
* include/wchar.h (wcstof): Remove inline definition.

18 years ago * grp.cc (initgroups32): Run get_server_groups under original token.
Corinna Vinschen [Thu, 31 Aug 2006 15:57:56 +0000 (15:57 +0000)]
* grp.cc (initgroups32): Run get_server_groups under original token.
* syscalls.cc (seteuid32): Slightly reorganize code creating a token.

18 years ago* Makefile.in: Make install-license .PHONY. Make sure that doc directory is
Christopher Faylor [Thu, 31 Aug 2006 00:53:48 +0000 (00:53 +0000)]
* Makefile.in: Make install-license .PHONY.  Make sure that doc directory is
created before copying to it.

18 years ago2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Wed, 30 Aug 2006 19:06:48 +0000 (19:06 +0000)]
2006-08-30  Kazunori Asayama  <asayama@sm.sony.co.jp>

        * spu/syscalls.c: Add a new argument to _send_to_ppe() to
        specify signal code.
        * spu/jsre.h: Update declaration of _send_to_ppe().
        * spu/close.c: Replace _send_to_ppe_0x2101() by _send_to_ppe().
        * spu/fstat.c: Ditto.
        * spu/lseek.c: Ditto.
        * spu/open.c: Ditto.
        * spu/read.c: Ditto.
        * spu/stat.c: Ditto.
        * spu/unlink.c: Ditto.
        * spu/write.c: Ditto.

18 years ago2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Wed, 30 Aug 2006 19:04:31 +0000 (19:04 +0000)]
2006-08-30  Kazunori Asayama  <asayama@sm.sony.co.jp>

* spu/Makefile.in: Add dependency.

18 years ago * configure.in: Never build newlib for a Mingw host.
Corinna Vinschen [Wed, 30 Aug 2006 13:14:18 +0000 (13:14 +0000)]
* configure.in: Never build newlib for a Mingw host.
Never build newlib as Mingw target library.
Test the existence of winsup/cygwin for building a Cygwin newlib,
rather than just winsup.
Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if
building a Mingw target.
* configure: Regenerate.

18 years ago * Makefile.in: Make installation of CYGWIN_LICENSE configurable.
Corinna Vinschen [Wed, 30 Aug 2006 13:05:46 +0000 (13:05 +0000)]
* Makefile.in: Make installation of CYGWIN_LICENSE configurable.
* aclocal.m4: Regenerate.
* configure.in: Add GCC_NO_EXECUTABLES call. Add configuration for
INSTALL_LICENSE.  Make cygwin subdirectory optional.  Add sanity
check for cygwin resp. mingw subdirectories dependent of the target.
* configure: Regenerate.

18 years ago * Makefile.in: Add with_cross_host to allow more granular checks.
Corinna Vinschen [Wed, 30 Aug 2006 13:05:05 +0000 (13:05 +0000)]
* Makefile.in: Add with_cross_host to allow more granular checks.
Set installation directories accordingly.  Override CC setting only
if building a Cygwin target.
* aclocal.m4: Regenerate.
* configure.in: Move AC_CANONICAL_SYSTEM check up.  Add
GCC_NO_EXECUTABLES.  Substitute with_cross_host in depending files.
Test AC_ALLOCA only if building on a native system.
* configure: Regenerate.

18 years ago * configure.in: Substitute with_cross_host in depending files.
Corinna Vinschen [Wed, 30 Aug 2006 13:04:41 +0000 (13:04 +0000)]
* configure.in: Substitute with_cross_host in depending files.
* configure: Regenerate.
* lib/Makefile.in: Add with_cross_host to allow more granular checks.
Set installation directories accordingly.
* lib/ddk/Makefile.in: Ditto.
* lib/directx/Makefile.in: Ditto.

18 years agoRemove references to %redact files
Nick Clifton [Wed, 30 Aug 2006 08:40:26 +0000 (08:40 +0000)]
Remove references to %redact files

18 years ago2006-08-29 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Tue, 29 Aug 2006 21:00:59 +0000 (21:00 +0000)]
2006-08-29  Paul Brook  <paul@codesourcery.com>

        * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.

18 years ago2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
Jeff Johnston [Mon, 28 Aug 2006 17:17:24 +0000 (17:17 +0000)]
2006-08-27  Joel Sherrill <joel.sherrill@OARcorp.com>

        * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
        BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
        This is needed to build all AVR and H8300 RTEMS multilib variants.

18 years ago* child_info.h (child_info_spawn::~child_info_spawn): Don't close myself_pinfo
Christopher Faylor [Sun, 27 Aug 2006 16:46:27 +0000 (16:46 +0000)]
* child_info.h (child_info_spawn::~child_info_spawn): Don't close myself_pinfo
handle when spawning.

18 years ago2006-08-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 27 Aug 2006 12:14:58 +0000 (12:14 +0000)]
2006-08-27  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

    * include/ctype.h: Fix typo.

18 years ago * faq-setup.xml (faq.setup.uninstall): Mention Safe Mode
Joshua Daniel Franklin [Sat, 26 Aug 2006 19:11:00 +0000 (19:11 +0000)]
    * faq-setup.xml (faq.setup.uninstall): Mention Safe Mode
requirement for accessing the Security tab in XP Home.
        * faq-using.xml (faq.using.chmod): Mention FAT32.

18 years ago * include/ctype.h: Expose iswblank if __cplusplus.
Danny Smith [Fri, 25 Aug 2006 09:10:05 +0000 (09:10 +0000)]
* include/ctype.h: Expose iswblank if __cplusplus.
* include/wctype.h: Expose iswblank if __cplusplus.

18 years ago2006-08-24 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Thu, 24 Aug 2006 23:07:15 +0000 (23:07 +0000)]
2006-08-24  Paul Brook  <paul@codesourcery.com>

        * arm/linux-crt0.c: Disable Arm stub for Thumb-2.

18 years ago2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Wed, 23 Aug 2006 16:13:24 +0000 (16:13 +0000)]
2006-08-23  Kazunori Asayama  <asayama@sm.sony.co.jp>

        * spu/Makefile.in: Add new object files.
        * spu/syscalls.c: Move each system call to individual file.
        * spu/jsre.h: Add declaration of _send_to_ppe_0x2101().
        * spu/close.c: New file. Moved from spu/syscalls.c.
        * spu/fstat.c: Likewise.
        * spu/getpid.c: Likewise.
        * spu/isatty.c: Likewise.
        * spu/kill.c: Likewise.
        * spu/lseek.c: Likewise.
        * spu/open.c: Likewise.
        * spu/read.c: Likewise.
        * spu/stat.c: Likewise.
        * spu/unlink.c: Likewise.
        * spu/write.c: Likewise.

18 years ago2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Wed, 23 Aug 2006 16:07:36 +0000 (16:07 +0000)]
2006-08-23  Kazunori Asayama  <asayama@sm.sony.co.jp>

        * libc/machine/configure.in: Add configuration for SPU.
        * libc/machine/configure: Regenerated.
        * libc/machine/spu/memcpy.c: Include string.h.

18 years ago2006-08-22 Eric Blake <ebb9@byu.net>
Jeff Johnston [Tue, 22 Aug 2006 20:30:37 +0000 (20:30 +0000)]
2006-08-22  Eric Blake  <ebb9@byu.net>

        * libc/posix/popen.c (popen): Don't close output end of pipe in
        child if stdout was closed on entry.
        [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.

18 years ago2006-08-21 David Ung <davidu@mips.com>
Jeff Johnston [Mon, 21 Aug 2006 22:24:42 +0000 (22:24 +0000)]
2006-08-21  David Ung  <davidu@mips.com>

        * mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16
        option since it uses the syscall instruction.

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Fix formatting.
Corinna Vinschen [Sun, 20 Aug 2006 12:31:07 +0000 (12:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Fix formatting.

18 years ago * fhandler_disk_file.cc (DIR_NUM_ENTRIES): Set to 100 to maximize
Corinna Vinschen [Sun, 20 Aug 2006 12:18:12 +0000 (12:18 +0000)]
* fhandler_disk_file.cc (DIR_NUM_ENTRIES): Set to 100 to maximize
performance on remote shares.
(fhandler_disk_file::opendir): Move comment about Samba weirdness into
fhandler_disk_file::readdir.  Don't disallow
FileIdBothDirectoryInformation on Samba.
(fhandler_disk_file::readdir): Workaround Samba problem with
FileIdBothDirectoryInformation by rereading already read entries
using FileBothDirectoryInformation.  Change comment about Samba
weirdness explaining this change.

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::pread): Properly check for
Christopher Faylor [Sat, 19 Aug 2006 21:44:58 +0000 (21:44 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::pread): Properly check for
non-error return from lseek.

18 years ago* sys/types.h: Correct syntax error caused by missing '\' on #ifdef line.
Christopher Faylor [Sat, 19 Aug 2006 16:13:23 +0000 (16:13 +0000)]
* sys/types.h: Correct syntax error caused by missing '\' on #ifdef line.

18 years ago2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
Jeff Johnston [Thu, 17 Aug 2006 15:53:15 +0000 (15:53 +0000)]
2006-08-17  Brian Ford  <Brian.Ford@FlightSafety.com>

        * libc/time/gmtime.c: Correct man page; clock is not a
        local time and no conversion occurs.

18 years ago * fhandler_serial.cc (raw_read): Evaluate minchars taking the
Corinna Vinschen [Thu, 17 Aug 2006 14:51:48 +0000 (14:51 +0000)]
* fhandler_serial.cc (raw_read): Evaluate minchars taking the
vmin_ > ulen case into account.  Simplify evaluating the bytes to read.
Don't use bytes in Queue value from ClearCommError call in case vtime_
is > 0.  Reformat GetOverlappedResult call.  Simplify call to ReadFile.

18 years ago2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 16 Aug 2006 21:51:13 +0000 (21:51 +0000)]
2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>

        * configure.host (newlib_cflags) [spu]: Add special compiler
        options to reduce size.

18 years ago2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 16 Aug 2006 21:49:24 +0000 (21:49 +0000)]
2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>

        * spu/Makefile.in: Add special compiler
        options to reduce size.

18 years ago2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 16 Aug 2006 21:45:53 +0000 (21:45 +0000)]
2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>

        * spu/jsre.h(JSRE_STAT): New define.
        (syscall_stat_t): New type.
        * spu/syscalls.c(stat): New syscall.

18 years ago2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 16 Aug 2006 21:39:43 +0000 (21:39 +0000)]
2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>

        * configure.host: Add spu support.
        * libc/include/stdint.h: Ditto.
        * libc/include/machine/ieeefp.h: Ditto.
        * libc/include/machine/setjmp.h: Ditto.
        * libc/include/sys/config.h: Ditto.
        * libc/include/sys/types.h: Ditto.
        * libc/machine/spu/Makefile.am: New file.
        * libc/machine/spu/Makefile.in: Ditto.
        * libc/machine/spu/aclocal.m4: Ditto.
        * libc/machine/spu/configure: Ditto.
        * libc/machine/spu/configure.in: Ditto.
        * libc/machine/spu/memcpy.c: Ditto.
        * libc/machine/spu/setjmp.S: Ditto.

18 years ago2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 16 Aug 2006 21:15:03 +0000 (21:15 +0000)]
2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>

        *  configure.in: Add spu support.
        *  configure: Regenerated.
        *  spu/Makefile.in: New file.
        *  spu/aclocal.m4: Ditto.
        *  spu/configure: Ditto.
        *  spu/configure.in: Ditto.
        *  spu/crt0.c: Ditto.
        *  spu/exit.c: Ditto.
        *  spu/init.c: Ditto.
        *  spu/jsre.h: Ditto.
        *  spu/sbrk.c: Ditto.
        *  spu/syscalls.c: Ditto.

18 years ago [ ChangeLog ]
Thiemo Seufer [Tue, 15 Aug 2006 18:23:07 +0000 (18:23 +0000)]
[ ChangeLog ]
* config.sub: Add support for sde as alias of mipsisa32-sde-elf.

[ bfd/ChangeLog ]
* config.bfd: Add configurations for mips*el-sde-elf* and
mips*-sde-elf*.

[ binutils/testsuite/ChangeLog ]
* binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*.

[ gas/ChangeLog ]
* configure.tgt: Handle mips*-sde-elf*.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips.exp: Handle mips*-sde-elf*.

18 years ago * security.cc (subauth): Initialize user_token to NULL. Add comment.
Corinna Vinschen [Mon, 14 Aug 2006 11:32:11 +0000 (11:32 +0000)]
* security.cc (subauth): Initialize user_token to NULL.  Add comment.

18 years ago * shared.cc (open_shared): Desperately try to get shared memory, only
Corinna Vinschen [Fri, 11 Aug 2006 15:40:07 +0000 (15:40 +0000)]
* shared.cc (open_shared): Desperately try to get shared memory, only
when DEBUGGING enabled for now.

18 years ago * lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here...
Danny Smith [Thu, 10 Aug 2006 21:06:01 +0000 (21:06 +0000)]
* lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here...
* lib/kernel32.def (WTSGetActiveConsoleSessionId). ...to here.

18 years ago* pinfo.cc (_onreturn::~onreturn): Don't attempt to close a NULL handle.
Christopher Faylor [Thu, 10 Aug 2006 20:25:54 +0000 (20:25 +0000)]
* pinfo.cc (_onreturn::~onreturn): Don't attempt to close a NULL handle.

18 years agorevert erroneous checkin
Christopher Faylor [Thu, 10 Aug 2006 14:16:24 +0000 (14:16 +0000)]
revert erroneous checkin

18 years ago* winsup.h: Turn on DEBUGGING by default for now.
Christopher Faylor [Thu, 10 Aug 2006 14:15:00 +0000 (14:15 +0000)]
* winsup.h: Turn on DEBUGGING by default for now.

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::lock): Handle
Corinna Vinschen [Thu, 10 Aug 2006 08:44:43 +0000 (08:44 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::lock): Handle
ERROR_NOT_LOCKED returned from UnlockFileEx.

18 years ago* overview2.sgml: Remove inaccurate "full support for windows pathnames"
Christopher Faylor [Wed, 9 Aug 2006 16:13:56 +0000 (16:13 +0000)]
* overview2.sgml: Remove inaccurate "full support for windows pathnames"
clause.

18 years ago * path.h (SYMLINK_EA_NAME): Remove.
Corinna Vinschen [Wed, 9 Aug 2006 15:33:46 +0000 (15:33 +0000)]
* path.h (SYMLINK_EA_NAME): Remove.
(SHORTCUT_HDR_SIZE): Ditto.

18 years ago* autoload.cc (GetHandleInformation): Declare new function.
Christopher Faylor [Wed, 9 Aug 2006 15:04:32 +0000 (15:04 +0000)]
* autoload.cc (GetHandleInformation): Declare new function.
(SetHandleInformation): Ditto.
* debug.cc (add_handle): Use SetHandleInformation to protect handle.
(close_handle): Use SetHandleInformation to unprotect handle.
* spawn.cc (spawn_guts): Move detached test outside of P_OVERLAY block.

18 years ago * autoload.cc (NtSetInformationFile): Define.
Corinna Vinschen [Mon, 7 Aug 2006 19:29:14 +0000 (19:29 +0000)]
* autoload.cc (NtSetInformationFile): Define.
* cygwin.din: Export posix_fadvise and posix_fallocate.
* fhandler.cc (fhandler_base::fadvise): New method.
(fhandler_base::ftruncate): Add allow_truncate parameter.
* fhandler.h (class fhandler_base): Add fadvise method.  Accomodate
new parameter to ftruncate.
(class fhandler_pipe): Add fadvise and ftruncate methods.
(class fhandler_disk_file): Add fadvise method.  Accomodate new
parameter to ftruncate.
* fhandler_disk_file.cc (fhandler_disk_file::fadvise): New method.
(fhandler_disk_file::ftruncate): Accomodate new allow_truncate
parameter.  Set EOF using NtSetInformationFile on NT.
* ntdll.h (struct _FILE_END_OF_FILE_INFORMATION): Define.
(NtSetInformationFile): Declare.
* pipe.cc (fhandler_pipe::fadvise): New method.
(fhandler_pipe::ftruncate): Ditto.
* syscalls.cc (posix_fadvise): New function.
(posix_fallocate): Ditto.
(ftruncate64): Accomodate second parameter to fhandler's ftruncate
method.
* include/fcntl.h: Add POSIX_FADV_* flags.  Add declarations of
posix_fadvise and posix_fallocate.
* include/cygwin/version.h: Bump API minor number.

18 years ago* ldmain.c (main): Initialise print_gc_sections field of link_info structure.
Nick Clifton [Fri, 4 Aug 2006 14:53:25 +0000 (14:53 +0000)]
* ldmain.c (main): Initialise print_gc_sections field of link_info structure.
* lexsup.c: Add --print-gc-sections and --no-print-gc-sections switches.
* ld.texinfo: Document new switches.
* NEWS: Mention new switches.
* bfdlink.h (struct bfd_link_info): New field: print_gc_sections.
* elflink.c (elf_gc_sweep): If info.print_gc_sections is true, list removed sections to stderr.

18 years ago * include/ctype.h: Remove stray ')'.
Danny Smith [Thu, 3 Aug 2006 21:05:05 +0000 (21:05 +0000)]
* include/ctype.h: Remove stray ')'.

18 years ago2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
Jeff Johnston [Thu, 3 Aug 2006 16:56:05 +0000 (16:56 +0000)]
2006-08-03  J"orn Rennecke  <joern.rennecke@st.com>

        * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
        properly.

18 years ago * path.cc (vconcat): Don't convert backslahes to slashes.
Corinna Vinschen [Thu, 3 Aug 2006 15:29:30 +0000 (15:29 +0000)]
* path.cc (vconcat): Don't convert backslahes to slashes.
(cygpath): Return native path with all backslashes.

18 years ago * include/ctype.h (_BLANK): Expand comment.
Danny Smith [Thu, 3 Aug 2006 07:44:30 +0000 (07:44 +0000)]
* include/ctype.h (_BLANK): Expand comment.
(isblank): Add prototype and inline definition.
(iswblank): Add prototype and inline definition.
* include/wctype.h (iswblank): Add prototype and inline definition.
* mingwex/isblank.c: New file.
* mingwex/iswblank.c: New file.
* mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a

18 years agofix typo
Christopher Faylor [Thu, 3 Aug 2006 03:59:27 +0000 (03:59 +0000)]
fix typo

18 years ago* Makefile.in (subauth): Add dependency on mingw.
Christopher Faylor [Thu, 3 Aug 2006 03:47:54 +0000 (03:47 +0000)]
* Makefile.in (subauth): Add dependency on mingw.

18 years ago* environ.cc (env_win32_to_posix_path_list): Declare.
Christopher Faylor [Wed, 2 Aug 2006 15:11:48 +0000 (15:11 +0000)]
* environ.cc (env_win32_to_posix_path_list): Declare.
(conv_envvars): Use env_win32_to_posix_path_list rather than
cygwin_win32_to_posix_path_list.
(posify): Translate back to win32 path if errno is EIDRM.
* environ.h: Update copyright.  Define ENV_CVT.
* path.cc (conv_path_list): If converting for the environment and removed an
element set errno to ENV_CVT.
(env_win32_to_posix_path_list): New function.

18 years ago * Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll.
Corinna Vinschen [Wed, 2 Aug 2006 09:48:18 +0000 (09:48 +0000)]
* Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll.
* cygpath.cc: Include DDK headers.
(RtlAllocateUnicodeString): New static inline function.
(get_device_name): New static function to evaluate DOS path from
native NT path.
(get_device_paths): New function to do the same for path lists.
(doit): Call get_device_paths/get_device_name where appropriate.

18 years ago2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 1 Aug 2006 20:20:25 +0000 (20:20 +0000)]
2006-08-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/Makefile.am: Add libc_TEXINFOS dependency on
        generated .texi files.
        * libm/Makefile.am: Add libm_TEXINFOS dependency on
        generated .texi files.
        * libc/Makefile.in: Regenerated.
        * libm/Makefile.in: Ditto.

18 years ago* cygwinenv.sgml: Document [no]dosfilewarning option.
Christopher Faylor [Tue, 1 Aug 2006 18:06:49 +0000 (18:06 +0000)]
* cygwinenv.sgml: Document [no]dosfilewarning option.

18 years ago* environ.cc (dos_file_warning): Declare.
Christopher Faylor [Tue, 1 Aug 2006 18:00:44 +0000 (18:00 +0000)]
* environ.cc (dos_file_warning): Declare.
(parse_thing): Add "dosfilewarning".  Alphabetize.
* path.cc (normalize_posix_path): Return -1 when MS-DOS path detected.
(warn_msdos): New function.
(path_conv::check): Call if !PC_NOWARN and MS-DOS path detected.
(cygwin_conv_to_win32_path): Set PC_NOWARN when calling path_conv.
(cygwin_conv_to_full_win32_path): Ditto.
* path.h (pathconv_arg::PC_NOWARN): Define.
* shared_info.h (user_info::warned_msdos): New field.
(CURR_USER_MAGIC): Reset.

18 years ago2006-08-01 Thiemo Seufer <ths@mips.com>
Jeff Johnston [Tue, 1 Aug 2006 15:54:04 +0000 (15:54 +0000)]
2006-08-01  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>

* libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
define this to force _impure_ptr to live in the .sdata section.

18 years ago2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 31 Jul 2006 23:01:28 +0000 (23:01 +0000)]
2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4: Check for readelf tool.
        * configure.in: Use ${READELF} instead of hard-coding.
        * Regenerate all aclocal.m4, Makefile.in, and configure files.

18 years ago2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 31 Jul 2006 22:21:24 +0000 (22:21 +0000)]
2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/mmap.c: Remove include of sys/mman.h
        to avoid conflict with newer glibc's revision of mremap.

18 years ago * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem
Corinna Vinschen [Mon, 31 Jul 2006 14:27:56 +0000 (14:27 +0000)]
* fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem
with poll(2) after shutdown(SHUT_RD) has been called on the local side.
* poll.cc (poll): Use POSIX type nfds_t for second parameter.  Drop
special socket handling for POLLIN.  Add comment to explain why.
* include/sys/poll.h: Declare nfds_t.  Use as type for second parameter
in poll(2) declaration.

18 years ago * fhandler_socket.cc (fhandler_socket::evaluate_events): Circumvent
Corinna Vinschen [Mon, 31 Jul 2006 12:55:20 +0000 (12:55 +0000)]
* fhandler_socket.cc (fhandler_socket::evaluate_events): Circumvent
potential race condition.
(fhandler_socket::recv_internal): Fix MSG_PEEK bug on blocking sockets
and simplify recv loop.
(fhandler_socket::send_internal): Only lock when changing wsock_events.

18 years ago * autoload.cc: Drop LoadDLLprime for wsock32 since no wsock32 function
Corinna Vinschen [Mon, 31 Jul 2006 08:59:56 +0000 (08:59 +0000)]
* autoload.cc: Drop LoadDLLprime for wsock32 since no wsock32 function
is used anymore.  Drop all unused ws2_32.dll functions.

18 years ago * cygpath.cc (get_long_name): Fallback to get_long_path_name_w32impl.
Corinna Vinschen [Mon, 31 Jul 2006 07:31:56 +0000 (07:31 +0000)]
* cygpath.cc (get_long_name): Fallback to get_long_path_name_w32impl.

18 years ago Update more IMAGE relocation type indicators
Danny Smith [Sat, 29 Jul 2006 09:25:45 +0000 (09:25 +0000)]
Update more IMAGE relocation type indicators
to PECOFF v8 (May, 2006) specs.

* include/winnt.h (IMAGE_REL_SH3_ABSOLUTE,
IMAGE_REL_SH3_DIRECT16, IMAGE_REL_SH3_DIRECT32,
IMAGE_REL_SH3_DIRECT8, IMAGE_REL_SH3_DIRECT8_WORD,
IMAGE_REL_SH3_DIRECT8_LONG, IMAGE_REL_SH3_DIRECT4,
IMAGE_REL_SH3_DIRECT4_WORD, IMAGE_REL_SH3_DIRECT4_LONG,
IMAGE_REL_SH3_PCREL8_WORD, IMAGE_REL_SH3_PCREL8_LONG,
IMAGE_REL_SH3_PCREL12_WORD, IMAGE_REL_SH3_STARTOF_SECTION,
IMAGE_REL_SH3_SIZEOF_SECTION, IMAGE_REL_SH3_SECTION,
IMAGE_REL_SH3_SECREL, IMAGE_REL_SH3_DIRECT32_NB,
IMAGE_REL_SH3_GPREL4_LONG, IMAGE_REL_SH3_TOKEN,
IMAGE_REL_SHM_PCRELPT, IMAGE_REL_SHM_REFLO,
IMAGE_REL_SHM_REFHALF, IMAGE_REL_SHM_RELLO,
IMAGE_REL_SHM_RELHALF, IMAGE_REL_SHM_PAIR,
IMAGE_REL_SHM_NOMODE): Add defines.

(IMAGE_REL_M32R_ABSOLUTE, IMAGE_REL_M32R_ADDR32,
IMAGE_REL_M32R_ADDR32NB, IMAGE_REL_M32R_ADDR24,
IMAGE_REL_M32R_GPREL16, IMAGE_REL_M32R_PCREL24,
IMAGE_REL_M32R_PCREL16, IMAGE_REL_M32R_PCREL8,
IMAGE_REL_M32R_REFHALF, IMAGE_REL_M32R_REFHI,
IMAGE_REL_M32R_REFLO, IMAGE_REL_M32R_PAIR,
IMAGE_REL_M32R_SECTION, IMAGE_REL_M32R_SECREL,
IMAGE_REL_M32R_TOKEN): Add defines.

(IMAGE_REL_MIPS_JMPADDR16): Add define.

18 years ago * fhandler.h (struct wsa_event): Define here.
Corinna Vinschen [Fri, 28 Jul 2006 08:50:46 +0000 (08:50 +0000)]
* fhandler.h (struct wsa_event): Define here.
(class fhandler_socket): Make wsock_evt private again.
(fhandler_socket::wsock_event): New read accessor for wsock_evt.
(fhandler_socket::serial_number): New read accessor to get the
socket's serial number.
(fhandler_socket::ready_for_read): Just return true.
* fhandler_socket.cc (struct wsa_event): Move definition to fhandler.h.
* select.cc (struct socketinf): Add serial number vector.
(start_thread_socket): Identify duplicate sockets by their serial
number, not (wrongly) by their wsock_evt.

18 years ago * cygpath.c (get_long_name): Cover the case that GetLongPathName
Corinna Vinschen [Thu, 27 Jul 2006 21:07:33 +0000 (21:07 +0000)]
* cygpath.c (get_long_name): Cover the case that GetLongPathName
doesn't return valid information for non-existant files.  Just return
incoming filename in that case.

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