summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * msvcrt.def.in: Update comment.Danny Smith2007-06-284-7/+24
| | | | | | Exclude _ctype stub if using msvcr71.dll or newer. * include/ctype.h: Don't declare _ctype if using msvcr71.dll or newer. * include/wctype.h: Likewise.
* * shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.Corinna Vinschen2007-06-273-8/+15
| | | | | | | | (CURR_SHARED_MAGIC): Ditto. (class shared_info): Add heap_slop_inited member. * shared.cc (shared_info::heap_slop_size): Use heap_slop_inited to track initializing heap_slop since 0 is a valid value for heap_slop. Drop useless < 0 consideration.
* * assert.cc (__assert_func): New function, to match newlib headerEric Blake2007-06-274-7/+25
| | | | | | change. * cygwin.din: Export __assert_func. * include/cygwin/version.h: Bump API minor number.
* Support __func__ in assert, as required by C99.Eric Blake2007-06-273-24/+57
| | | | | | | * libc/stdlib/assert.c (__assert_func): New function. (__assert): Use __assert_func. * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when possible.
* *include/wctpe.h: Likewise.Danny Smith2007-06-233-592/+628
| | | | | | *include/wdirent.h: Likewise. Changelog: Whitespace Further: http://www.lib.virginia.edu/cgi-bin/imgload.cgi/53
* *include/assert.h: Qualify all functions with __MINGW_NOTHROW.Danny Smith2007-06-2327-899/+901
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *include/conio.h: Likewise. *include/ctype.h: Likewise. *include/direct.h: Likewise. *include/dos.h: Likewise. *include/errno.h: Likewise. *include/fenv.h: Likewise. *include/float.h: Likewise. *include/inttypes.h: Likewise. *include/io.h: Likewise. *include/libgen.h: Likewise. *include/locale.h: Likewise. *include/malloc.h: Likewise. *include/mbctype.h: Likewise. *include/mbstring.h: Likewise. *include/process.h: Likewise. *include/search.h: Likewise. *include/setjmp.h: Likewise. *include/signal.h: Likewise. *include/stdio.h: Likewise. *include/stdlib.h: Likewise. *include/string.h: Likewise. *include/time.h: Likewise. *include/wchar.h: Likewise. *include/sys/stat.h: Likewise. *include/sys/time.h: Likewise. *include/sys/timeb.h: Likewise. *include/sys/utime.h: Likewise.
* * src-release (DEVO_SUPPORT): Correct typos.Daniel Jacobowitz2007-06-222-1/+5
|
* * mingwex/Makefile.in (LIB_OBJS): Revert accidental removal.Danny Smith2007-06-222-0/+6
| | | | Good night all.
* Add POSIX binary tree search API.Danny Smith2007-06-227-4/+269
| | | | | | | | | | | | | | | | | * mingwex/tfind.c: New file. * mingwex/tdelete.c: New file. * mingwex/tsearch.c: New file. * mingwex/twalk.c: New file. * mingwex/Makefile.in (DISTFILES): Add tsearch.c twalk.c tdelete.c tfind.c. * mingwex/Makefile.in (POSIX_OBJS): Add tsearch.o twalk.o tdelete.o tfind.o. * include/search.h (tfind): Declare. (tdelete): Declare. (tsearch): Declare. (twalk): Declare. (ENTRY): Define. (ACTION): Define. (VISIT): Define. (node_t): Define, on condition of _SEARCH_PRIVATE.
* * include/_mingw.h (__MINGW_NOTHROW): Define.Danny Smith2007-06-222-2/+25
|
* * autoload.cc (WSAIoctl): Remove.Corinna Vinschen2007-06-2110-452/+644
| | | | | | | | | | | | | | | | | | | | | | | | * cygwin.din: Export freeifaddrs, getifaddrs. * fhandler_socket.cc (fhandler_socket::ioctl): Drop SOCKET parameter from get_ifconf. * net.cc: Include ifaddrs.h. (in_are_prefix_equal): Match addresses in network byte order. (ip_addr_prefix): Convert address into host byte order before testing with IN_LOOPBACK. (struct ifall): Define. (get_xp_ifs): Replace get_xp_ifconf. Return struct ifall array. (get_2k_ifs): Ditto, replace get_2k_ifconf. (get_nt_ifs): Ditto, replace get_nt_ifconf. (getifaddrs): New function. (freeifaddrs): New function. (get_ifconf): Call matching get_XX_ifs function and create ifc content from here. Drop lo fake since it's now in get_nt_ifs. * posix.sgml: Add freeifaddrs and getifaddrs to list of implemented BSD functions. * wincap.h (wincapc::has_broken_if_oper_status): New element. * wincap.cc: Implement above element throughout. * include/ifaddrs.h: New file. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export exp10, exp10f, pow10, pow10f, strcasestr,Corinna Vinschen2007-06-214-13/+45
| | | | | | funopen, fopencookie. * include/cygwin/version.h: Bump API minor number. * posix.sgml: Minor improvements.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-202-1/+19
| | | | | * libc/machine/spu/perror.c: Pass errno as the second argument to the assist call.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-205-3/+94
| | | | | | | * spu/jsre.h: Add JSRE_MKSTEMP and JSRE_MKTEMP values. * spu/mkstemp.c: New file to add mkstemp support via assist call. * spu/mktemp.c: New file to add mktemp support via assist call. * spu/Makefile.in: Add mkstemp.o and mktemp.o
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-209-6/+311
| | | | | | | | | | | * spu/jsre.h: Add new JSRE opcodes. * spu/dup2.c: New file to add dup2 support via assist call. * spu/fdatasync.c: New file to add fdatasync support via assist call. * spu/fsync.c: New file to add fsync support via assist call. * spu/lockf.c: New file to add lockf support via assist call. * spu/sync.c: New file to add sync support via assist call. * spu/truncate.c: New file to add truncate support via assist call. * spu/Makefile.in: Add new files.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-202-4/+18
| | | | | * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related defines; expose ftruncate, truncate and sync prototypes.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-206-2/+182
| | | | | | | | * spu/jsre.h: JSRE_LINK, JSRE_SYMLINK and JSRE_READLINK. * spu/link.c: New file to add link support via an assist call. * spu/readlink.c: New file to add readlink support via an assist call. * spu/symlink.c: New file to add symlink support via an assist call. * spu/Makefile.in: Add new files.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-207-40/+140
| | | | | | | | | * spu/jsre.h: Add JSRE_LSTAT. * spu/lstat.c: New file add lstat support via an assist call. * spu/conv_stat.c: New file, add common stat conversion code. * spu/fstat.c: Use __conv_stat. * spu/stat.c: Use __conv_stat. * spu/Makefile.in: Add conv_stat.o and lstat.o.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-204-1/+118
| | | | | | | * spu/jsre.h: Add JSRE_GETCWD. * spu/getcwd.c: New file, implement getcwd with help from an assist call. * spu/Makefile.in: Add getcwd.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-203-2/+8
| | | | | | * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible. * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes visible.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-2013-3/+538
| | | | | | | | | | | | | | | * spu/jsre.h: Add defines for new assist calls. * spu/chdir.c: New file, support chdir via assist call. * spu/chmod.c: New file, support chmod via assist call. * spu/chown.c: New file, support chown via assist call. * spu/fchdir.c: New file, support fchdir via assist call. * spu/fchmod.c: New file, support fchmod via assist call. * spu/fchown.c: New file, support fchown via assist call. * spu/lchown.c: New file, support lchown via assist call. * spu/mkdir.c: New file, support mkdir via assist call. * spu/mknod.c: New file, support mknod via assist call. * spu/rmdir.c: New file, support rmdir via assist call. * spu/Makefile.in: Add new files.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-204-1/+56
| | | | | | * spu/getpagesize.c: New file add getpagesize via an assist call. * spu/jsre.h: Add JSRE_GETPAGESIZE. * spu/Makefile.in: Add getpagesize.
* * include/cygwin/if.h (IFF_POINTOPOINT): Fix typo.Corinna Vinschen2007-06-202-1/+5
|
* * coffread.c (coff_sym_fns): Add default_symfile_segments.Daniel Jacobowitz2007-06-183-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dbxread.c (start_psymtab): Check HAVE_ELF. (aout_sym_fns): Likewise. * elfread.c (elf_symfile_segments): New. (elf_sym_fns): Add elf_symfile_segments. * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. * remote.c (get_offsets): Use symfile_map_offsets_to_segments. Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. * somread.c (som_sym_fns): Use default_symfile_segments. * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. (init_objfile_sect_indices): Call symfile_find_segment_sections. (default_symfile_segments): New function. (syms_from_objfile): Update call to find_sym_fns. (symfile_get_segment_data, free_symfile_segment_data): New. (symfile_map_offsets_to_segments): New. (symfile_find_segment_sections): New. * symfile.h (struct symfile_segment_data): New. (struct sym_fns): Add sym_segments. (default_symfile_segments, symfile_get_segment_data) (free_symfile_segment_data): New prototypes. (symfile_map_offsets_to_segments): Likewise. * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. * Makefile.in (COMMON_OBS): Remove elfread.o. (elf_internal_h): New. (elfread.o): Update. * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was compiled. * config.in, configure: Regenerated. * NEWS: Mention qOffsets changes. * gdb.texinfo (General Query Packets): Document qOffsets changes. * Makefile.def: Add dependency from configure-gdb to all-bfd. * Makefile.in: Regenerated.
* * include/stdio.h (vsnprintf): Remove inline definition.Danny Smith2007-06-182-6/+10
| | | | Add prototype.
* * CRTfmode.c: Nit-pick comment fix.Danny Smith2007-06-172-1/+5
|
* * CRTfmode.c: Fix nested comment.Christopher Faylor2007-06-172-1/+5
|
* * include/string.h (strcasecmp): Fix typo in declaration prototype.Christopher Faylor2007-06-172-1/+5
|
* * include/search.h: Reinstate node_t definition.Christopher Faylor2007-06-173-23/+16
| | | | * include/sys/cdefs.h: Remove in favor of newlib version.
* 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-153-35/+34
| | | | | | * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in from a dropped patch. * libc/machine/spu/Makefile.in: Regenerate.
* * autoload.cc (GetIpForwardTable): Define.Corinna Vinschen2007-06-147-9/+75
| | | | | | | | | | | | | | | * fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFDSTADDR. * net.cc (get_routedst): New static function to get destination address of point-to-point interfaces. (get_xp_ifconf): Handle SIOCGIFDSTADDR. (get_2k_ifconf): Ditto. (get_nt_ifconf): Ditto. (get_ifconf): Ditto. * include/asm/socket.h (SIOCGIFDSTADDR): Define. * include/cygwin/if.h (struct ifreq): Add ifru_dstaddr member. (ifr_dstaddr): Define. * include/cygwin/in.h: Cast ipv4 addresses correctly to in_addr_t in definitions.
* 2007-06-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-06-143-2/+31
| | | | | | * Makefile.tpl (cleanstrap): Don't delete the toplevel Makefile. (distclean-stage[+id+]): Possibly delete stage_last. * Makefile.in: Regenerate.
* 2007-06-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-06-142-4/+4
| | | | * acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines.
* * include/io.h (lseek64) : Add prototype.Danny Smith2007-06-142-0/+5
|
* * include/string.h (strcasecmp): Add prototype.Danny Smith2007-06-142-0/+7
| | | | (strncasecmp): Add prototype.
* 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-134-43/+72
| | | | | | | * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c, it just calls open with appropriate arguments. * libc/machine/spu/Makefile.am: Add creat.c. * libc/machine/spu/Makefile.in: Regenerate.
* 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-06-133-44/+63
| | | | | | * libc/machine/spu/Makefile.am: Re-add back setjmp.S which I accidentally dropped. * libc/machine/spu/Makefile.in: Regenerated.
* 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-137-350/+412
| | | | | | | | | | * libc/include/sys/features.h: Define _POSIX_TIMERS for spu. * libc/include/sys/unistd.h: Change usleep prototype to Posix form and move outside of OS flag checks. * libc/machine/spu/Makefile.am: Add sleep and usleep. * libc/machine/spu/Makefile.in: Regenerate. * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c. * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
* 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-134-2/+61
| | | | | | * spu/Makefile.in: Add nanosleep.c. * spu/jsre.h: Add JSRE_NANOSLEEP. * spu/nanosleep.c: New file, supply nanosleep via an assist call.
* * Makefile.in (CRT0S): Revert last change.Danny Smith2007-06-133-4/+12
| | | | * CRTfmode.c. Correct comment.
* * Makefile.in (CRT0S): Add back CRTfmode.o.Danny Smith2007-06-132-1/+5
|
* * include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.Danny Smith2007-06-133-3/+22
| | | | * include/io.h: Likewise.
* * signal.cc (usleep): Use useconds_t for the type as per POSIX.Christopher Faylor2007-06-122-1/+5
|
* * Makefile.in (DLL_OFILES): Add xsique.o.Corinna Vinschen2007-06-129-65/+80
| | | | | | | | | | | | | | | * cygwin.din (confstr): Make NOSIGFE. (insque): Export. (remque): Export. * lsearch.cc: Remove superfluous _SEARCH_PRIVATE define. * posix.sgml: Move insque to defined SUSv3 interfaces. Remove comment for remque. * include/search.h: Remove _SEARCH_PRIVATE guarded definitions. Add struct qelem definition. Add insque and remque declarations. * include/cygwin/version.h: Bump API minor number. * include/sys/queue.h: Remove insque/remque definitions so as not to collide with SUSv3 compatible declaration in search.h. * libc/xsique.cc: New file implementing insque and remque.
* * fhandler.cc (fhandler_base::fstat): Set pipe permission bits moreCorinna Vinschen2007-06-122-3/+8
| | | | correctly.
* * cygwin.din (confstr): Export.Corinna Vinschen2007-06-115-2/+59
| | | | | | * posix.sgml (confstr): Move to list of implemented SUSv3 functions. * sysconf.cc (confstr): Implement. * include/cygwin/version.h: Bump API minor number.
* * libc/include/sys/unistd.h: Declare confstr for Cygwin.Corinna Vinschen2007-06-112-0/+49
| | | | Define confstr constants for Cygwin. Add comment.
* bfd/Bob Wilson2007-06-112-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM. (extend_ebb_bounds_backward, compute_text_actions): Likewise. (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise. (xtensa_get_property_predef_flags): Likewise. (compute_removed_literals): Pass new arguments to is_removable_literal. (is_removable_literal): Add sec, prop_table and ptblsize arguments. Do not remove literal if the NO_TRANSFORM property flag is set. gas/ * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to... (XTENSA_PROP_NO_TRANSFORM): ...this. (frag_flags_struct): Move is_no_transform out of the insn sub-struct. (xtensa_mark_frags_for_org): New. (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org. (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org. (get_frag_property_flags): Adjust reference to is_no_transform flag. (xtensa_frag_flags_combinable): Likewise. (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM. * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG. include/elf/ * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to... (XTENSA_PROP_NO_TRANSFORM): ...this. ld/ * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
* * crt1.c (__mingw_CRTStartup): Add explicit call to libgcc's __main.Danny Smith2007-06-112-0/+13
|
* * libc/sys/mmixware/access.c (access): Do not try to use a magicHans-Peter Nilsson2007-06-104-14/+21
| | | | | | | | | file-handle and a direct syscall, just use _open. * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic file-handle. * libc/sys/mmixware/_exit.c (_exit): Update comment about passing on the exit value.