aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-02-092007-02-09 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini10-23/+218
* 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.
2007-02-09merge from gccDJ Delorie2-27/+4
2007-02-09 * Makefile.tpl (build_alias, host_alias, target_alias): UseDaniel Jacobowitz8-2746/+5666
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.
2007-02-09 * libc/minires-os-if.c (write_record): Handle DNS_TYPE_SRV andCorinna Vinschen2-1/+21
some obsolete types.
2007-02-082007-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-37/+50
* COPYING.LIBGLOSS: Reformat default Red Hat license to fit within 80 columns. * COPYING.NEWLIB: Ditto.
2007-02-082007-02-08 Dave Brolley <brolley@redhat.com>Jeff Johnston29-0/+7483
* 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.
2007-02-08 * syscalls.cc (check_shm): New static function to do path checkingCorinna Vinschen2-16/+47
common to shm_open and shm_unlink. Check for /dev/shm existance. (shm_open): Call check_shm. (shm_unlink): Ditto.
2007-02-08 * cygwin.din (shm_open): Export.Corinna Vinschen6-2/+66
(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.
2007-02-08 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS forCorinna Vinschen2-3/+8
Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
2007-02-08 * cygmalloc.h (__set_ENOMEM): Declare.Corinna Vinschen3-11/+22
(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.
2007-02-08 * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.Danny Smith2-1/+5
2007-02-07 * cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.Corinna Vinschen2-1/+5
2007-02-07 * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.Corinna Vinschen14-180/+564
* 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.
2007-02-07 * libc/include/sys/features.h: Add definition of all supportedCorinna Vinschen4-86/+227
_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.
2007-02-06Fix entries for MeP submission.Dave Brolley1-43/+4
2007-02-06Fix comment attached to #endifNick Clifton1-1/+1
2007-02-052007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+9
* Contribute the following changes: 2001-03-26 Ben Elliston <bje@redhat.com> * dis-asm.h (print_insn_mep): Declare.
2007-02-052007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley1-0/+84
* 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-052007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2-0/+57
* 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.
2007-02-052007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley2-0/+12
* mt-mep: New.
2007-02-052007-02-05 Dave Brolley <brolley@redhat.com>Dave Brolley4-0/+53
* 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.
2007-02-05 * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support forCorinna Vinschen3-0/+93
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.
2007-02-02Fix typos in year.H.J. Lu1-1/+1
2007-02-022007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2-0/+5
* libc/include/sys/errno.h: Add ECANCELED.
2007-02-02binutils/H.J. Lu2-0/+5
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.
2007-02-02 * syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.Corinna Vinschen2-1/+5
2007-02-01 Fix typo.Corinna Vinschen1-1/+1
2007-02-012007-02-01 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston12-4/+559
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.
2007-02-012007-02-01 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston49-26/+2625
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.
2007-02-01 * net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6Corinna Vinschen5-21/+165
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.
2007-02-01 * include/cygwin/socket.h: Add IPv6 socket options.Corinna Vinschen2-0/+11
2007-01-31 * Makefile.tpl (LDFLAGS): Substitute it.Andreas Schwab3-2/+7
* Makefile.in: Regenerate.
2007-01-312007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston27-11/+183
* 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.
2007-01-31 include/Vladimir Prus2-0/+27
* 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.
2007-01-31 * net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.Corinna Vinschen2-2/+5
2007-01-31 * net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.Corinna Vinschen3-1/+41
Handle AI_NUMERICSERV. Handle AI_ADDRCONFIG behaviour on Vista. * include/netdb.h (AI_NUMERICSERV): Add missing flag.
2007-01-31 * fhandler_disk_file.cc (fhandler_disk_file::closedir): Add dir nameCorinna Vinschen3-9/+21
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.
2007-01-30merge from gccDJ Delorie2-5/+42
2007-01-30 * sigproc.cc (child_info::child_info): Set msv_count to non-zeroCorinna Vinschen2-3/+8
value only on systems requiring it.
2007-01-30 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualifyBen Elliston3-7/+8
fmt member. * libc/machine/spu/printf.c (c99_printf_t): Likewise. (printf): Pass fmt to va_start to suppress a warning.
2007-01-30 * libc/search/hash.c (init_hash): Make `info' parameter const.Ben Elliston2-2/+6
2007-01-28 * include/ftw.h: Include sys/cdefs.h.Corinna Vinschen2-0/+5
2007-01-27 Expose some msvcr80.dll functions.Danny Smith3-1/+24
* 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.
2007-01-26 Fix typo.Corinna Vinschen1-1/+1
2007-01-26 * fhandler_disk_file.cc (fhandler_disk_file::rmdir): Implement rmdirCorinna Vinschen3-18/+48
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.
2007-01-26 Expose some msvcr80.dll functions.Danny Smith4-5/+44
* 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.
2007-01-26 * include/_mingw.h (CRT_INLINE): Correct typo.Danny Smith2-2/+6
2007-01-24 * net.cc (if_nametoindex): This time, really free IP_ADAPTER_ADDRESSESCorinna Vinschen2-7/+13
memory. (if_indextoname): Ditto.
2007-01-24 * security.h (pop_thread_privilege): Revert to previous state, notCorinna Vinschen2-2/+7
to token used for impersonation.
2007-01-24 * cygheap.h (cygheap_user::deimpersonate): Always RevertToSelf.Corinna Vinschen2-2/+5