]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use
Hans-Peter Nilsson [Wed, 21 Feb 2007 14:08:26 +0000 (14:08 +0000)]
* cris/crt0.S: Use jump, not ba, to skip the interrupt table.  Use
"setf", not "nop", for common_v10_v32 compatibility.
Move out interrupt table to irqtable.S.  Include here for non-ELF.
* cris/irqtable.S: Extracted from cris/crt0.S.  Provide per-entry
weak default stub definitions.
* cris/crtn.c: Use "setf", not "nop", for common_v10_v32
compatibility.
* cris/setup.S [__arch_common_v10_v32]: Return.
* cris/Makefile.in (BSP_OBJS): Add irqtable.o.

17 years ago2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Tue, 20 Feb 2007 21:02:36 +0000 (21:02 +0000)]
2007-02-20  Patrick Mansfield <patmans@us.ibm.com>

        * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".

17 years ago2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Tue, 20 Feb 2007 20:58:38 +0000 (20:58 +0000)]
2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/Makefile.am: Add new objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/fiprintf.c: New file. Add implementation of
        integer-only version.
        * libc/machine/spu/fiscanf.c: Ditto.
        * libc/machine/spu/iprintf.c: Ditto.
        * libc/machine/spu/iscanf.c: Ditto.
        * libc/machine/spu/siprintf.c: Ditto.
        * libc/machine/spu/siscanf.c: Ditto.
        * libc/machine/spu/sniprintf.c: Ditto.
        * libc/machine/spu/vfiprintf.c: Ditto.
        * libc/machine/spu/vfiscanf.c: Ditto.
        * libc/machine/spu/viprintf.c: Ditto.
        * libc/machine/spu/viscanf.c: Ditto.
        * libc/machine/spu/vsiprintf.c: Ditto.
        * libc/machine/spu/vsiscanf.c: Ditto.
        * libc/machine/spu/vsniprintf.c: Ditto.
        * libc/machine/spu/fprintf.c: Add support for integer-only
        version.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.
        * libc/machine/spu/vfprintf.c: Ditto.
        * libc/machine/spu/vfscanf.c: Ditto.
        * libc/machine/spu/vprintf.c: Ditto.
        * libc/machine/spu/vscanf.c: Ditto.
        * libc/machine/spu/vsnprintf.c: Ditto.
        * libc/machine/spu/vsprintf.c: Ditto.
        * libc/machine/spu/vsscanf.c: Ditto.

17 years ago2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Tue, 20 Feb 2007 20:53:35 +0000 (20:53 +0000)]
2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/include/stdio.h: Add declaration for vsiprintf.

17 years ago * cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
Corinna Vinschen [Tue, 20 Feb 2007 16:41:54 +0000 (16:41 +0000)]
* cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
machines.  Drop "not supported" for Vista.  Drop "Longhorn" text
for now.

17 years ago * cygwin.din (sem_unlink): Export.
Corinna Vinschen [Tue, 20 Feb 2007 15:48:04 +0000 (15:48 +0000)]
* cygwin.din (sem_unlink): Export.
* posix_ipc.cc: Include thread.h and semaphore.h.  Remove TODO
comment.
(ipc_names): Add max_len member.  Set to maximum length of the path
before tacking on the prefix path.  Set prefix path for named semaphors
to /dev/shm, as on Linux.
(enum ipc_type_t): Change sem to semaphore to avoid name conflicts.
(check_path): Detect empty paths.  Use ipc_names's max_len member.
Use __small_sprintf to create full object path name.  Special case
semaphores.
(ipc_cond_init): Drop superfluous strcpy.
(class ipc_flock): New class to simplify file locking in subsequent
code.
(struct mq_hdr): Raise size of mqh_uname to allow adding a unique
LUID to the name.
(mq_open): Fix formatting.  Create unique synchronization object names
using AllocateLocallyUniqueId.
(struct sem_finfo): New structure defining named semaphore file content.
(sem_open): Move here.  Rework implementation to allow kernel
persistent implementation of POSIX named semaphores.
(_sem_close): Implement sem_close.
(sem_close): Move here.  Just call _sem_close with do_close parameter
set to true.
(sem_unlink): New function.
* pthread.cc (mangle_sem_name): Remove.
(sem_open): Move to posix_ipc.cc.
(sem_close): Ditto.
* syscalls.cc (close_all_files): Call semaphore::terminate here.
* thread.cc: Fix formatting.  Rearrange semaphore functions so that
they are close together.
(semaphore::semaphore): Rework to play nicely with new named semaphore
implementation.
(semaphore::_terminate): Call _sem_close if semaphore is a named
semaphore.
(semaphore::destroy): Don't destroy named semaphores.  Return EINVAL
instead.
(semaphore::close): Only destroy named semaphores.  Return EINVAL
otherwise.
(semaphore::open): Rework to play nicely with new named semaphore
implementation.  Loop through existing semaphores to be able to
return same sem_t pointer as a former call on the same named semaphore.
(semaphore::getinternal): New function called from _sem_close.
* thread.h (class List): Make mx and head public.
(class semaphore): Fix formatting.  Align method declarations with
implementation in thread.cc.  Add members used for named semaphores.
(semaphore::terminate): New static method.
* include/semaphore.h: Redefine SEM_FAILED.  Fix formatting.
(sem_unlink): Add declaration.
* include/cygwin/version.h: Bump API minor number.

17 years ago* exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when
Christopher Faylor [Tue, 20 Feb 2007 14:31:26 +0000 (14:31 +0000)]
* exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when
exit_state indicates that we've visited do_exit.
* sync.h (lock_process::lock_process): Use renamed exit_state -
ES_PROCESS_LOCKED.
* winsup.h: Rename ES_MUTO_SET to ES_PROCESS_LOCKED.

17 years ago [ gas/ChangeLog ]
Thiemo Seufer [Tue, 20 Feb 2007 13:28:54 +0000 (13:28 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
(macro_build): Add case '2'.
(macro): Expand M_BALIGN to nop, packrl.ph or balign.
(validate_mips_insn): Add support for balign instruction.
(mips_ip): Handle DSP R2 instructions. Support balign instruction.
(OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
command line options.
(s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
(md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
* doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
.set dspr2, .set nodspr2.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for
DSP R2.
* gas/mips/mips.exp: Run new test.

[ include/opcode/Changelog ]
* mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction.
(INSN_DSPR2): Add flag for DSP R2 instructions.
(M_BALIGN): New macro.

[ opcodes/ChangeLog ]
* mips-dis.c (mips_arch_choices): Add DSP R2 support.
(print_insn_args): Add support for balign instruction.
* mips-opc.c (D33): New shortcut for DSP R2 instructions.
(mips_builtin_opcodes): Add DSP R2 instructions.

[ sim/mips/ChangeLog ]
* Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
* configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
Add dsp2 to sim_igen_machine.
* configure: Regenerate.
* dsp.igen (do_ph_op): Add MUL support when op = 2.
(do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
(mulq_rs.ph): Use do_ph_mulq.
(MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
* mips.igen: Add dsp2 model and include dsp2.igen.
(MFHI, MFLO, MTHI, MTLO): Extend these instructions for
for *mips32r2, *mips64r2, *dsp.
(MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
for *mips32r2, *mips64r2, *dsp2.
* dsp2.igen: New file for MIPS DSP REV 2 ASE.

[ sim/testsuite/sim/mips/ChangeLog ]
* basic.exp: Run the dsp2 test.
* utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro.
* mips32-dsp2.s: New test.

17 years ago * fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
Corinna Vinschen [Tue, 20 Feb 2007 09:48:31 +0000 (09:48 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
errno in debug output.

17 years agoRemove extraneous whitespace.
Christopher Faylor [Tue, 20 Feb 2007 00:16:18 +0000 (00:16 +0000)]
Remove extraneous whitespace.
* pinfo.cc (commune_process): Use default argument to lock_process.
* sigproc.cc: Update copyright.
* select.cc: Ditto.

17 years ago * configure.ac: Adjust for loop syntax.
Joseph Myers [Mon, 19 Feb 2007 17:24:25 +0000 (17:24 +0000)]
* configure.ac: Adjust for loop syntax.
* configure: Regenerate.

17 years agoChangeLog:
Alexandre Oliva [Sun, 18 Feb 2007 22:51:35 +0000 (22:51 +0000)]
ChangeLog:
* configure: Rebuilt.
config/ChangeLog:
* acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as
precious.  Prefer it over a cached value.  Use cached value
verbosely.
(NCN_STRICT_CHECK_TARGET_TOOLS): Likewise.  Don't override
environment variable with build-time tools.

17 years ago* configure.ac: Drop multiple occurrences of --enable-languages,
Alexandre Oliva [Sun, 18 Feb 2007 22:46:28 +0000 (22:46 +0000)]
* configure.ac: Drop multiple occurrences of --enable-languages,
and fix its quoting.
* configure: Rebuilt.

17 years agoCorrect spelling of submitter's name in ChangeLog.
Danny Smith [Sun, 18 Feb 2007 09:57:51 +0000 (09:57 +0000)]
Correct spelling of submitter's name in ChangeLog.

17 years ago2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
Danny Smith [Sun, 18 Feb 2007 09:46:48 +0000 (09:46 +0000)]
2007-02-18  Aurimas Cernius  <aurisc4@gmail.com>

* include/excpt.h:  Replace "_try1" in comments  with "__try1".

17 years ago2007-02-18 Jiri Malak <jiri.malak@iol.cz>
Danny Smith [Sun, 18 Feb 2007 08:08:12 +0000 (08:08 +0000)]
2007-02-18  Jiri Malak  <jiri.malak@iol.cz>

* include/windef.h [WATCOM]: Fix !NONAMELESSUNION defines.
* include/winnt.h [WATCOM] (GetCurrentFiber, GetFiberData):
Add prototypes.
[WATCOM] (NtCurrentTeb): Add protype and inline asm definition.

2007-02-18  Vesa Jskelinen  <chaac@users.sourveforge.net>

* lib/user32.def (InternalGetWindowText): Add stub.

17 years agotop level:
Joseph Myers [Sat, 17 Feb 2007 13:33:57 +0000 (13:33 +0000)]
top level:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting.
* configure: Regenerate.

bfd:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-pkgversion): New option.
* configure: Regenerate.
* Makefile.am (bfdver.h): Substitute for @bfd_version_package@.
* Makefile.in: Regenerate.
* version.h (BFD_VERSION_STRING): Define using
@bfd_version_package@.

bfd/doc:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.in: Regenerate.

binutils:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* bucomm.h: Remove include of bin-bugs.h.
* addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
* ar.c (usage): Pass s to list_supported_targets.  Don't print
empty REPORT_BUGS_TO.
* coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
* cxxfilt.c (usage): Print bug url when giving help.
* dlltool.c (usage): Likewise.
* dllwrap.c (usage): Likewise.
* nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage, strip_usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
callers.
* size.c (usage): Don't print empty REPORT_BUGS_TO.
* srconv.c (show_usage): Likewise.
* strings.c (usage): Likewise.
* sysdymp.c (show_usage): Likewise.
* windres.c (usage): Likewise.

gas:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* dep-in.sed: Remove bin-bugs.h.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
(DEP_INCLUDES): Likewise.
($(OBJS)): No longer depend on bin-bugs.h.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* as.c (show_usage): Don't print empty REPORT_BUGS_TO.
* as.h: Remove include of bin-bugs.h.

gprof:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-pkgversion, --with-bugurl): New options.
* configure: Regenerate.
* Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
(INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* gprof.c (usage): Don't print empty REPORT_BUGS_TO.
(main): Include PKGVERSION in version output.
* gprof.h: Remove include of bin-bugs.h.

include:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* bin-bugs.h: Remove.

ld:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* ld.h: Remove include of bin-bugs.h.
* lexsup.c (help): Don't print empty REPORT_BUGS_TO.

17 years ago * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr
Corinna Vinschen [Thu, 15 Feb 2007 17:49:25 +0000 (17:49 +0000)]
* posix_ipc.cc (mq_open): Avoid compiler warning.  Initialize mqhdr
before using it in file exists case.
* include/mqueue.h (mqd_t): Make non-pointer type.

17 years ago * posix_ipc.cc (ipc_mutex_init): Create global object name.
Corinna Vinschen [Thu, 15 Feb 2007 11:28:46 +0000 (11:28 +0000)]
* posix_ipc.cc (ipc_mutex_init): Create global object name.
(ipc_cond_init): Ditto.
(struct mq_hdr): Add mqh_uname member to store synchronization object
name.
(mq_open): Create unique synchronization object name and store in
mq_hdr->mqh_uname.  Use this name in calls to ipc_mutex_init and
ipc_cond_init.

17 years ago* sparc/cygmon.ld.src: Link .rodata.* input sections into .text output section.
Nick Clifton [Thu, 15 Feb 2007 09:53:56 +0000 (09:53 +0000)]
* sparc/cygmon.ld.src: Link .rodata.* input sections into .text output section.
* sparc/cygmon-sparc64-ld.src: Likewise.

17 years ago * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
Danny Smith [Wed, 14 Feb 2007 23:42:07 +0000 (23:42 +0000)]
* Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.

17 years ago2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 14 Feb 2007 23:18:25 +0000 (23:18 +0000)]
2007-02-14  Patrick Mansfield <patmans@us.ibm.com>

        Add a floating point environment for SPU (cell):

        * configure.host: add libm_machine_dir=spu.
        * libm/machine/configure: Add spu.
        * libm/machine/configure.in: regenerated with spu added.
        * libc/machine/spu/include/fenv.h: New file.
        * libc/machine/spu/sys/fenv.h: Ditto.
        * libm/machine/spu/Makefile.am: Ditto.
        * libm/machine/spu/Makefile.in: Ditto.
        * libm/machine/spu/aclocal.m4: Ditto.
        * libm/machine/spu/configure: Ditto.
        * libm/machine/spu/configure.in: Ditto.
        * libm/machine/spu/fe_dfl_env.c: Ditto.
        * libm/machine/spu/feclearexcept.c: Ditto.
        * libm/machine/spu/fegetenv.c: Ditto.
        * libm/machine/spu/fegetexceptflag.c: Ditto.
        * libm/machine/spu/fegetround.c: Ditto.
        * libm/machine/spu/feholdexcept.c: Ditto.
        * libm/machine/spu/feraiseexcept.c: Ditto.
        * libm/machine/spu/fesetenv.c: Ditto.
        * libm/machine/spu/fesetexceptflag.c: Ditto.
        * libm/machine/spu/fesetround.c: Ditto.
        * libm/machine/spu/fetestexcept.c: Ditto.
        * libm/machine/spu/feupdateenv.c: Ditto.
        * libm/machine/spu/headers/feclearexcept.h: Ditto.
        * libm/machine/spu/headers/fefpscr.h: Ditto.
        * libm/machine/spu/headers/fegetenv.h: Ditto.
        * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
        * libm/machine/spu/headers/fegetround.h: Ditto.
        * libm/machine/spu/headers/feholdexcept.h: Ditto.
        * libm/machine/spu/headers/feraiseexcept.h: Ditto.
        * libm/machine/spu/headers/fesetenv.h: Ditto.
        * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
        * libm/machine/spu/headers/fesetround.h: Ditto.
        * libm/machine/spu/headers/fetestexcept.h: Ditto.
        * libm/machine/spu/headers/feupdateenv.h: Ditto.

17 years ago * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
Corinna Vinschen [Wed, 14 Feb 2007 10:07:02 +0000 (10:07 +0000)]
* libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
Cygwin.

17 years ago * Makefile.in (DLL_OFILES): Add posix_ipc.o.
Corinna Vinschen [Wed, 14 Feb 2007 10:06:46 +0000 (10:06 +0000)]
* Makefile.in (DLL_OFILES): Add posix_ipc.o.
* cygwin.din (mq_close): Export.
(mq_getattr): Export.
(mq_notify): Export.
(mq_open): Export.
(mq_receive): Export.
(mq_send): Export.
(mq_setattr): Export.
(mq_timedreceive): Export.
(mq_timedsend): Export.
(mq_unlink): Export.
* posix_ipc.cc: New file implementing the above functions.  Move
shm_open and shm_unlink from syscalls.cc here.
* sysconf.cc (sca): Set value of _SC_MQ_OPEN_MAX to MQ_OPEN_MAX,
_SC_MQ_PRIO_MAX to MQ_PRIO_MAX, _SC_MESSAGE_PASSING to
_POSIX_MESSAGE_PASSING.
* include/limits.h (MQ_OPEN_MAX): Define.
(MQ_PRIO_MAX): Define.
* include/mqueue.h: New file.
* include/cygwin/version.h: Bump API minor number.

17 years agogas/
Alan Modra [Tue, 13 Feb 2007 23:23:53 +0000 (23:23 +0000)]
gas/
* config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
* config/tc-i386.c: Wrap overly long lines, whitespace fixes.
(process_operands): Move old Seg2ShortForm and Seg3ShortForm
code, and test for these insns using a combination of
opcode_modifier and operand_types.
include/opcode/
* i386.h (i386_optab): Replace all occurrences of Seg2ShortForm
and Seg3ShortFrom with Shortform.

17 years ago * configure.ac (target_libraries): Move libgcc before libiberty.
Daniel Jacobowitz [Tue, 13 Feb 2007 21:33:14 +0000 (21:33 +0000)]
* configure.ac (target_libraries): Move libgcc before libiberty.
* configure: Regenerated.

17 years ago * include/cygwin/stdlib.h (valloc): Declare.
Corinna Vinschen [Tue, 13 Feb 2007 18:55:49 +0000 (18:55 +0000)]
* include/cygwin/stdlib.h (valloc): Declare.
(memalign): Declare.

17 years ago2007-02-13 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 13 Feb 2007 16:23:20 +0000 (16:23 +0000)]
2007-02-13  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate again?

17 years agoadd autom4te.cache to .cvsignore
Paolo Bonzini [Tue, 13 Feb 2007 15:25:58 +0000 (15:25 +0000)]
add autom4te.cache to .cvsignore

17 years ago2007-02-13 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 13 Feb 2007 14:46:13 +0000 (14:46 +0000)]
2007-02-13  Paolo Bonzini  <bonzini@gnu.org>

* configure: Reapply PR30748 fix which was lost in the previous commit.

17 years ago PR bootstrap/30753
Daniel Jacobowitz [Tue, 13 Feb 2007 14:40:31 +0000 (14:40 +0000)]
PR bootstrap/30753
* configure.ac: Remove obsolete build / host tests.  Use AC_PROG_CC
unconditionally.  Use AC_PROG_CXX.  Use ACX_TOOL_DIRS to find $prefix.
* configure: Regenerated.

17 years agogas/testsuite/
H.J. Lu [Mon, 12 Feb 2007 04:51:40 +0000 (04:51 +0000)]
gas/testsuite/

2007-02-11  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4027
* gas/i386/opcode.s: Add more tests for "test".
* i386/opcode-intel.d: Updated.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.

include/opcode/

2007-02-11  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4027
* i386.h (i386_optab): Put the real "test" before the pseudo
one.

17 years ago2007-02-11 Daniel Atallah <datallah@users.sourceforge.net>
Chris Sutcliffe [Sun, 11 Feb 2007 14:32:24 +0000 (14:32 +0000)]
2007-02-11  Daniel Atallah  <datallah@users.sourceforge.net>

* include/winnt.h (LANG_SERBIAN_NEUTRAL, LANG_BOSNIAN,
LANG_BOSNIAN_NEUTRAL): Define.

2007-02-11  Daniel Schlyder  <thrug@users.sourceforge.net>

* include/winuser.h: Add guards around TITLEBARINFO and
GetTitleBarInfo().

17 years ago2007-02-10 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Sat, 10 Feb 2007 12:50:23 +0000 (12:50 +0000)]
2007-02-10  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

17 years ago PR bootstrap/30748
Daniel Jacobowitz [Fri, 9 Feb 2007 22:35:45 +0000 (22:35 +0000)]
PR bootstrap/30748
* configure.ac: Correct syntax for Solaris ksh.
* configure: Regenerated.

17 years ago2007-02-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 9 Feb 2007 19:24:42 +0000 (19:24 +0000)]
2007-02-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def: Sync with GCC.
* Makefile.tpl: Sync with GCC.
* Makefile.in: Regenerate.
* configure: Regenerate.

* config/acx.m4: Sync with GCC.
* config/depstand.m4: Sync with GCC.
* config/tls.m4: Sync with GCC.

17 years agomerge from gcc
DJ Delorie [Fri, 9 Feb 2007 17:21:45 +0000 (17:21 +0000)]
merge from gcc

17 years ago * Makefile.tpl (build_alias, host_alias, target_alias): Use
Daniel Jacobowitz [Fri, 9 Feb 2007 15:15:38 +0000 (15:15 +0000)]
* Makefile.tpl (build_alias, host_alias, target_alias): Use
noncanonical equivalents.
* configure.in: Rename to...
* configure.ac: ...this.  Update AC_PREREQ.  Prevent error for
AS_FOR_TARGET.  Set build_noncanonical, host_noncanonical, and
target_noncanonical.  Use them.  Rewrite removal of configure
arguments for autoconf 2.59.  Discard variable settings.  Force
program_transform_name for native tools.

* Makefile.in: Regenerated.
* configure: Regenerated with autoconf 2.59.

* src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac.

* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG
with an empty path.

17 years ago * libc/minires-os-if.c (write_record): Handle DNS_TYPE_SRV and
Corinna Vinschen [Fri, 9 Feb 2007 10:09:21 +0000 (10:09 +0000)]
* libc/minires-os-if.c (write_record): Handle DNS_TYPE_SRV and
some obsolete types.

17 years ago2007-02-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 8 Feb 2007 21:32:33 +0000 (21:32 +0000)]
2007-02-08  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Reformat default Red Hat
        license to fit within 80 columns.
        * COPYING.NEWLIB: Ditto.

17 years ago2007-02-08 Dave Brolley <brolley@redhat.com>
Jeff Johnston [Thu, 8 Feb 2007 21:22:05 +0000 (21:22 +0000)]
2007-02-08  Dave Brolley  <brolley@redhat.com>

        * mep: New target directory.
        * README: Add MeP.
        * configure.in: Add support for MeP.
        * configure: Regenerated.
        * mep/configure.in: New file.
        * mep/configure: Ditto.
        * mep/Makefile.in: Ditto.
        * mep/aclocal.m4: Ditto.
        * mep/crt0.S: Ditto.
        * mep/crtn.S: Ditto.
        * mep/sim-crt0.S: Ditto.
        * mep/sim-crtn.S: Ditto.
        * mep/fmax.ld: Ditto.
        * mep/gcov-io.h: Ditto.
        * mep/gmap_default.ld: Ditto.
        * mep/handlers.c: Ditto.
        * mep/h_reset.c: Ditto.
        * mep/isatty.c: Ditto.
        * mep/mep-bb.c: Ditto.
        * mep/mep-gmon.c: Ditto.
        * mep/min.ld: Ditto.
        * mep/read.c: Ditto.
        * mep/sbrk.c: Ditto.
        * mep/sdram-crt0.S: Ditto.
        * mep/sdram-crtn.S: Ditto.
        * mep/simnovec-crt0.S: Ditto.
        * mep/simple.ld: Ditto.
        * mep/simsdran-crt0.S: Ditto.
        * mep/syscalls.S: Ditto.
        * mep/write.c: Ditto.

17 years ago * syscalls.cc (check_shm): New static function to do path checking
Corinna Vinschen [Thu, 8 Feb 2007 14:40:13 +0000 (14:40 +0000)]
* syscalls.cc (check_shm): New static function to do path checking
common to shm_open and shm_unlink.  Check for /dev/shm existance.
(shm_open): Call check_shm.
(shm_unlink): Ditto.

17 years ago * cygwin.din (shm_open): Export.
Corinna Vinschen [Thu, 8 Feb 2007 13:36:53 +0000 (13:36 +0000)]
* cygwin.din (shm_open): Export.
(shm_unlink): Export.
* syscalls.cc (shm_open): New function.
(shm_unlink): New function.
* sysconf.cc (sca): Set value of _SC_SHARED_MEMORY_OBJECTS to
_POSIX_SHARED_MEMORY_OBJECTS.
* include/cygwin/version.h: Bump API minor number.
* include/sys/mman.h (shm_open): Add prototype.
(shm_unlink): Ditto.

17 years ago * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
Corinna Vinschen [Thu, 8 Feb 2007 13:34:20 +0000 (13:34 +0000)]
* libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.

17 years ago * cygmalloc.h (__set_ENOMEM): Declare.
Corinna Vinschen [Thu, 8 Feb 2007 11:35:52 +0000 (11:35 +0000)]
* cygmalloc.h (__set_ENOMEM): Declare.
(MALLOC_FAILURE_ACTION): Call __set_ENOMEM.
* malloc_wrapper.cc (malloc) Remove setting errno here.
(realloc): Ditto.
(calloc): Ditto.
(memalign): Ditto.
(valloc): Ditto.
(posix_memalign): Save and restore errno.

17 years ago * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
Danny Smith [Thu, 8 Feb 2007 08:15:32 +0000 (08:15 +0000)]
* include/io.h (X_OK):  Revert 2007-01-24 change, but leave comment.

17 years ago * cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.
Corinna Vinschen [Wed, 7 Feb 2007 20:44:04 +0000 (20:44 +0000)]
* cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.

17 years ago * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
Corinna Vinschen [Wed, 7 Feb 2007 17:22:40 +0000 (17:22 +0000)]
* cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
* cygwin.din (posix_madvise): Export.
(posix_memalign): Export.
* fhandler.cc (fhandler_base::fpathconf): Return useful values in
_PC_VDISABLE, _PC_SYNC_IO and _PC_SYMLINK_MAX cases.
* malloc_wrapper.cc (malloc): Set errno here since it's not set in
dlmalloc.c anymore.
(realloc): Ditto.
(calloc): Ditto.
(memalign): Ditto.
(valloc): Ditto.
(posix_memalign): New function.
* mmap.cc (posix_madvise): New function.
* sysconf.cc (get_open_max): New function.
(get_page_size): Ditto.
(get_nproc_values): Ditto.
(get_avphys): Ditto.
(sc_type): New type.
(sca): New array to map _SC_xxx options to sysconf return values.
(sysconf): Reimplement using sca array.
* include/limits.h: Add all missing values as defined by SUSv3.
* include/pthread.h (PTHREAD_DESTRUCTOR_ITERATIONS): Move definition
to sys/limits.h.
(PTHREAD_KEYS_MAX): Ditto.
* include/semaphore.h (SEM_VALUE_MAX): Ditto.
* include/cygwin/stdlib.h (posix_memalign): Declare.
* include/cygwin/version.h: Bump API minor number.
* include/sys/mman.h: Add posix_madvise flags.
(posix_madvise): Declare.
* include/sys/termios.h (_POSIX_VDISABLE): Move definition to
sys/limits.h.

17 years ago * libc/include/sys/features.h: Add definition of all supported
Corinna Vinschen [Wed, 7 Feb 2007 17:19:35 +0000 (17:19 +0000)]
* libc/include/sys/features.h: Add definition of all supported
_POSIX_xxx values for Cygwin.
* libc/include/sys/types.h (pthread_rwlock_t): Omit definition
on Cygwin.
(pthread_rwlockattr_t): Ditto.
* libc/include/sys/unistd.h: Define all _SC_xxx values as
required by SUSv3.  Unify formatting.

17 years agoFix entries for MeP submission.
Dave Brolley [Tue, 6 Feb 2007 18:57:08 +0000 (18:57 +0000)]
Fix entries for MeP submission.

17 years agoFix comment attached to #endif
Nick Clifton [Tue, 6 Feb 2007 14:50:58 +0000 (14:50 +0000)]
Fix comment attached to #endif

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:17:10 +0000 (19:17 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2001-03-26  Ben Elliston  <bje@redhat.com>

        * dis-asm.h (print_insn_mep): Declare.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:43 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

        2001-03-22  Ben Elliston  <bje@redhat.com>

        * mep.h: New file.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * common.h (EM_CYGNUS_MEP): Define.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:15:07 +0000 (19:15 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following Changes:
        2005-08-22  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_C4): New macro.
        (EF_MEP_CPU_H1): Change to 0x10000000.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * mep.h (EF_MEP_LIBRARY): New flag.
        (EF_MEP_ALL_FLAGS): Update accordingly.

        2004-06-21  Dave Brolley  <brolley@redhat.com>

        * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2)
        (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK)
        (EF_MEP_ALL_FLAGS): New macros.

        2001-09-28  Richard Henderson  <rth@redhat.com>

        * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New.

        2001-07-12  DJ Delorie  <dj@redhat.com>

        * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow.

        2001-06-25  DJ Delorie  <dj@redhat.com>

        * mep.h: Add vtable relocs.

        2001-05-10  DJ Delorie  <dj@redhat.com>

        * mep.h: Fix bit offsets for HI16*, make them no-overflow.  Add
        comment about mep-relocs.pl.

        2001-05-01  DJ Delorie  <dj@redhat.com>

        * mep.h: Add MeP-specific relocs.

        2001-03-22  Ben Elliston  <bje@redhat.com>

        * mep.h: New file.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * common.h (EM_CYGNUS_MEP): Define.

2007-02-15  Dave Brolley  <brolley@redhat.com>

        From Graydon Hoare  <graydon@redhat.com>:
        * common.h (STT_RELC, STT_SRELC, R_RELC): New macros.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:12:54 +0000 (19:12 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * mt-mep: New.

17 years ago2007-02-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Feb 2007 19:10:45 +0000 (19:10 +0000)]
2007-02-05  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:
        2006-11-28  DJ Delorie  <dj@redhat.com>

        * configure.in: Fix typo for mep's target_makefile_frag.
        * configure: Regenerated.

        2005-04-22  Richard Sandiford  <rsandifo@redhat.com>

        * configure.in (mep*): Add -mlibrary to FLAGS_FOR_TARGET.
        * configure: Regenerate.

        2001-09-19  DJ Delorie  <dj@redhat.com>

        * configure.in (target_makefile_frag): use mt-mep

        2001-06-12  Don Howard  <dhoward@redhat.com>

        * configure.in: Remove gdb from MeP skip list.

        2001-04-05  DJ Delorie  <dj@redhat.com>

        * configure.in (noconfigdirs): Remove gcc from MeP skip list.

        2001-03-20  Ben Elliston  <bje@redhat.com>

        * configure.in (noconfigdirs): Add gcc and gdb for MeP.

        2001-03-19  Ben Elliston  <bje@redhat.com>

        * config.sub (mep, mep-*): Add.

17 years ago * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support for
Corinna Vinschen [Mon, 5 Feb 2007 12:32:23 +0000 (12:32 +0000)]
* fhandler_serial.cc (fhandler_serial::tcsetattr): Add support for
baud rates up to 3000000 baud.  Add missing 128K and 256K cases.
(fhandler_serial::tcgetattr): Ditto.
* include/sys/termios.h: Add baud rate definitions from B460800 up to
B3000000.

17 years agoFix typos in year.
H.J. Lu [Fri, 2 Feb 2007 22:15:52 +0000 (22:15 +0000)]
Fix typos in year.

17 years ago2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 2 Feb 2007 16:22:28 +0000 (16:22 +0000)]
2007-02-02  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/sys/errno.h: Add ECANCELED.

17 years agobinutils/
H.J. Lu [Fri, 2 Feb 2007 15:27:04 +0000 (15:27 +0000)]
binutils/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* doc/binutils.texi (objdump): Document the new addr64 option
for i386 disassembler.

include/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* dis-asm.h (print_i386_disassembler_options): New.

opcodes/

2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* disassemble.c (disassembler_usage): Call
print_i386_disassembler_options for i386 disassembler.

* i386-dis.c (print_i386_disassembler_options): New.
(print_insn): Support the new addr64 option.

17 years ago * syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.
Corinna Vinschen [Fri, 2 Feb 2007 15:16:54 +0000 (15:16 +0000)]
* syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.

17 years ago Fix typo.
Corinna Vinschen [Thu, 1 Feb 2007 17:13:31 +0000 (17:13 +0000)]
Fix typo.

17 years ago2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Thu, 1 Feb 2007 16:43:45 +0000 (16:43 +0000)]
2007-02-01  Joel Schopp <jschopp@austin.ibm.com>
            Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/Makefile.am: Add objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/vsscanf.c: New file. Add a stdio function
        implementation.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.
        * libc/machine/spu/remove.c: Ditto.
        * libc/machine/spu/rename.c: Ditto.
        * libc/machine/spu/tmpnam.c: Ditto.
        * libc/machine/spu/vsnprintf.c: Add initialization routine of
        stdio stuffs.
        * libc/machine/spu/vsprintf.c: Ditto.

17 years ago2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Thu, 1 Feb 2007 16:33:05 +0000 (16:33 +0000)]
2007-02-01  Joel Schopp <jschopp@austin.ibm.com>
            Kazunori Asayama <asayama@sm.sony.co.jp>

        * configure.host: Enable SPU specific stdio directory.
        * libc/machine/spu/Makefile.am: Add objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/c99ppe.h: Add macros and function
        declarations to initialize SPU specific stdio stuffs.
        * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
        specific FILE structures.
        * libc/machine/spu/perror.c: Add initialization routine of
        stdio stuffs.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/putchar.c: Ditto.
        * libc/machine/spu/puts.c: Ditto.
        * libc/machine/spu/vprintf.c: Ditto.
        * libc/machine/spu/clearerr.c: New file. Add a stdio function
        implementation.
        * libc/machine/spu/feof.c: Ditto.
        * libc/machine/spu/ferror.c: Ditto.
        * libc/machine/spu/fileno.c: Ditto.
        * libc/machine/spu/fopen.c: Ditto.
        * libc/machine/spu/fclose.c: Ditto.
        * libc/machine/spu/freopen.c: Ditto.
        * libc/machine/spu/fflush.c: Ditto.
        * libc/machine/spu/fseek.c: Ditto.
        * libc/machine/spu/ftell.c: Ditto.
        * libc/machine/spu/rewind.c: Ditto.
        * libc/machine/spu/fgetpos.c: Ditto.
        * libc/machine/spu/fsetpos.c: Ditto.
        * libc/machine/spu/fread.c: Ditto.
        * libc/machine/spu/fwrite.c: Ditto.
        * libc/machine/spu/getc.c: Ditto.
        * libc/machine/spu/getchar.c: Ditto.
        * libc/machine/spu/gets.c: Ditto.
        * libc/machine/spu/fgetc.c: Ditto.
        * libc/machine/spu/fgets.c: Ditto.
        * libc/machine/spu/ungetc.c: Ditto.
        * libc/machine/spu/putc.c: Ditto.
        * libc/machine/spu/fputc.c: Ditto.
        * libc/machine/spu/fputs.c: Ditto.
        * libc/machine/spu/vfprintf.c: Ditto.
        * libc/machine/spu/vfscanf.c: Ditto.
        * libc/machine/spu/fprintf.c: Ditto.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/vscanf.c: Ditto.
        * libc/machine/spu/setbuf.c: Ditto.
        * libc/machine/spu/setvbuf.c: Ditto.
        * libc/machine/spu/tmpfile.c: Ditto.

2007-02-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
        * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
        around stdio macros that manipulate fields in the normal file
        structure.
        * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
        <sys/custom_file.h> to define custom FILE structure.
        * libc/include/sys/custom_file.h: New default header file
        that generates error if not overridden when __CUSTOM_FILE_IO__ set.
        * libc/machine/spu/sys/custom_file.h: New file.

17 years ago * net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6
Corinna Vinschen [Thu, 1 Feb 2007 15:54:40 +0000 (15:54 +0000)]
* net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6
mapping addition.
(ga_clone): Just call ga_dup from here.
(ga_duplist): New function to duplicate list of struct addrinfo.
(ga_echeck): Don't check a_flags, it already happened in
cygwin_getaddrinfo.
(cygwin_freeaddrinfo): Always call ipv4_freeaddrinfo.
(cygwin_getaddrinfo): Use new wincap.supports_all_posix_ai_flags
flag rather than wincap.has_gaa_on_link_prefix.  Always duplicate
WinSock's addrinfo list to a self-allocated list.  Handle AI_V4MAPPED
for pre-Vista platforms supporting getaddrinfo.
* wincap.h (wincapc::supports_all_posix_ai_flags): New element.
* wincap.cc: Implement above element throughout.
* include/netdb.h: Note how AI_ADDRCONFIG is not supported pre-Vista.
Remove superfluous comment.

17 years ago * include/cygwin/socket.h: Add IPv6 socket options.
Corinna Vinschen [Thu, 1 Feb 2007 10:04:45 +0000 (10:04 +0000)]
* include/cygwin/socket.h: Add IPv6 socket options.

17 years ago * Makefile.tpl (LDFLAGS): Substitute it.
Andreas Schwab [Wed, 31 Jan 2007 22:23:37 +0000 (22:23 +0000)]
* Makefile.tpl (LDFLAGS): Substitute it.
* Makefile.in: Regenerate.

17 years ago2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Wed, 31 Jan 2007 19:34:38 +0000 (19:34 +0000)]
2007-01-31  Kazunori Asayama <asayama@sm.sony.co.jp>

* configure.host: Define stdio directory as a variable.
* libc/Makefile.am: Define stdio related names
as macros.
* libc/configure.in: Add detection routine of stdio directory.
* libc/Makefile.in: Regenerated.
* libc/configure: Ditto.
* libc/argz/Makefile.in: Ditto.
* libc/ctype/Makefile.in: Ditto.
* libc/errno/Makefile.in: Ditto.
* libc/iconv/Makefile.in: Ditto.
* libc/iconv/ccs/Makefile.in: Ditto.
* libc/iconv/ccs/binary/Makefile.in: Ditto.
* libc/iconv/ces/Makefile.in: Ditto.
* libc/iconv/lib/Makefile.in: Ditto.
* libc/locale/Makefile.in: Ditto.
* libc/misc/Makefile.in: Ditto.
* libc/posix/Makefile.in: Ditto.
* libc/reent/Makefile.in: Ditto.
* libc/search/Makefile.in: Ditto.
* libc/signal/Makefile.in: Ditto.
* libc/stdio/Makefile.in: Ditto.
* libc/stdio64/Makefile.in: Ditto.
* libc/stdlib/Makefile.in: Ditto.
* libc/string/Makefile.in: Ditto.
* libc/syscalls/Makefile.in: Ditto.
* libc/time/Makefile.in: Ditto.
* libc/unix/Makefile.in: Ditto.

17 years ago include/
Vladimir Prus [Wed, 31 Jan 2007 18:49:40 +0000 (18:49 +0000)]
    include/
        * libiberty.h (PEX_STDERR_TO_PIPE): New define.
        (PEX_BINARY_ERROR): New define.
        (pex_read_err): New function.

        libiberty/
        * pex-common.h (struct pex_obj): New fields
        stderr_pipe and read_err.
        * pex-common.c (pex_init_common): Initialize
        stderr_pipe.
        (pex_run_in_environment): Add error checking
        for PEX_STDERR_TO_PIPE.  Create a pipe
        for stderr if necessary.
        (pex_read_err): New.
        (pex_free): Close read_err.
        * pexecute.txh: Document changes.
        * functions.texi: Regenerated.

17 years ago * net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.
Corinna Vinschen [Wed, 31 Jan 2007 15:30:42 +0000 (15:30 +0000)]
* net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.

17 years ago * net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.
Corinna Vinschen [Wed, 31 Jan 2007 15:10:22 +0000 (15:10 +0000)]
* net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.
Handle AI_NUMERICSERV.  Handle AI_ADDRCONFIG behaviour on Vista.
* include/netdb.h (AI_NUMERICSERV): Add missing flag.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::closedir): Add dir name
Corinna Vinschen [Wed, 31 Jan 2007 10:55:59 +0000 (10:55 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::closedir): Add dir name
to debug output.
* syscalls.cc (try_to_bin): Enable code to move file to user specific
recycler dir to eliminate Vista problem.
(unlink_nt): Add comment that rename after opening for delete on close
only fails on XP.

17 years agomerge from gcc
DJ Delorie [Tue, 30 Jan 2007 23:16:53 +0000 (23:16 +0000)]
merge from gcc

17 years ago * sigproc.cc (child_info::child_info): Set msv_count to non-zero
Corinna Vinschen [Tue, 30 Jan 2007 21:53:05 +0000 (21:53 +0000)]
* sigproc.cc (child_info::child_info): Set msv_count to non-zero
value only on systems requiring it.

17 years ago * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
Ben Elliston [Tue, 30 Jan 2007 03:18:52 +0000 (03:18 +0000)]
* libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
fmt member.
* libc/machine/spu/printf.c (c99_printf_t): Likewise.
(printf): Pass fmt to va_start to suppress a warning.

17 years ago * libc/search/hash.c (init_hash): Make `info' parameter const.
Ben Elliston [Tue, 30 Jan 2007 03:13:29 +0000 (03:13 +0000)]
* libc/search/hash.c (init_hash): Make `info' parameter const.

17 years ago * include/ftw.h: Include sys/cdefs.h.
Corinna Vinschen [Sun, 28 Jan 2007 11:27:05 +0000 (11:27 +0000)]
* include/ftw.h: Include sys/cdefs.h.

17 years ago Expose some msvcr80.dll functions.
Danny Smith [Sat, 27 Jan 2007 09:50:11 +0000 (09:50 +0000)]
Expose some msvcr80.dll functions.
* include/stdio.h (_fseek_nolock. _ftell_nolock, _fseeki64,
_ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add prototypes
* msvcrt.def.in (_fseek_nolock. _ftell_nolock, _fseeki64,
_ftelli64, _fseeki64_nolock, _ftelli64_nolock) Add stubs.

17 years ago Fix typo.
Corinna Vinschen [Fri, 26 Jan 2007 12:32:11 +0000 (12:32 +0000)]
Fix typo.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::rmdir): Implement rmdir
Corinna Vinschen [Fri, 26 Jan 2007 12:25:23 +0000 (12:25 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Implement rmdir
on NT by calling unlink_nt.  Check for directory here.
* syscalls.cc (try_to_bin): Fix buggy debug_printf statement.
(unlink_nt): Make non-static.  Don't use delete-on-close semantics on
directoires.  Explain why.

17 years ago Expose some msvcr80.dll functions.
Danny Smith [Fri, 26 Jan 2007 08:20:54 +0000 (08:20 +0000)]
Expose some msvcr80.dll functions.
* include/stdlib.h (_set_abort_behavior): Add prototype.
(_WRITE_ABORT_MSG, _CALL_REPORTFAULT): Add defines for
_set_abort_behavior mask argument.
(_invalid_parameter_handler): Add typedef.
(_set_invalid_parameter_handler): Add prototype.
* include/stdio.h (_get_printf_count_output): Add prototype.
(_set_printf_count_output): Add prototype.
* msvcrt.def.in (_get_printf_count_output, _set_printf_count_output,
_set_abort_behavior, _set_invalid_parameter_handler): Add stubs.

17 years ago * include/_mingw.h (CRT_INLINE): Correct typo.
Danny Smith [Fri, 26 Jan 2007 00:20:14 +0000 (00:20 +0000)]
* include/_mingw.h (CRT_INLINE):  Correct typo.

17 years ago * net.cc (if_nametoindex): This time, really free IP_ADAPTER_ADDRESSES
Corinna Vinschen [Wed, 24 Jan 2007 15:55:51 +0000 (15:55 +0000)]
* net.cc (if_nametoindex): This time, really free IP_ADAPTER_ADDRESSES
memory.
(if_indextoname): Ditto.

17 years ago * security.h (pop_thread_privilege): Revert to previous state, not
Corinna Vinschen [Wed, 24 Jan 2007 12:14:54 +0000 (12:14 +0000)]
* security.h (pop_thread_privilege): Revert to previous state, not
to token used for impersonation.

17 years ago * cygheap.h (cygheap_user::deimpersonate): Always RevertToSelf.
Corinna Vinschen [Wed, 24 Jan 2007 10:50:47 +0000 (10:50 +0000)]
* cygheap.h (cygheap_user::deimpersonate): Always RevertToSelf.

17 years ago * include/io.h (X_OK): Define to F_OK.
Danny Smith [Wed, 24 Jan 2007 08:27:12 +0000 (08:27 +0000)]
* include/io.h (X_OK):  Define to F_OK.

17 years ago * net.cc (gai_errmap): Add EAI_OVERFLOW entry. Fix formatting.
Corinna Vinschen [Tue, 23 Jan 2007 17:05:29 +0000 (17:05 +0000)]
* net.cc (gai_errmap): Add EAI_OVERFLOW entry.  Fix formatting.
(cygwin_gai_strerror): Drop using EAI_MAX.
(w32_to_gai_err): Ditto.
* include/netdb.h: Define EAI_OVERFLOW. Remove EAI_MAX.

17 years ago * include/netdb.h: Add AI_xxx flags available since Vista.
Corinna Vinschen [Tue, 23 Jan 2007 15:56:13 +0000 (15:56 +0000)]
* include/netdb.h: Add AI_xxx flags available since Vista.

17 years ago * net.cc (if_nametoindex): Free IP_ADAPTER_ADDRESSES memory.
Corinna Vinschen [Tue, 23 Jan 2007 09:23:54 +0000 (09:23 +0000)]
* net.cc (if_nametoindex): Free IP_ADAPTER_ADDRESSES memory.
(if_indextoname): Ditto.
(if_nameindex): Ditto.  Remove duplicate indexed entries in result.

17 years ago * autoload.cc (WSAIoctl): Define.
Corinna Vinschen [Sun, 21 Jan 2007 22:54:05 +0000 (22:54 +0000)]
* autoload.cc (WSAIoctl): Define.
(SendARP): Define.
* cygwin.din: Export if_freenameindex, if_indextoname, if_nameindex and
if_nametoindex.
* fhandler_procnet.cc: Drop including wchar.h.  Drop definitions of
GAA_FLAG_INCLUDE_ALL_INTERFACES, IP_ADAPTER_UNICAST_ADDRESS_VISTA.
(fhandler_procnet::exists): Check for has_gaa_prefixes.  Call
get_adapters_addresses here.
(fhandler_procnet::readdir): Ditto.
(prefix): Move to net.cc.
(fhandler_procnet::fill_filebuf): Call get_adapters_addresses here.
Simplify allocation.  Use AdapterName rather than FriendlyName as
interface name.  Use IfIndex if available, Ipv6IfIndex otherwise.
(in6_are_prefix_equal): Move to net.cc.
* fhandler_socket.cc: Define old SIOCGxxx values.
(CONV_OLD_TO_NEW_SIO): Convert old SIOCGxxx value to new one.
(struct __old_ifreq): Define old struct ifreq.
(fhandler_socket::ioctl): Handle old SIOCGxxx values.  Handle new
SIOCGIFFRNDLYNAM command.  Simplify copying ifreq data to user space.
Call get_ifconf with additional SOCKET parameter.
* net.cc (IP_ADAPTER_UNICAST_ADDRESS_LH): Define.
(IP_ADAPTER_ADDRESSES_LH): Define.
(SIO_GET_INTERFACE_LIST): Define.
(sockaddr_in6_old): Define.
(sockaddr_gen): Define.
(INTERFACE_INFO): Define.
(IN_LOOPBACK): Define.
(in_are_prefix_equal): New static function.
(ip_addr_prefix): New function, replaces prefix function, add AF_INET
handling.
(GAA_FLAG_INCLUDE_ALL_INTERFACES): Define.
(get_adapters_addresses): New function.
(WS_IFF_xxx): Define Winsock interface flag values.
(convert_ifr_flags): New function to convert Winsock interface flag
values to Cygwin interface flag values.
(get_xp_ifconf): New get_ifconf implementation for XP SP1 and above.
(get_2k_ifconf): Fix interface index.  Fix formatting.
(get_nt_ifconf): Fix formatting.
(get_95_ifconf): Ditto.
(get_ifconf): Take additional SOCKET parameter.  Call get_xp_ifconf
on XP SP1 and above.
(if_nametoindex): New function.
(if_indextoname): New function.
(if_nameindex): New function.
(if_freenameindex): New function.
(in6_are_prefix_equal): Moved here from fhandler_procnet.cc.
* wincap.cc (wincap_xp): Define has_gaa_prefixes as true by default.
(wincapc::init): Assume has_osversioninfoex by default.  Call
GetVersionEx with OSVERSIONINFOEX first.  Call with OSVERSIONINFO only
if that fails.  Simplify NT4 case and try to avoid strcmp.  Check XP
Service Pack using version.wServicePackMajor to avoid strcmp.
* include/asm/socket.h (SIOCGIFFRNDLYNAM): Define.
* include/cygwin/if.h: Fix formatting.
(IFF_POINTTOPOINT): Define.
(IFF_NOARP): Define.
(IFF_LOWER_UP): Define.
(IFF_DORMANT): Define.
(struct if_nameindex): Define.
(IFRF_FRIENDLYNAMESIZ): Define.
(struct ifreq_frndlyname): Define.
(IFNAMSIZ): Redefine as 44.
(IF_NAMESIZE): Define.
(struct ifreq): Redefine ifru_flags as int.  Define ifru_data.  Pad size
to sizeof sockaddr_in6 for further extensions.
(ifr_data): Define.
(ifr_frndlyname): Define.
(if_nametoindex): Declare.
(if_indextoname): Declare.
(if_nameindex): Declare.
(if_freenameindex): Declare.
* include/cygwin/version.h: Bump API minor number.
(CYGWIN_VERSION_CHECK_FOR_OLD_IFREQ): Define check for old vs. new
ifreq structure.

17 years ago2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Fri, 19 Jan 2007 23:53:07 +0000 (23:53 +0000)]
2007-01-19  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/c99ppe.h: Replace vector with __vector.
        * libc/machine/spu/vec_literal.h: Ditto.
        * libc/machine/spu/strncmp.c: Ditto.

17 years ago2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Fri, 19 Jan 2007 23:50:55 +0000 (23:50 +0000)]
2007-01-19  Kazunori Asayama <asayama@sm.sony.co.jp>

        * spu/syscalls.c: Replace vector with __vector.

17 years agoOops. The actual change for this entry wasn't committed.
Danny Smith [Fri, 19 Jan 2007 08:53:00 +0000 (08:53 +0000)]
Oops. The actual change for this entry wasn't committed.

2007-01-11  Gisle Vanem  <giva@users.sourceforge.net>

* include/winbase.h (struct _OVERLAPPED): Change type of
Internal, InternalHigh members to ULONG_PTR.
(PAPCFUNC): Change DWORD parameter to ULONG_PTR.
(CreateIoCompletionPort): Likewise.
(PostQueuedCompletionStatus): Likewise.
(QueueUserAPC): Likewise.
(GetQueuedCompletionStatus): Change PDWORD parm to PULONG_PTR.

17 years ago * include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
Danny Smith [Fri, 19 Jan 2007 03:21:09 +0000 (03:21 +0000)]
* include/stdio.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
unconditionally.  Change comment.
* include/unistd.h (SEEK_SET, SEEK_CUR, SEEK_END): Define
here too.
* include/io.h (rename): Declare.
(remove): Declare.

17 years ago * spawn.cc (spawn_guts): Don't set cwd for non-Cygwin child processes
Corinna Vinschen [Thu, 18 Jan 2007 21:28:36 +0000 (21:28 +0000)]
* spawn.cc (spawn_guts): Don't set cwd for non-Cygwin child processes
on NT to allow starting them in virtual directories.

17 years ago * mmap.cc (list::hash): Fix type to __ino64_t.
Corinna Vinschen [Thu, 18 Jan 2007 17:15:59 +0000 (17:15 +0000)]
* mmap.cc (list::hash): Fix type to __ino64_t.
(list::get_hash): Ditto.
(list::set): Add struct stat parameter.  Use that instead of calling
fstat.
(map::get_list_by_fd): Ditto.
(map::add_list): Ditto.
(mmap_is_attached_or_noreserve): Call get_list_by_fd appropriately.
(mmap_worker): Add pameters for map list and file stat information.
Propagate to called functions.
(mmap64): Use fstat on files early.  Replace call to GetFileSize.
Call get_list_by_fd and mmap_worker appropriately.

17 years ago * fhandler_procnet.cc: Drop declaration of htonl and ntohs. Include
Corinna Vinschen [Thu, 18 Jan 2007 10:30:43 +0000 (10:30 +0000)]
* fhandler_procnet.cc: Drop declaration of htonl and ntohs.  Include
asm/byteorder.h instead.

17 years ago * include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
Corinna Vinschen [Thu, 18 Jan 2007 10:25:40 +0000 (10:25 +0000)]
* include/cygwin/in6.h: Drop inclusion of asm/byteorder.h.
* fhandler_procnet.cc: Declare htonl and ntohs here.

17 years ago * Makefile.in (DLL_OFILES): Add fhandler_procnet.o.
Corinna Vinschen [Wed, 17 Jan 2007 19:26:58 +0000 (19:26 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_procnet.o.
* autoload.cc (GetAdaptersAddresses): Define.
* devices.h (FH_PROCNET): Define new device.
* devices.in (dev_procnet_storage): Add "/proc/net" entry.
* devices.cc: Regenerate.
* dir.cc (readdir_worker): Use isproc_dev macro.
* dtable.cc (build_fh_pc): Add FH_PROCNET.
* fhandler.h (class fhandler_procnet): New class.
* fhandler_proc.cc: Add "net" subdirectory handling.
* fhandler_procnet.cc: New file handling "/proc/net" directory.
* path.cc (isvirtual_dev): Move to path.h.
* path.h (isproc_dev): New macro to identify /proc files by device.
(isvirtual_dev): Moved here.  Define using isproc_dev.
* syscalls.cc (unlink): Use isproc_dev macro.
* wincap.h (wincapc::has_gaa_prefixes): New element.
(wincapc::has_gaa_on_link_prefix): New element.
* wincap.cc: Implement above elements throughout.
(wincapc::init): Check XP for service pack and set has_gaa_prefixes
appropriately.
* include/cygwin/in6.h: Include asm/byteorder.h.

17 years ago * include/asm/socket.h (SIOGIFINDEX): Define.
Corinna Vinschen [Wed, 17 Jan 2007 13:43:47 +0000 (13:43 +0000)]
* include/asm/socket.h (SIOGIFINDEX): Define.

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