summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-06-086-5/+126
| | | | | | | | * libc/string/strcasestr.c: New file. * libc/include/string.h: Add strcasestr. * libc/string/strings.tex: Add strcasestr. * libc/string/Makefile.am: Ditto. * libc/string/Makefile.in: Regenerated.
* * config.sub, config.guess: Update from upstream sources.Ben Elliston2007-06-063-14/+29
|
* * Makefile.tpl: Fix spelling error.Ben Elliston2007-06-063-7/+12
| | | | * Makefile.in: Regenerate.
* 2007-06-06 Christian Groessler <chris@groessler.org>Jeff Johnston2007-06-063-6/+19
| | | | | | | | | * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of rnd is done after the last local variable declaration. 2007-06-06 Jeff Johnston <jjohnstn@redhat.com> * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
* Fix entry to refer to function instead of variable.Jeff Johnston2007-06-051-2/+2
|
* 2007-06-05 Christian Groessler <chris@groessler.org>Jeff Johnston2007-06-052-1/+7
| | | | | * libc/argz/argz_insert.c (delta): Move variable declaration to top of function in keeping with C89 standard.
* 2007-06-05 Patrick Mansfield <patman@us.ibm.com>Jeff Johnston2007-06-0514-128/+122
| | | | | | | | | | | | | | | | | | | | | * spu/jsre.h: Remove the assist call structs and defines that are specific to one assist call from here. * spu/access.c: Move struct syscall_access_t to here. * spu/fstat.c: Move struct syscall_fstat_t to here. * spu/ftruncate.c: Move struct syscall_ftruncate_t to here. * spu/gettimeofday.c: Move struct syscall_gettimeofday_t to here. * spu/lseek.c: Move struct syscall_lseek_t and JSRE_SEEK defines to here. * spu/open.c: Move struct syscall_open_t and JSRE_O_ defines to here. * spu/read.c: Move struct syscall_read_t to here, and actually use it (it is the same as syscall_write_t). * spu/stat.c: Move struct syscall_stat_t to here. * spu/write.c: Move struct syscall_write_t to here. * spu/close.c: Pass the address of the first and only argument to __send_to_ppe rather than using an automatic variable and a special struct. * spu/dup.c: Ditto. * spu/unlink.c: Ditto.
* * cygwin-api.in.sgml: Accommodate new "Compatibility" section layout.Corinna Vinschen2007-06-052-3/+11
|
* * ansi.sgml: Delete.Corinna Vinschen2007-06-054-201/+1271
| | | | | * misc-std.sgml: Delete. * posix.sgml: Rework entirely.
* Implement funopen, fopencookie.Eric Blake2007-06-0425-143/+781
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64): Switch to reentrant callbacks. * libc/include/stdio.h (funopen): Fix declaration. (fopencookie): Declare. * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose) (__sseek64, __swrite64): Fix prototypes. [__SCLE]: Pull in setmode declaration. * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix reentrancy. * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete. (__sseek64, __swrite64): Fix reentrancy. * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix reentrancy. * libc/stdio/ftell.c (_ftell_r): Likewise. * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+". * libc/stdio/fclose.c (_fclose_r): Fix reentrancy. * libc/stdio/freopen.c (_freopen_r): Likewise. * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise. * libc/stdio/refill.c (__srefill_r): Likewise. * libc/stdio/siscanf.c (eofread): Likewise. * libc/stdio/sscanf.c (eofread): Likewise. * libc/stdio/vsiscanf.c (eofread1): Likewise. * libc/stdio/vsscanf.c (eofread1): Likewise. * libc/stdio64/freopen64.c (_freopen64_r): Likewise. * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. * libc/stdio64/ftello64.c (_ftello64_r): Likewise. * libc/stdio/fflush.c (fflush): Improve reentrancy, although more could be fixed. * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file. * libc/stdio/funopen.c (_funopen_r, funopen): New file. * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build new files. * libc/stdio/Makefile.in: Regenerate.
* 2007-06-04 Olivier Hainque <hainque@adacore.com>Paolo Bonzini2007-06-042-5/+10
| | | | * mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.
* 2007-06-04 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-06-043-1/+22
| | | | | | | | | Sync with gcc: 2007-05-30 Jakub Jelinek <jakub@redhat.com> PR bootstrap/29382 * configure.ac: Don't use -fkeep-inline-functions for GCC < 3.3.1. * configure: Rebuilt.
* * cygcheck.cc (pathlike): New class.Christopher Faylor2007-06-043-183/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (paths): Redefine as type pathlike. (display_error): Declare a few different ways to allow more flexible usage throughout. (display_error_fmt): New function for those cases where C++ just isn't enough. (add_path): Rewrite to allocate pathlike paths. Always tack on a trailing slash since that's what everyone who uses it wants. NULL terminate the path list. Register "it's a system path" field. (init_path): Call add_path with info regarding whether path is a system path or not. (pathlike::check_existence): Move into pathlike class. Accept file and extension arguments to build up path on the fly. Modify other arguments. (find_on_path): Constify return value and appropriate arguments. Eliminate short-circuit for fully-qualified paths. Simplify loop which iterates over path. (already_did): Constify argument. (track_down): Ditto. Regularize some error messages. (find_app_on_path): Ditto. (cygcheck): Constify argument. Use 20th century string handling functions. (dump_sysinfo): Remove odd inclusion of '\\bin' "Just in case". Accommodate change of paths to pathlike. * path.cc (isslash): Rename from SLASH_P and use throughout. (rel_vconcat): Front-end to vconcat which prepends cwd to path before passing along for conversion to native windows. (cygpath): Remove "./" test. Call rel_vconcat if filename appears to be relative.
* Correct ChangeLog entry.H.J. Lu2007-06-011-3/+3
|
* 2007-06-01 Steve Ellcey <sje@cup.hp.com>Paolo Bonzini2007-06-012-23/+34
| | | | | * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Try using getconf to set lt_cv_sys_max_cmd_len.
* include/Alan Modra2007-05-312-0/+6
| | | | | | | | | | | * bfdlink.h (struct bfd_link_info): Add input_bfds_tail. bfd/ * simple.c (bfd_simple_get_relocated_section_content): Init input_bfds_tail. ld/ * ldlang.c (ldlang_add_file): Use input_bfds_tail. * ldmain.c (main): Init input_bfds_tail. Sort link_info initialization.
* 2007-05-31 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-05-312-0/+64
| | | | * ltgcc.m4: Update from GCC.
* * m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S:Kazu Hirata2007-05-305-10/+16
| | | | | Replace __INIT_SECTION__ and __FINI_SECTION__ with _init and _fini, respectively.
* Avoid more compiler warnings.Eric Blake2007-05-297-3/+16
| | | | | | | | | * libc/stdlib/btowc.c: Add missing header. * libc/stdlib/getopt.c (getopt_internal): Initialize variable. * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration. * libc/stdlib/wctob.c: Add missing header. * libc/string/strcpy.c (strcpy): Avoid warnings. * libc/string/strrchr.c (strrchr): Likewise.