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

17 years ago * mmap.cc (MapView9x): Note possible uselessness of retrying.
Corinna Vinschen [Wed, 17 Jan 2007 10:49:24 +0000 (10:49 +0000)]
* mmap.cc (MapView9x): Note possible uselessness of retrying.
(MapViewNT): Ditto.
(mmap64): Fix pre-reservation to work for non NULL, non MAP_FIXED.

17 years ago * autoload.cc (RtlAnsiStringToUnicodeString): Define.
Corinna Vinschen [Tue, 16 Jan 2007 18:01:06 +0000 (18:01 +0000)]
* autoload.cc (RtlAnsiStringToUnicodeString): Define.
(RtlOemStringToUnicodeString): Define.
* ntdll.h (struct _RTL_USER_PROCESS_PARAMETERS): Define.
(struct _PEB): Redefine with a bit of content.
(RtlAnsiStringToUnicodeString): Declare.
(RtlOemStringToUnicodeString): Declare.
* path.cc: Include ntdll.h.
(_upp): New global variable pointing to user process parameter block.
(get_user_proc_parms): New static function to retrieve user process
parameter block.
(close_user_proc_parms_cwd_handle): New function to close handle to
current working directory in user process parameter block.
(cwdstuff::init): Drop redundant declaration of dynamically_loaded.
Set current dir only on 9x.  Call close_user_proc_parms_cwd_handle
on NT instead.
(cwdstuff::keep_in_sync): Only on 9x.
(cwdstuff::set): Keep behaviour on 9x.  On NT write cwd path into user
process parameter block and set cwd handle to NULL.  Fix comments to
reflect new behaviour.

17 years agobfd/
H.J. Lu [Tue, 16 Jan 2007 14:56:31 +0000 (14:56 +0000)]
bfd/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
argument, Elf_Internal_Sym *.

* elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
symbol dynamic if info->dynamic_data is TRUE.
(bfd_elf_record_link_assignment): Updated call to
bfd_elf_record_link_assignment.
(_bfd_elf_merge_symbol): Likewise.  Always call
bfd_elf_link_mark_dynamic_symbol.

include/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list.
Add dynamic and dynamic_data.

ld/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
--dynamic-list-cpp-new.

* ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
and --dynamic-list-cpp-new.

* ldlang.c (lang_append_dynamic_list_cpp_new): New.
(lang_process): Change link_info.dynamic to
link_info.dynamic_list.
(lang_append_dynamic_list): Likewise.
* ldmain.c (main): Likewise.  Initialize link_info.dynamic and
link_info.dynamic_data to FALSE.

* ldlang.h (lang_append_dynamic_list_cpp_new): New.

* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
OPTION_DYNAMIC_LIST_CPP_NEW.
(ld_options): Add entries for -Bsymbolic-functions,
--dynamic-list-data and --dynamic-list-cpp-new.  Make
-Bsymbolic-functions an alias of --dynamic-list-data.
(parse_args): Change link_info.dynamic to link_info.dynamic_list.
Set link_info.dynamic to TRUE for --dynamic-list and
--dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
--dynamic-list-cpp-new.

ld/testsuite/

2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3831
* ld-elf/del.cc: New.
* ld-elf/dl5.cc: Likewise.
* ld-elf/dl5.out: Likewise.
* ld-elf/new.cc: Likewise.

* ld-elf/shared.exp: Add tests for --dynamic-list-data and
 --dynamic-list-cpp-new.

17 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFINDEX.
Corinna Vinschen [Tue, 16 Jan 2007 12:01:36 +0000 (12:01 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFINDEX.
* net.cc (get_2k_ifconf): Ditto.
(get_nt_ifconf): Fake SIOCGIFINDEX.
(get_95_ifconf): Ditto.
(get_ifconf): Handle SIOCGIFINDEX.  Fake it for loopback on systems
not supporting IP Helper Lib.
* include/asm/socket.h (SIOCGIFINDEX): Define.
* include/cygwin/if.h (struct ifreq): Add member for interface index.
(ifr_ifindex): Define.

17 years ago * include/cygwin/in6.h (struct ipv6_mreq): Change type of interface
Corinna Vinschen [Tue, 16 Jan 2007 11:41:55 +0000 (11:41 +0000)]
* include/cygwin/in6.h (struct ipv6_mreq): Change type of interface
member to uint32_t.
(struct in6_pktinfo): Ditto.

17 years ago * include/cygwin/in.h (struct ip_mreq_source): Define.
Corinna Vinschen [Tue, 16 Jan 2007 11:37:05 +0000 (11:37 +0000)]
* include/cygwin/in.h (struct ip_mreq_source): Define.
(struct ip_msfilter): Define.
(IP_MSFILTER_SIZE): Define.
(struct in_pktinfo): Define.
(struct group_req): Define.
(struct group_source_req): Define.
(struct group_filter): Define.
(GROUP_FILTER_SIZE): Define.
(INADDR_ALLRTRS_GROUP): Define.
* include/cygwin/socket.h: Define protocol agnostic multicast options.

17 years ago2007-01-15 Joseph Myers <joseph@codesourcery.com>
Jeff Johnston [Mon, 15 Jan 2007 16:41:08 +0000 (16:41 +0000)]
2007-01-15  Joseph Myers  <joseph@codesourcery.com>
            Kazu Hirata  <kazu@codesourcery.com>

        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
        for E500V1 and E500V2.

17 years ago * CYGWIN_LICENSE: Fix web pages and contact information.
Corinna Vinschen [Mon, 15 Jan 2007 12:19:01 +0000 (12:19 +0000)]
* CYGWIN_LICENSE: Fix web pages and contact information.

17 years ago * ntdll.h: Adjust status definitions.
Corinna Vinschen [Mon, 15 Jan 2007 11:11:37 +0000 (11:11 +0000)]
* ntdll.h: Adjust status definitions.

17 years ago * cygheap.cc (cygheap_init): Add TODO comment.
Corinna Vinschen [Mon, 15 Jan 2007 11:01:23 +0000 (11:01 +0000)]
* cygheap.cc (cygheap_init): Add TODO comment.

17 years ago * ntdll.h (STATUS_SHARING_VIOLATION): Define.
Corinna Vinschen [Mon, 15 Jan 2007 10:52:15 +0000 (10:52 +0000)]
* ntdll.h (STATUS_SHARING_VIOLATION): Define.

17 years ago2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 14 Jan 2007 15:39:41 +0000 (15:39 +0000)]
2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* ld-symbolic.m4: New.

17 years ago * syscalls.cc (unlink_nt): Don't move files to recycle bin which are
Corinna Vinschen [Sat, 13 Jan 2007 20:56:01 +0000 (20:56 +0000)]
* syscalls.cc (unlink_nt): Don't move files to recycle bin which are
not in use.

17 years ago* glob.cc: Update copyright notice with latest from FreeBSD.
Christopher Faylor [Sat, 13 Jan 2007 07:10:14 +0000 (07:10 +0000)]
* glob.cc: Update copyright notice with latest from FreeBSD.
(glob0): Use correct type for c variable to propagate previously detected
protection.

17 years ago * cygheap.cc (_csbrk): Fix off-by-one error.
Corinna Vinschen [Fri, 12 Jan 2007 19:40:20 +0000 (19:40 +0000)]
* cygheap.cc (_csbrk): Fix off-by-one error.
* cygwin.sc: Give .cygheap a minimum size of 512K.

17 years ago* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.
Christopher Faylor [Fri, 12 Jan 2007 15:40:13 +0000 (15:40 +0000)]
* external.cc (sync_winenv): Use cur_environ () rather than __cygwin_environ.

17 years ago * fork.cc (child_copy): Add missing Windows PID in debug output.
Corinna Vinschen [Fri, 12 Jan 2007 15:26:02 +0000 (15:26 +0000)]
* fork.cc (child_copy): Add missing Windows PID in debug output.

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