summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * dtable.cc (dtable::set_file_pointers_for_exec): Call SetFilePointerCorinna Vinschen2007-05-295-13/+34
| | | | | | | | | | | correctly for 64 bit file access. Comment out functionality. * fhandler.cc (fhandler_base::open): Don't set append_mode. (fhandler_base::write): Check for O_APPEND instead of append_mode. Call SetFilePointer correctly for 64 bit file access. Handle errors from SetFilePointer. * fhandler.h (class fhandler_base): Drop append_mode status flag. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Handle seeking correctly for 64 bit file access.
* * dumper.cc (dumper::prepare_core_dump): Record a phdr for each section.Corinna Vinschen2007-05-292-3/+62
|
* * cygpath.cc (do_options): Allow outputflag combined with otherCorinna Vinschen2007-05-292-9/+15
| | | | | | | basic flags. Only check options_from_file_flag if reading options from command line. (main): Check for NULL argz vector. Don't free argz vector prematurely. Don't force flag combination in !options_from_file_flag case.
* * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty stringCorinna Vinschen2007-05-296-23/+49
| | | | | | | | | | argument. * libc/argz/argz_append.c (argz_append): Handle empty buf argument. * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0) on empty input strings. * libc/argz/argz_extract.c (argz_extract): Check argz_len before looping through argz. * libc/argz/argz_stringify.c (argz_stringify): Ditto.
* 2007-05-27 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-05-282-0/+131
| | | | * confsubdir.m4: Move here from newlib.
* * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' whenEric Blake2007-05-272-1/+7
| | | | handling %p.
* 2007-05-25 Andreas Tobler <a.tobler@schweiz.org>Eric Christopher2007-05-252-16/+18
| | | | * ltmain.sh: Fix Darwin verstring, remove ${wl}.
* * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.Eric Blake2007-05-252-2/+6
|
* * ltmain.sh: Update from GCC.Steve Ellcey2007-05-24239-17164/+119607
| | | | | | | | | | | | | | | * libtool.m4: Update from GCC. * ltsugar.m4: New. Update from GCC. * ltversion.m4: New. Update from GCC. * ltoptions.m4: New. Update from GCC. * ltconfig: Remove. * ltcf-c.sh: Remove. * ltcf-cxx.sh: Remove. * ltcf-gcj.sh: Remove. * src-release: Update with new libtool file list. * newlib/*/configure.in: invoke _LD_DECL_SED. * newlib/*/Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS. * Regenerate subdirectories
* * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p whenEric Blake2007-05-243-50/+144
| | | | | | | | sizeof(void*) is 8 but sizeof(long) is 4. * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc to fix reentrancy and bug on encoding error in multibyte locales. Always return EOF on read error.
* 2007-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2007-05-242-0/+9
| | | | | | | * lib/secur32.def (InitSecurityInterfaceA, InitSecurityInterfaceW): Define. Thanks to Jim Marshall (jim dot marshall at wbemsolutions dot com) for supplying the information.
* 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-05-2345-195/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe prototype. * libc/machine/spu/fclose.c: Use the __send_to_ppe return value instead of the slot 0 value, remove any now unused variables, and for some cases, now store the result in an int vs int*. * libc/machine/spu/feof.c: Ditto. * libc/machine/spu/ferror.c: Ditto. * libc/machine/spu/fflush.c: Ditto. * libc/machine/spu/fgetc.c: Ditto. * libc/machine/spu/fgetpos.c: Ditto. * libc/machine/spu/fgets.c: Ditto. * libc/machine/spu/fileno.c: Ditto. * libc/machine/spu/fopen.c: Ditto. * libc/machine/spu/fprintf.c: Ditto. * libc/machine/spu/fputc.c: Ditto. * libc/machine/spu/fputs.c: Ditto. * libc/machine/spu/fread.c: Ditto. * libc/machine/spu/freopen.c: Ditto. * libc/machine/spu/fscanf.c: Ditto. * libc/machine/spu/fseek.c: Ditto. * libc/machine/spu/fsetpos.c: Ditto. * libc/machine/spu/ftell.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/printf.c: Ditto. * libc/machine/spu/putc.c: Ditto. * libc/machine/spu/putchar.c: Ditto. * libc/machine/spu/puts.c: Ditto. * libc/machine/spu/remove.c: Ditto. * libc/machine/spu/rename.c: Ditto. * libc/machine/spu/scanf.c: Ditto. * libc/machine/spu/setvbuf.c: Ditto. * libc/machine/spu/snprintf.c: Ditto. * libc/machine/spu/sprintf.c: Ditto. * libc/machine/spu/sscanf.c: Ditto. * libc/machine/spu/tmpfile.c: Ditto. * libc/machine/spu/tmpnam.c: Ditto. * libc/machine/spu/ungetc.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.
* 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-05-2315-79/+45
| | | | | | | | | | | | | | | | | | | | * spu/syscalls.c: Change __send_to_ppe to return the result stored in stored in slot 0 of the data, rather than have each assisted call retrieve the value. * spu/jsre.h: Remove the now unused syscall_out_t. * spu/access.c: Use the __send_to_ppe result instead of the slot 0 value, remove unused syscall_out_t variable. * spu/close.c: Ditto. * spu/dup.c: Ditto. * spu/fstat.c: Ditto. * spu/ftruncate.c: Ditto. * spu/gettimeofday.c: Ditto. * spu/lseek.c: Ditto. * spu/open.c: Ditto. * spu/read.c: Ditto. * spu/stat.c: Ditto. * spu/unlink.c: Ditto. * spu/write.c: Ditto.
* * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).Eric Blake2007-05-233-43/+116
| | | | | | Avoid warning when !FLOATING_POINT. * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS slightly.