summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * cygpath.cc: Include argz.h.Corinna Vinschen2007-05-232-127/+130
| | | | | | | | | | | | | | (options_from_file_flag): Move from main to global static variable. (mode_flag): Ditto. (do_sysfolders): Rename from dowin and accommodate throughout. Don't exit from here. (do_pathconv): Rename from doit and accommodate throughout. (print_version): Change copyright. (do_options): New function, centralizing option processing. Rework checking options for correctness. (action): New function, centralizing calling worker functions. (main): Simplify. Move option processing to do_options. Move calling worker functions to action. Rework getting arguments from files.
* * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_lenCorinna Vinschen2007-05-233-0/+19
| | | | | | to zero. * libc/include/argz.h: Guard against multiple inclusion. Guard for use with C++.
* * m68k/fido.sc (.data): Move .jcr to .text. Catch .got.pltKazu Hirata2007-05-232-1/+11
| | | | and .got.
* 2007-05-23 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-05-232-1/+7
| | | | | PR bootstrap/32009 * mh-ppc-darwin: Temporarily disable.
* * path.cc (cwdstuff::set): Revert useless acquire check.Corinna Vinschen2007-05-222-2/+5
|
* * path.cc (cwdstuff::set): Avoid double aquiring of cwd_lock.Corinna Vinschen2007-05-222-2/+8
| | | | Open directory with inheriting enabled.
* * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Don't invalidateCorinna Vinschen2007-05-222-1/+20
| | | | devbuf if new position is within buffered range.
* Move entry for modification to dwarf2.h (for adding ability to reportCaroline Tice2007-05-211-0/+5
| | | | when a variable's value is uninitialized) to the correct ChangeLog file.
* moved to the attic to please handling of src-support modulePaolo Bonzini2007-05-213-0/+0
|
* add this momentarily, will move them to the attic soonPaolo Bonzini2007-05-213-0/+0
|
* * include/search.h (hsearch_r): Provide declaration.Corinna Vinschen2007-05-212-0/+5
|
* * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Set buf size toCorinna Vinschen2007-05-212-4/+13
| | | | | sector size. Simplify non-sector aligned case. Handle errors from raw_read.
* 2007-05-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2007-05-192-0/+6
| | | | * include/shellapi.h (NIN_POPUPOPEN, NIN_POPUPCLOSE): Define.
* Add ability to report when a variable's value is uninitialized,Caroline Tice2007-05-181-0/+1
| | | | | based on information provided by the compiler. Also add new DWARF OP, DW_OP_GNU_uninit, for this purpose.
* * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gccEric Blake2007-05-183-3/+11
| | | | | compilers. * libc/stdio/vfscanf.c: Likewise.
* 2007-05-17 Cary R. <cygcary <at> yahoo.com>Jeff Johnston2007-05-173-52/+6
| | | | | | * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0)) * libm/math/wf_atan2.c: Ditto.
* 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>Jeff Johnston2007-05-178-56/+374
| | | | | | | | | | | | | | * libm/common/Makefile.am: Add support for exp10, exp10f, pow10, and pow10f functions. * libm/common/Makefile.in: Regenerated. * libm/common/s_pow10.c: New file. * libm/common/sf_pow10.c: Ditto. * libm/common/s_exp10.c: Ditto. * libm/common/sf_exp10.c: Ditto. * libc/include/math.h [!pow10]: New pow10 prototype. [!pow10f]: New pow10f prototype. [!exp10]: New exp10 prototype. [!exp10f]: New exp10f prototype.
* * stdio/tmpfile.c: Include <sys/stat.h>.Eric Blake2007-05-173-0/+7
| | | | * stdio64/tmpfile64.c: Ditto.
* Close security hole in tmpfile.Eric Blake2007-05-163-7/+43
| | | | | | * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename generation and opening the fd. * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
* * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)Eric Blake2007-05-163-49/+74
| | | | | | | (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros required by POSIX. * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to avoid clash with <math.h>.
* * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.Eric Blake2007-05-163-2/+15
| | | | * libc/search/hash.c (__hash_open): Likewise.
* 2007-05-16 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-05-164-184/+443
| | | | | | | | | | * Makefile.def (bootstrap_stage): Replace stage_make_flags with stage_cflags. * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS): Remove CFLAGS/LIBCFLAGS. (configure-stage[+id+]-[+prefix+][+module+], all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+]. * Makefile.in: Regenerate.
* * fhandler_socket.cc (adjust_socket_file_mode): New inline function.Corinna Vinschen2007-05-152-4/+24
| | | | | | (fhandler_socket::fchmod): Squeeze mode through adjust_socket_file_mode before using it. (fhandler_socket::bind): Ditto.