summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2009-12-17 Jerker Back <jerker.back@gmail.com>Jeff Johnston2009-12-1712-45/+62
| | | | | | | | | | | | | | | * libc/include/_ansi.h: Add new _EXFNPTR macro for using with function pointer arguments. * libc/iconv/lib/conv.h: Use _EXFNPTR rather than _EXPARM macro. * libc/iconv/lib/ucsconv.h: Ditto. * libc/include/stdlib.h: Use new _EXFNPTR macro for function pointers. * libc/include/sys/reent.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/search/bsearch.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio64/fseeko64.c: Ditto. * libc/stdlib/atexit.c: Ditto. * libc/stdlib/on_exit.c: Ditto.
* 2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-173-13/+11
| | | | | | * libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling. * libc/machine/arm/machine/endian.h: Remove (Conflicts with libc/include/machine/endian.h)
* 2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-172-1/+5
| | | | * libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.
* 2009-12-17 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-173-15/+27
| | | | | | | * libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock * libc/include/sys/stat.h: Use struct timespec st_*tim, blksize_t st_blksize, blkcnt_t st_blocks. Add st_*time compatibility macros.
* * syscalls.cc (try_to_bin): Handle remote shares as well. Just renameCorinna Vinschen2009-12-172-72/+85
| | | | | | | files in this case, instead of moving them to the recycler. Create even more unique filename. Add comment to explain filename. (unlink_nt): Remove code returning with EBUSY on remote shares. Set bin_stat to move_to_bin except on NFS. Add comment to explain.
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-171-0/+34
| | | | | | | | | | | | | | | | * libc/sys/rtems/machine/_types.h: New (Derived from machine/_default_types.h). * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB. * libc/sys/rtems/sys/param.h: Update copyright notice from FreeBSD. Remove HZ. Add #include <sys/priority.h> Remove priority handling (moved to sys/priority.h). Remove CLBYTES (Unused, abandoned in BSD). * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD). Remove CIRCLEQ_*. 2
* * signal.cc (nanosleep): Support 'infinite' sleep times.Eric Blake2009-12-172-19/+55
| | | | (sleep): Avoid uninitialized memory.
* PR ld/11088Alan Modra2009-12-172-4/+9
| | | | | | | | | | | | | | | | | | | | | | include/elf/ * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Delete. (R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define. bfd/ * elf32-ppc.c (update_plt_info): Clear sec here when addend is less than 32768.. (ppc_elf_check_relocs): ..rather than doing so here. Ignore new relax relocs. (ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has removed plt_entry records. (ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly. (ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount when optimizing code using new tlsgd and tlsld marker relocs. (ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs from ADDR24 relocs using plt or glink. Don't clear the addend for R_PPC_RELAX_PLTREL24. (ppc_elf_relocate_section): Correctly handle addends on relaxed PLTREL24 relocs.
* 2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2009-12-162-0/+9
| | | | | * libc/sys/rtems/machine/param.h: Only use sizeof(double) -1 for ALIGNBYTES on SPARC.
* 2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de>Jeff Johnston2009-12-164-26/+10
| | | | | | | * xc16x/Makefile.in: Remove extraneous stuff brought in by copy. * xc16x/configure.in: Ditto. * xc16x/configure: Regenerated.
* 2009-12-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-12-162-5/+7
| | | | | | * libc/include/sys/errno.h: Move EHOSTDOWN, EPFNOSUPPORT, and ETOOMANYREFS into general list as they are referenced by OpenGroup and needed by RTEMS.
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-162-1/+4
| | | | * libc/search/hcreate.c: Don't include <sys/queue.h> (Unused).
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-164-165/+109
| | | | | | | | | | | | | | * libc/sys/rtems/machine/_types.h: New (Derived from machine/_default_types.h). * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB. * libc/sys/rtems/sys/param.h: Update copyright notice from FreeBSD. Remove HZ. Add #include <sys/priority.h> Remove priority handling (moved to sys/priority.h). Remove CLBYTES (Unused, abandoned in BSD). * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD). Remove CIRCLEQ_*.
* * fhandler_console.cc (read): Detect and handle mouse wheel scrollingCorinna Vinschen2009-12-164-92/+194
| | | | | | | | | | | | | | | | | | | events (for completion of mouse reporting mode 1000) and mouse movement events (for additional mouse reporting modes 1002 and 1003). Use mouse_aware() as a guard and only condition for mouse reporting in order to enforce consistence of read() and select(). Add focus reports (for additional focus reporting mode 1004). (mouse_aware): Enable detection of additional mouse events for select(). Tune function to precisely match actual reporting criteria. Move adjustment of mouse position (by window scroll offset) here to avoid duplicate code. (char_command): Initialization of enhanced mouse reporting modes. Initialization of focus reporting mode. * fhandler.h (use_mouse): Change flag (bool->int) to indicate additional mouse modes. Add flag to indicate focus reporting. (mouse_aware): Move enhanced function into fhandler_console.cc. * select.cc (peek_console): Use modified mouse_aware() for more general detection of mouse events. Also check for focus reports.
* * regtool.cc: Throughout, convert all registry calls to wide charCorinna Vinschen2009-12-163-100/+146
| | | | | | | | | | | | | calls and use string conversion according to current locale. (longopts): Change "dword-le" to "dword-be", as was originally intended. (usage): Change usage accordingly. (print_version): Simplify copyright dates in output. (cmd_list): Handle REG_LINK like REG_SZ. (cmd_get): Ditto. (main): Call setlocale. * utils.sgml (regtool): Fix options and add missing descriptions for new features.
* * registry.cc (cygnus_class): Remove.Corinna Vinschen2009-12-162-2/+6
| | | | (reg_key::build_reg): Don't set class when creating key.
* 2009-12-15 Conny Marco Menebrocker <c-m-m@gmx.de>Jeff Johnston2009-12-153-7/+13
| | | | | | * libc/machine/xc16x/Makefile.am: Fix typo and refer to puts.c instead of putc.c. * libc/machine/xc16x/Makefile.in: Regenerated.
* * net.cc (cygwin_setsockopt): Only skip calling setsockopt(SO_REUSEADDR)Corinna Vinschen2009-12-152-4/+10
| | | | on stream sockets under systems supporting enhanced socket security.
* * fhandler_console.cc (char_command): Fix code to select dim modeCorinna Vinschen2009-12-152-4/+17
| | | | | to 2 rather than 9. Add entries for mode 22 (normal, not bold) 28 (visible, not invisible), 25 (not blinking).
* 2009-12-14 Doug Kwan <dougkwan@google.com>Doug Kwan2009-12-153-9/+17
| | | | | | | | | | | | | | | | bfd/ChangeLog: * opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed variable warnings. * bfd-in2.h: Regnenerate. include/ChangeLog: * bfdlink.h (struct bfd_link_callbacks): Rename function parameters to avoid shadowed variable warnings. * dis-asm.h (struct disassemble_info): Ditto. (disassemble_init_for_target): Ditto. (init_disassemble_info): Ditto.
* 2009-12-14 Maxim Kuvyrkov <maxim@codesourcery.com>Jeff Johnston2009-12-142-0/+21
| | | | | * libc/machine/m68k/memcpy.S: Patch to support boards which do not support unaligned read/write.
* * faq-setup.xml (faq.setup.mirror): Fix URL to wget.Corinna Vinschen2009-12-142-1/+5
|
* * libc/getopt.c (getopt_internal): Set optreset according to optindCorinna Vinschen2009-12-142-11/+20
| | | | | setting earlier. Reevaluate POSIXLY_CORRECT if optreset is set to !0. Handle a leading '-' in options independently of posixly_correct.
* Fix reference to putchar.o and puts.o which were moved to newlib as part ofJeff Johnston2009-12-101-2/+2
| | | | initial check-in.
* 2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>Jeff Johnston2009-12-1016-3881/+11740
| | | | | | | | | | | | | | | | | | * configure.host: Add xc16x support. * libc/include/machine/ieeefp.h: Ditto. * libc/include/sys/config.h: Ditto. * libc/machine/configure.in: Ditto. * libc/machine/Makefile.in: Regenerated. * libc/machine/aclocal.m4: Ditto. * libc/machine/configure: Ditto. * libc/machine/xc16x/Makefile.am: New file. * libc/machine/xc16x/Makefile.in: Ditto. * libc/machine/xc16x/aclocal.m4: Ditto. * libc/machine/xc16x/configure: Ditto. * libc/machine/xc16x/configure.in: Ditto. * libc/machine/xc16x/putchar.c: Ditto. * libc/machine/xc16x/puts.c: Ditto. * libc/machine/xc16x/setjmp.S: Ditto.
* 2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>Jeff Johnston2009-12-1023-1655/+7581
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Add xc16x support. * configure: Regenerated. * xc16x/Makefile.in: New file for xc16x port. * xc16x/aclocal.m4: Ditto. * xc16x/close.S: Ditto. * xc16x/configure: Ditto. * xc16x/configure.in: Ditto. * xc16x/create.c: Ditto. * xc16x/crt0.S: Ditto. * xc16x/fstat.S: Ditto. * xc16x/getchar1.c: Ditto. * xc16x/isatty.c: Ditto. * xc16x/lseek.c: Ditto. * xc16x/mem-layout.c: Ditto. * xc16x/misc.c: Ditto. * xc16x/open.c: Ditto. * xc16x/read.c: Ditto. * xc16x/sbrk.c: Ditto. * xc16x/syscalls.c: Ditto. * xc16x/trap_handle.c: Ditto. * xc16x/write.c: Ditto. * xc16x/sys/syscall.h: Ditto.
* * fhandler_fifo.cc (fhandler_fifo::open): Avoid resetting errno after it hasChristopher Faylor2009-12-094-5/+17
| | | | | been explicitly set. * include/cygwin/version.h: Bump DLL minor version number to 2.
* Fix some *at declarations.Eric Blake2009-12-084-2/+12
| | | | | | | * libc/include/stdio.h (symlinkat): Move this... * libc/include/sys/_default_fcntl.h (unlinkat): ...and this... * libc/include/sys/unistd.h (symlinkat, unlinkat): ...here, to match POSIX.
* Sync with GCC:Kaveh Ghazi2009-12-073-148/+80
| | | | | | | | | | | | PR middle-end/30447 PR middle-end/30789 PR other/40302 * configure.ac: Require MPC. * configure: Regenerate. * configure.ac: Update minimum MPC version to 0.8. * configure: Regenerate.
* * include/cygwin/version.h: Bump DLL minor version number to 1.Corinna Vinschen2009-12-062-1/+5
|
* include/David Daney2009-12-032-0/+6
| | | | | | | | | | | | 2009-12-03 David Daney <ddaney@caviumnetworks.com> Adam Nemet <adambnemet@gmail.com> * elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag. binutils/ 2009-12-03 David Daney <ddaney@caviumnetworks.com> Adam Nemet <adambnemet@gmail.com> * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
* 2009-12-03 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-12-034-3/+9
| | | | | | * libc/stdlib/strtod.c: Correct "NO_REENT" to "_REENT_ONLY". * libc/stdlib/wcstod.c: Ditto. * libc/stdlib/dtoastub.c: Ditto.
* * fhandler_socket.cc (send_internal): Don't split datagram messagesCorinna Vinschen2009-12-023-5/+23
| | | | | | | into pieces. * syslog.cc (vsyslog): Set default facility to LOG_USER if it hasn't been set yet.
* PR binutils/11017Nick Clifton2009-12-023-14/+24
| | | | | | | | | | | * dlltool.c (PAGE_SIZE): Delete. (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386. * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h * i386lh (COFF_PAGE_SIZE): Define. * x86_64.h (COFF_PAGE_SIZE): Define.
* * setup2.sgml (setup-env): Clarify that Windows environment getsCorinna Vinschen2009-12-022-1/+36
| | | | copied over. Add paragraph about TMP, TEMP, and TMPDIR.
* * fhandler_registry.cc (fhandler_registry::open): Mark /proc/registryCorinna Vinschen2009-12-012-0/+7
| | | | directory and siblings as nohandle fhandler.
* config:Joseph Myers2009-11-302-0/+10
| | | | | | | | | | | | | | | | | | | | | | | * largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET. bfd: * configure: Regenerate. binutils: * configure: Regenerate. gas: * configure: Regenerate. gdb: * configure: Regenerate. gprof: * configure: Regenerate. ld: * configure: Regenerate.
* * speclib: Use last dll found since that's the real name of the cygwin DLL.Christopher Faylor2009-11-302-1/+6
|
* * setfacl.c (getaclentry): Allow to delete default entries for theCorinna Vinschen2009-11-292-3/+17
| | | | owner and owner group.
* 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-282-2/+6
| | | | * include/_mingw.h: Increment version to 3.17.
* 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-282-1/+40
| | | | | * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
* * common.h (ELFOSABI_FENIXOS, EM_TI_C6000, EM_TI_C2000,Joseph Myers2009-11-282-3/+11
| | | | | EM_TI_C5500, EM_CUDA): Define. (EM_res140, EM_res141, EM_res142): Remove.
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos inCorinna Vinschen2009-11-272-5/+12
| | | | | comments. Always open file synchronized when reading header bytes, otherwise suffer stack corruption.
* * cygcheck.cc (dump_sysinfo): Fix typo in products.Corinna Vinschen2009-11-272-1/+5
|
* * dtable.cc (dtable::stdio_init): Use GetCurrentProcess() rather thanCorinna Vinschen2009-11-262-3/+13
| | | | | hMainProc as process handle when duplicating the stdout handle. Explain why. Add Win32 error code to debug output.
* * rx/rx.ld: Place .sbss properly.DJ Delorie2009-11-253-0/+7
| | | | * rx/rx-sim.ld: Likewise.
* * zlib.m4: New file.Joel Brobecker2009-11-242-0/+22
|
* [sim]DJ Delorie2009-11-242-0/+59
| | | | | | | | | * rx: New directory. * configure.ac: Add entry for Renesas RX. * configure: Regenerate. [include/gdb] * sim-rx.h: New.
* Use NetBSD fix for CVE-2009-0689 security vulnerability.Corinna Vinschen2009-11-234-2/+20
| | | | | | | | * libc/include/sys/reent.h (_Kmax): Define here based on the sizeof size_t, as in latest NetBSD. * libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant value 15. * libc/stdlib/mprec.c (_Kmax): Don't define here. Explain why.
* * fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): AddCorinna Vinschen2009-11-233-5/+25
| | | | | | | | socket handle value to debug output. (fhandler_socket::fixup_after_fork): Ditto. Make new socket handle OVERLAPPED, just as if it has been created with socket(). * net.cc (fdsock): Close duplicated socket and explain why. Disable the entire WSADuplicateSocket test for now and explain why.