summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * libc/rexec.cc (cygwin_rexec): Obvious (?) fix to correct a gcc warning - setChristopher Faylor2006-07-052-2/+6
| | | | port to zero first thing in the function.
* 2006-07-04 Shaun Jackman <sjackman@gmail.com>Shaun Jackman2006-07-042-0/+43
| | | | | | | * arm/linux-syscalls0.S (ftruncate, getegid, geteuid, getgid, getgroups, getpgid, getpgrp, getuid, lchown, pause, pipe, setpgid, setgid, setsid, setuid, sigprocmask, sync, uname): New system call.
* * signal.cc (signal): Set sa_mask to sig.Christopher Faylor2006-07-042-1/+5
|
* ChangeLog:Alexandre Oliva2006-07-042-1/+5
| | | | | | * ltconfig: chmod 644 before ranlib during install. libiberty/ChangeLog: * Makefile.in: chmod 644 before ranlib during install.
* * Makefile.in (DLL_OFILES): Add rexec.o.Corinna Vinschen2006-07-045-64/+430
| | | | | | | | | | * autoload.cc (inet_network): Drop definition. (rexec): Ditto. * net.cc (rexec): Drop extern declaration. (inet_network): Ditto. (cygwin_inet_network): Implement using inet_addr. (cygwin_rexec): Remove. * libc/rexec.cc: New file.
* * fhandler_socket.cc (fhandler_socket::listen): Allow listening onCorinna Vinschen2006-07-042-3/+22
| | | | unbound INET socket.
* * fhandler.h (fhandler_socket::wait): Set default timeout to INFINITE.Corinna Vinschen2006-07-042-1/+5
|
* * mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.Danny Smith2006-07-032-2/+6
|
* * autoload.cc (NtQueryEaFile): Define.Corinna Vinschen2006-07-038-302/+199
| | | | | | | | | | | | | | | | | | | | | | | (NtSetEaFile): Define. * fhandler.cc (fhandler_base::open): Use appropriate open flags in query case when allow_ntea is set. * ntdll.h (struct _FILE_GET_EA_INFORMATION): Define. (struct _FILE_FULL_EA_INFORMATION): Define. (NtQueryEaFile): Declare. (NtSetEaFile): Declare. * ntea.cc (read_ea): Rename from NTReadEA and rewrite using NtQueryEaFile. (write_ea): Rename from NTWriteEA and rewrite using NtSetEaFile. * path.cc (get_symlink_ea): Make static. Add handle parameter to accomodate new read_ea call. (set_symlink_ea): Make static. Add handle parameter to accomodate new write_ea call. (symlink_worker): Call set_symlink_ea while file is still open. (symlink_info::check): Call get_symlink_ea after file has been opened. * security.cc (get_file_attribute): Accomodate new read_ea call. (set_file_attribute): Accomodate new write_ea call. * security.h (read_ea): Change declaration accordingly. (write_ea): Ditto.
* * Makefile.in: Build setmetamode.exe.Corinna Vinschen2006-07-033-1/+88
| | | | * setmetamode.c: New file.
* * fhandler.h (class dev_console): Add `metabit' indicating theCorinna Vinschen2006-07-036-3/+106
| | | | | | | | | | | | | current meta key mode. * fhandler_console.cc (fhandler_console::read): Set the top bit of the character if metabit is true. * fhandler_console.cc (fhandler_console::ioctl): Implement KDGKBMETA and KDSKBMETA commands. * fhandler_tty.cc (process_ioctl): Support KDSKBMETA. (fhandler_tty_slave::ioctl): Send KDGKBMETA and KDSKBMETA to the master. * include/cygwin/kd.h: New file for the meta key mode. * include/sys/kd.h: New file.
* * include/stdint.h (UINT8_C, UINT16_C): Unsigned types smallerCorinna Vinschen2006-07-032-3/+8
| | | | than int promote to signed int.
* * net.cc (cygwin_sendto): Define appropriate parameters usingCorinna Vinschen2006-07-034-27/+50
| | | | | | | | | | | | | | | | socklen_t type according to SUSv3. (cygwin_recvfrom): Ditto. (cygwin_setsockopt): Ditto. (cygwin_getsockopt): Ditto. (cygwin_connect): Ditto. (cygwin_accept): Ditto. (cygwin_bind): Ditto. (cygwin_getsockname): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * include/cygwin/socket.h (socklen_t): Typedef and define. * include/sys/socket.h: Declare socket functions using socklen_t type.
* 2006-07-03 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-07-033-3/+3
| | | | | * configure.in: Fix thinkos in previous check-in. * configure: Regenerate.
* Add a real Changelog entry.Danny Smith2006-07-031-0/+22
|
* Support SSE float environment in fenv.h functions.Danny Smith2006-07-0315-18/+253
| | | | | | | | | | | | | | | | | | | | | | | * cpu_features.c: New file. * cpu_features.h: New file. * crt1.c: Include "cpu_features.h". (__mingw_CRTStartup): Call cpu_features_init(). * Makefile.in (MING_OBJS): Add cpu_features.c. (SRCDIST_FILES): Add cpu_features.c, cpu_features.h. * include/fenv,h ( fenv_t;): Append __mxcsr field. (__MXCSR_EXCEPT_FLAG_SHIFT): New define. (__MXCSR_EXCEPT_MASK_SHIFT): New define. (__MXCSR_ROUND_FLAG_SHIFT): New define. * mingwex/feclearexcept.c: Include "cpu_features.h". Handle SSE environment. * mingwex/fegetenv.c: Likewise. * mingwex/feholdexcept.c: Likewise. * mingwex/fesetenv.c: Likewise. * mingwex/fesetexceptflag.c: Likewise. * mingwex/fesetround.c: Likewise. * mingwex/fetestexcept.c: Likewise. * mingwex/feupdateenv.c: Likewise. * mingwex/fegetround.c: Add comment.
* 2006-07-03 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-07-033-2/+7
| | | | | * configure.in: Fix thinko in previous check-in. * configure: Regenerate.
* 2006-07-03 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-07-033-114/+163
| | | | | | | | | | | | | | | | | Sync from gcc: 2007-07-03 Paolo Bonzini <bonzini@gnu.org> PR other/27063 * configure.in: Test subdir_requires and give an appropriate error message. * configure: Regenerate. 2006-06-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> PR target/27540 * configure.in: Only enable libgomp on IRIX 6. * configure: Regenerate.
* * include/cygwin/version.h: Bump DLL minor version number to 21.Christopher Faylor2006-07-022-3/+7
|
* * m32c/crt0.S (done_inilist): Fix dwarf2 address sizes.DJ Delorie2006-06-302-4/+6
|
* * net.cc (cygwin_sendto): Allow zero-sized packets.Corinna Vinschen2006-06-302-3/+7
| | | | (cygwin_sendmsg): Ditto.
* Revert patches from 2005-10-22 and 2006-06-14 to use event drivenCorinna Vinschen2006-06-264-67/+84
| | | | | | | | | | | | | | | | | accept and connect back to using select: * fhandler.h (class fhandler_socket): Remove accept_mtx. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Drop initializing accept_mtx. (fhandler_socket::accept): Drop event handling. (fhandler_socket.cc (fhandler_socket::connect): Ditto. (fhandler_socket::dup): Drop accept_mtx handling. (fhandler_socket::listen): Ditto. (fhandler_socket::prepare): Ditto. (fhandler_socket::release): Ditto. (fhandler_socket::close): Ditto. * net.cc (cygwin_accept): Revert to calling cygwin_select to implement interuptible accept. (cygwin_connect): Ditto for connect.
* 2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-263-93/+103
| | | | | * Include/_mingw.h: Increment version to 3.10. * Makefile.in: Ditto.
* * mingwex/math/tgamma.c (SQTPI): Add braces.Danny Smith2006-06-262-1/+5
|
* * mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko.Danny Smith2006-06-265-28/+55
| | | | | | | | * mingwex/math/lgamma.c: (LOGPI) Avoid type punning. (LS2PI): Likewise. * mingwex/math/sf_erf.c (erff): Initialize z. (erfcf): Likewise. * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
* Changelog formattingDanny Smith2006-06-251-1/+1
|
* 2006-06-23 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-232-0/+15
| | | | * arm/elf-linux.specs: New file.
* * fhandler_fifo.cc (fhandler_fifo::open): Release process lock and grab aChristopher Faylor2006-06-234-4/+56
| | | | | | system-wide mutex to prevent a deadlock and a race. * sync.h (lock_process): Make fhandler_fifo a friend. * smallprint.c (__small_vsprintf): Cosmetic change.
* * include/sys/time.h (struct timezone): Define.Danny Smith2006-06-223-1/+16
| | | | * include/time.h (_timezone): Correct comment.
* 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-06-2210-635/+1832
| | | | | | | | | | | | | | | | * libc/stdlib/Makefile.am: Add new gdtoa routines. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/gd_qnan.h: New file. * libc/stdlib/gdtoa-gethex.c: Ditto. * libc/stdlib/gdtoa-hexnan.c: Ditto. * libc/stdlib/gdtoa.h: Ditto. * libc/stdlib/mprec.c: Add new helper routines needed by the new gdtoa code. * libc/stdlib/mprec.h: Integrate some defines and prototypes used by gdtoa routines here. * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c which adds C99 support such as nan, inf, and hexadecimal input format.
* 2006-06-20 David Ayers <d.ayers@inode.at>David Ayers2006-06-203-134/+132
| | | | | | | | PR bootstrap/28072 * configure.in: Add target-boehm-gc to noconfigdirs depending on whether target-libjava is being configured instead of whether the java front end is enabled. * configure: Regenerate.
* * configure.in (AC_CONFIG_AUX_DIR): Remove.Danny Smith2006-06-183-46/+59
| | | | * configure: Regenerate.
* 2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>Chris Sutcliffe2006-06-182-1/+5
| | | | * configure: add srcdir as a possible location for install-sh.
* * mingwex/dirent.c (_tGetFileAttributes): New helper function.Danny Smith2006-06-182-1/+25
| | | | (_topendir): Use it.
* * include/sys/time.h: Add header guard. Add extern "C" bracketingDanny Smith2006-06-184-3/+83
| | | | | | | for __cplusplus. (gettimeofday): Add prototype. * mingwex/gettimeofday.c: New file. * mingwex/makefile.in: Add gettimeofday source and object.
* * cygwin.din: Export __srget_r, __swbuf_r.Corinna Vinschen2006-06-153-1/+9
| | | | * include/cygwin/version.h: Bump API minor number to 156.
* 2006-06-15 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2006-06-155-4/+32
| | | | | | | * libc/include/stdio.h (__sgetc_r): Fix typo. * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r. * libc/stdio/rget.c (__srbuf): Reinstantiate. * libc/stdio/wbuf.c (__swbuf): Ditto.
* * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}Mark Shinwell2006-06-152-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to R_ARM_LDC_SB_G{0,1,2} respectively. bfd/ * bfd-in2.h: Regenerate. * elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0, R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0, R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1, R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1, R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): New relocation types. (R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1 and friends. (elf32_arm_howto_table_3): Delete; contents merged into elf32_arm_howto_table_2. (elf32_arm_howto_from_type): Adjust correspondingly. (elf32_arm_reloc_map): Extend with the above relocations. (calculate_group_reloc_mask): New function. (identify_add_or_sub): New function. (elf32_arm_final_link_relocate): Support for the above relocations. * reloc.c: Add enumeration entries for BFD_RELOC_ARM_... codes to correspond to the above relocations. gas/ * config/tc-arm.c (enum parse_operand_result): New. (struct group_reloc_table_entry): New. (enum group_reloc_type): New. (group_reloc_table): New array. (find_group_reloc_table_entry): New function. (parse_shifter_operand_group_reloc): New function. (parse_address_main): New function, incorporating code from the old parse_address function. To be used via... (parse_address): wrapper for parse_address_main; and (parse_address_group_reloc): new function, likewise. (enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR, OP_ADDRGLDRS, OP_ADDRGLDC. (parse_operands): Support for these new operand codes. New macro po_misc_or_fail_no_backtrack. (encode_arm_cp_address): Preserve group relocations. (insns): Modify to use the above operand codes where group relocations are permitted. (md_apply_fix): Handle the group relocations ALU_PC_G0_NC through LDC_SB_G2. (tc_gen_reloc): Likewise. (arm_force_relocation): Leave group relocations for the linker. (arm_fix_adjustable): Likewise. gas/testsuite/ * gas/arm/group-reloc-alu.d: New test. * gas/arm/group-reloc-alu-encoding-bad.d: New test. * gas/arm/group-reloc-alu-encoding-bad.l: New test. * gas/arm/group-reloc-alu-encoding-bad.s: New test. * gas/arm/group-reloc-alu-parsing-bad.d: New test. * gas/arm/group-reloc-alu-parsing-bad.l: New test. * gas/arm/group-reloc-alu-parsing-bad.s: New test. * gas/arm/group-reloc-alu.s: New test. * gas/arm/group-reloc-ldc.d: New test. * gas/arm/group-reloc-ldc-encoding-bad.d: New test. * gas/arm/group-reloc-ldc-encoding-bad.l: New test. * gas/arm/group-reloc-ldc-encoding-bad.s: New test. * gas/arm/group-reloc-ldc-parsing-bad.d: New test. * gas/arm/group-reloc-ldc-parsing-bad.l: New test. * gas/arm/group-reloc-ldc-parsing-bad.s: New test. * gas/arm/group-reloc-ldc.s: New test. * gas/arm/group-reloc-ldr.d: New test. * gas/arm/group-reloc-ldr-encoding-bad.d: New test. * gas/arm/group-reloc-ldr-encoding-bad.l: New test. * gas/arm/group-reloc-ldr-encoding-bad.s: New test. * gas/arm/group-reloc-ldr-parsing-bad.d: New test. * gas/arm/group-reloc-ldr-parsing-bad.l: New test. * gas/arm/group-reloc-ldr-parsing-bad.s: New test. * gas/arm/group-reloc-ldr.s: New test. * gas/arm/group-reloc-ldrs.d: New test. * gas/arm/group-reloc-ldrs-encoding-bad.d: New test. * gas/arm/group-reloc-ldrs-encoding-bad.l: New test. * gas/arm/group-reloc-ldrs-encoding-bad.s: New test. * gas/arm/group-reloc-ldrs-parsing-bad.d: New test. * gas/arm/group-reloc-ldrs-parsing-bad.l: New test. * gas/arm/group-reloc-ldrs-parsing-bad.s: New test. * gas/arm/group-reloc-ldrs.s: New test. ld/testsuite/ * ld-arm/group-relocs-alu-bad.d: New test. * ld-arm/group-relocs-alu-bad.s: New test. * ld-arm/group-relocs.d: New test. * ld-arm/group-relocs-ldc-bad.d: New test. * ld-arm/group-relocs-ldc-bad.s: New test. * ld-arm/group-relocs-ldr-bad.d: New test. * ld-arm/group-relocs-ldr-bad.s: New test. * ld-arm/group-relocs-ldrs-bad.d: New test. * ld-arm/group-relocs-ldrs-bad.s: New test. * ld-arm/group-relocs.s: New test. * ld-arm/arm-elf.exp: Wire in new tests.
* remove conflict indicatorsPaolo Bonzini2006-06-151-1/+0
|
* 2006-06-15 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2006-06-153-2/+13
| | | | | | * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS too. * Makefile.in: Regenerate.
* 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-06-1427-92/+467
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/stdio.h: Add new reentrant I/O prototypes for read/write functions. Change getc/putc macros to have reentrant underlying macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r. * libc/stdio/fgetc.c: Fix and/or add reentrant version to call new reentrant I/O functions/macros for reading/writing. * libc/stdio/fgets.c: Ditto. * libc/stdio/fputc.c: Ditto. * libc/stdio/fputs.c: Ditto. * libc/stdio/fread.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio64/fseeko64.c: Ditto. * libc/stdio/fwrite.c: Ditto. * libc/stdio/getc.c: Ditto. * libc/stdio/getc_u.c: Ditto. * libc/stdio/getchar.c: Ditto. * libc/stdio/getchar_u.c: Ditto. * libc/stdio/putc.c: Ditto. * libc/stdio/putc_u.c: Ditto. * libc/stdio/putchar.c: Ditto. * libc/stdio/puts.c: Ditto. * libc/stdio/vfprintf.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r. Change all previous callers of __sfvwrite. Set errno to EBADF and set error flag on if attempt is made to write to file that does not allow writing. * libc/stdio/fvwrite.h: Fix new reentrant prototypes. * libc/stdio/local.h: Ditto. * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r. Set errno to EBADF and the error flag on if attempt is made to read unreadable file. Change all previous callers of __srefill. * libc/stdio/rget.c * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change all previous callers of __swbuf. * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since huge value macros are already defined correctly for i386 by <math.h>.
* * fhandler.h (class fhandler_socket): Add private mutex handleCorinna Vinschen2006-06-143-1/+49
| | | | | | | | | | | | accept_mtx. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize accept_mtx to NULL. (fhandler_socket::dup): Duplicate accept_mtx, if available. (fhandler_socket::listen): Create accept_mtx before trying to listen. (fhandler_socket::prepare): Wait for accept_mtx if available to serialize accepts on the same socket. (fhandler_socket::release): Release accept_mtx. (fhandler_socket::close): Close accept_mtx on successful closesocket.
* Sync from gcc:John David Anglin2006-06-133-2/+10
| | | | | | | 2006-06-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * configure.in: Don't enable libgomp on hpux10. * configure: Rebuilt.
* 2006-06-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-134-8/+29
| | | | | | | | | | | * lib/uuid.c (CLSID_FileProtocol, CLSID_FtpProtocol, CLSID_GopherProtocol, CLSID_HttpProtocol, CLSID_HttpSProtocol, CLSID_MkProtocol, CLSID_PSUrlMonProxy, CLSID_StdURLMoniker): Remove. Moved to extras-uuid.c. * lib/extras-uuid.c (CLSID_FileProtocol, CLSID_FtpProtocol, CLSID_GopherProtocol, CLSID_HttpProtocol, CLSID_HttpSProtocol, CLSID_MkProtocol, CLSID_PSUrlMonProxy, CLSID_StdURLMoniker): Added. * lib/hlguids-uuid.c: State source of CLSIDs.
* 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston2006-06-132-7/+44
| | | | | * arm/syscalls.c (_unlink, isatty, _system, _rename): Make them do something useful in the ARM_RDI_MONITOR case.
* 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston2006-06-132-4/+55
| | | | | * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename): Make them do something useful in the ARM_RDI_MONITOR case.
* 2006-06-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2006-06-134-16/+40
| | | | | | | | | | | | * lib/Makefile.in: Added extras-uuid as an object and source. * lib/uuid.c (IID_IClientSiteHandler, IID_IContinue, IID_IHttpNegotiate, IID_IPersistMoniker, IID_IServerHandler, IID_ITargetEmbedding, IID_ITargetFrame, IID_ITypeComp, IID_IUrlHistoryStg, IID_IWinInetHttpInfo, IID_IWinInetInfo, IID_IEnumSTATPROPSETSTG, IID_IEnumSTATPROPSTG, IID_IEnumSTATURL): Remove. Moved to extras-uuid.c. * lib/extras-uuid.c: New file. Thank you to Julien Lecomte (julienlecomte at users dot sourceforge dot net).
* 2006-06-13 David Ayers <d.ayers@inode.at>David Ayers2006-06-133-174/+186
| | | | | | | | | | | | Sync from gcc: 2006-06-12 David Ayers <d.ayers@inode.at> PR bootstrap/27963 PR target/19970 * configure.in: Remove target-boehm-gc from noconfigdirs where ${libgcj} is specified. * configure: Regenerate.
* Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw2006-06-132-2/+9
| | | | | | | Alexandre Oliva <aoliva@redhat.com> * (ZW_GNU_GETTEXT_SISTER_DIR): Add optional argument for where to search for NLS config file.
* * include/math.h (HUGE_VAL): Define as builtin if __GNUC__ >= 3.3,Danny Smith2006-06-122-3/+28
| | | | | | | | else global library variable. (HUGEVALF): Likewise; (HUGEVALL): Likewise. (INFINITY): Likewise. (NAN): LiKewise.