summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-07-04 Mark Mitchell <mark@codesourcery.com>Jeff Johnston2005-07-057-8/+51
| | | | | | | | | | | | | * Makefile.am (site.exp): Set tmpdir. * Makefile.in: Regenerated. * testsuite/lib/checkoutput.exp (newlib_check_output): Put executables in $tmpdir. * testsuite/lib/flags.exp (libgloss_link_flags): Use the original libgloss version if not running in the build directory. * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in $tmpdir. * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables in $tmpdir.
* * cygheap.h (struct init_cygheap): Delete cygwin_regname member.Corinna Vinschen2005-07-043-19/+13
| | | | | | | * external.cc (cygwin_internal): Use cygpsid::get_id for CW_GET_UID_FROM_SID and CW_GET_GID_FROM_SID. Turn CW_SET_CYGWIN_REGISTRY_NAME and CW_GET_CYGWIN_REGISTRY_NAME into noops.
* * src-release (do-proto-toplev): Remove dejagnu bits.Ben Elliston2005-07-032-45/+11
| | | | | | | | | (DEJAGNU_SUPPORT_DIRS): Remove. (dejagnu.tar.bz2, dejagnu.tar): Likewise. (GDBD_SUPPORT_DIRS): Likewise. (gdb+dejagnu.tar.bz2, gdb+dejagnu.tar): Likewise. (INSIGHTD_SUPPORT_DIRS): Likewise. (insight+dejagnu.tar.bz2, insight+dejagnu.tar): Likewise.
* merge from gccDJ Delorie2005-07-033-1/+21
|
* * thread.cc (pthread_mutex::init): Remove unneeded efault/mutex check.Christopher Faylor2005-07-031-0/+4
|
* add missing ChangeLog entriesChristopher Faylor2005-07-031-0/+3
|
* * thread.h (verifyable_object_state verifyable_object_isvalid): Delete functionChristopher Faylor2005-07-033-214/+215
| | | | | | | | declaration that should have been static. * thread.cc (verifyable_object_state verifyable_object_isvalid): Make inline static. (pthread*::is_good_object): Move to directly after verifyable_object_state verifyable_object_isvalid and make inline.
* Replace valid memory checks with new myfault class "exception handling", almostChristopher Faylor2005-07-0332-446/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | everywhere. Leave some thread.cc stuff alone for now. * cygtls.h: Kludge some definitions to avoid including a problematic windows header. (_cygtls::_myfault): New entry. (_cygtls::_myfault_errno): Ditto. (_cygtls::fault_guarded): New function. (_cygtls::setup_fault): Ditto. (_cygtls::return_from_fault): Ditto. (_cygtls::clear_fault): Ditto. (myfault): New class. * exceptions.cc (handle_exceptions): Handle case of guarded fault in system routine. * gendef: Add another entry point for setjmp that the compiler doesn't know about and won't complain about. * gentls_offsets: Just include windows.h rather than kludging a HANDLE def. * miscfuncs.cc (check_null_str): Delete. (check_null_empty_str): Ditto. (check_null_empty_str_errno): Ditto. (check_null_str_errno): Ditto. (__check_null_invalid_struct): Ditto. (__check_null_invalid_struct_errno): Ditto. (__check_invalid_read_ptr): Ditto. (__check_invalid_read_ptr_errno): Ditto. (dummytest): New function. (check_iovec_for_read): Delete. (chec_iovec): Rename from check_iovec_for_write. Take a read/write parameter. * tlsoffsets.h: Regenerate. * winsup.h: Remove check_* declarations. (check_iovec_for_read): Delete declaration. Turn into a define instead. (check_iovec_for_write): Ditto. (check_iovec): New declaration. * thread.h: Use ifdef guard name consistent with other header files.
* should have been checked in on 2005-06-29Christopher Faylor2005-07-031-1/+1
|
* * include/cygwin/version.h: Bump DLL minor number to 19.Christopher Faylor2005-07-032-1/+5
|
* Update function declarations to ISO C90 formattingNick Clifton2005-07-012-85/+85
|
* merge from gccDJ Delorie2005-06-302-0/+14
|
* * fhandler.cc (fhandler_base::readv): Use malloc/free instead of alloca.Corinna Vinschen2005-06-302-4/+11
| | | | (fhandler_base::writev): Ditto.
* * cygerrno.h: Make multi-inclusion safe.Christopher Faylor2005-06-309-19/+86
| | | | | | | | | | | | * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Deal with EINTR. * dcrt0.cc (dll_crt0_0): Accommodate init_console_handler argument change. * winsup.h: Ditto. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. * exceptions.cc (init_console_handler): Ditto. Ignore console events if we're not attached to a terminal. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. * wincap.cc: Implement has_null_console_handler_routine throughout. * wincap.h: Ditto.
* revert erroneous checkinChristopher Faylor2005-06-301-4/+4
|
* * autoload.cc (LoadDLLprime): Use a more descriptive name for autoload textChristopher Faylor2005-06-293-5/+11
| | | | | sections. * cygwin.sc: Ditto.
* * setup.com (mpw): Remove unused directive.Ben Elliston2005-06-292-1/+4
|
* Remove dejagnu/ entry.Ben Elliston2005-06-291-4/+0
|
* 2005-06-28 Dave Korn <dave.korn@artimi.com>Jeff Johnston2005-06-283-2/+24
| | | | | | * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison and miscalculation caused by fp representation of zero. * libm/common/sf_lrint.c (lrintf): Likewise.
* * fhandler_disk_file.cc (fhandler_disk_file::facl): Add missing break.Corinna Vinschen2005-06-272-0/+5
|
* * path.cc (path_conv::check): Don't strip trailing dots and spacesCorinna Vinschen2005-06-242-1/+6
| | | | at the start of the path.
* * fhandler.cc (rootdir): Don't set errno.Corinna Vinschen2005-06-243-7/+11
| | | | * syscalls.cc (statvfs): Set errno to ENOTDIR if rootdir() failed.
* 2005-06-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2005-06-234-70/+55
| | | | | | | | | * Makefile.def (stagefeedback): Come after profile. Define profiledbootstrap target. * Makefile.tpl (profiledbootstrap): Remove. (stageprofile-end): Zap stagefeedback. (stagefeedback-start): Copy all .gcda files, not only GCC's. * Makefile.in: Regenerate.
* * fhandler.h (class fhandler_dev_tape): Add declaration forCorinna Vinschen2005-06-223-1/+52
| | | | | | | | | | fixup_after_fork and set_close_on_exec. * fhandler_tape.cc (fhandler_dev_tape::open): Create mt_mtx mutex inheritable. (fhandler_dev_tape::close): Close mt_mtx. (fhandler_dev_tape::dup): Duplicate mt_mtx and mt_evt as necessary. (fhandler_dev_tape::fixup_after_fork): New method. (fhandler_dev_tape::set_close_on_exec): New method.
* * security.cc (get_initgroups_sidlist): Drop special_pgrp parameter.Corinna Vinschen2005-06-212-9/+14
| | | | | | (get_setgroups_sidlist): Avoid duplicate groups in group list. (create_token): Remove special_pgrp local variable. Accomodate change to get_initgroups_sidlist call.
* * uinfo.cc (uinfo_init): Call reimpersonate to set the main thread'sCorinna Vinschen2005-06-212-0/+6
| | | | impersonation token.
* * how-using.texinfo: Add FAQ about firewall software. UpdateJoshua Daniel Franklin2005-06-213-40/+51
| | | | section on mounting and specifically note using managed mounts.
* Index: include/ChangeLogGeoffrey Keating2005-06-212-0/+9
| | | | | | | | | | | | | | | | | | | 2005-06-20 Geoffrey Keating <geoffk@apple.com> * libiberty.h (strverscmp): Prototype. Index: libiberty/ChangeLog 2005-06-20 Geoffrey Keating <geoffk@apple.com> * strverscmp.c: New. * Makefile.in (CFILES): Add strverscmp.c. (CONFIGURED_OFILES): Add strverscmp.o. (strverscmp.o): New rule. (stamp-functions): Add $(srcdir) to files in source directory. * configure.ac (funcs): Add strverscmp. (AC_CHECK_FUNCS): Add strverscmp. * configure: Regenerate. * functions.texi: Regenerate.
* gas/H.J. Lu2005-06-202-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-20 H.J. Lu <hongjiu.lu@intel.com> PR 1013 * config/tc-i386.c (md_assemble): Don't call optimize_disp on movabs. (optimize_disp): Optimize only if possible. Don't use 64bit displacement on non-constants and do same on constants if possible. gas/testsuite/ 2005-06-20 H.J. Lu <hongjiu.lu@intel.com> PR 1013 * i386/x86_64.s: Add absolute 64bit addressing tests for mov. * i386/x86_64.s: Updated. include/opcode/ 2005-06-20 H.J. Lu <hongjiu.lu@intel.com> PR 1013 * i386.h (i386_optab): Update comments for 64bit addressing on mov. Allow 64bit addressing for mov and movq.
* * fhandler_proc.cc (format_proc_partitions): Only list recognizedCorinna Vinschen2005-06-202-2/+8
| | | | partitions. Use partition number given by PartitionNumber member.
* fix indentationChristopher Faylor2005-06-201-98/+98
|
* * include/winldap.h (ldap_simple_bindW, ldap_simple_bind_sW,Danny Smith2005-06-192-4/+10
| | | | | ldap_bindW, ldap_bind_sW): Change PCHAR arg to PWCHAR. Thanks to: Christian <chhd at users dot sf dot net>
* * glob.c: (glob0): New local variable `limit`. Use in calls to glob1Corinna Vinschen2005-06-184-17/+48
| | | | | | | | | | and globextend. (glob1): Add `limit' parameter. (glob2): Ditto. (glob3): Ditto. (globextend): Ditto. Implement GLOB_LIMIT handling. * include/glob.h (GLOB_LIMIT): New define. * include/cygwin/version.h: Bump API minor number.
* Correct typo in ChangeLogDanny Smith2005-06-181-2/+2
|
* * include/winbase.h (GETTEXTEX): Correct name of lpUsedDefChar field.Danny Smith2005-06-182-1/+7
| | | | Thanks to: Saulius Menkevicius <bobas at users dot sf dot net>
* * include/winbase.h (GolbalDiscard): Define as macro.Danny Smith2005-06-182-1/+6
| | | | Thanks to: David Golub <david_golub at users dot sf dot net>
* * wincap.h (wincaps::detect_win16_exe): Declare.Christopher Faylor2005-06-184-16/+38
| | | | | | | (wincapc::detect_win16_exe): Implement. * wincap.cc: Populate detect_win16_exe where appropriate. * spawn.cc (spawn_guts): Only go out of the way to detect 16-bit apps on systems which are flummoxed by them.
* * spawn.cc (spawn_guts): Detect when executing a 16-bit application and avoidChristopher Faylor2005-06-182-4/+15
| | | | setting the process pipe since this causes conniptions in Windows 9x.
* * cygwin.din (inet_pton): Export.Corinna Vinschen2005-06-175-1/+62
| | | | | | | | | (inet_ntop): Export. * net.cc (cygwin_inet_pton): Implement inet_pton for AF_INET for now. (cygwin_inet_ntop): Implement inet_ntop for AF_INET for now. * include/arpa/inet.h (inet_pton): Declare. (inet_ntop): Declare. * include/cygwin/version.h: Bump API minor number.
* * elf/external.h (GRP_ENTRY_SIZE): Define.Jakub Jelinek2005-06-172-1/+8
| | | | | | | | | * readelf.c (CHECK_ENTSIZE_VALUES, CHECK_ENTSIZE): Define. (process_section_headers): Use it. (process_relocs): Don't crash if symsec is not SHT_SYMTAB or SHT_DYNSYM. (process_version_sections): Use sizeof (Elf_External_Versym) instead of sh_entsize.
* * fhandler.h (fhandler_union): Add missing members corresponding toCorinna Vinschen2005-06-172-1/+8
| | | | fhandler_fifo and fhandler_netdrive.
* bfd/Jan Beulich2005-06-172-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Jan Beulich <jbeulich@novell.com> * bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64 and BFD_RELOC_X86_64_GOTPC32. * libbfd.h (bfd_reloc_code_real_names): Likewise. * elf64-x86-64.c (x86_64_elf_howto_table): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (elf64_x86_64_info_to_howto): Adjust bounding relocation type. (elf64_x86_64_check_relocs): Also handle R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32. (elf64_x86_64_relocate_section): Likewise. (elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64. gas/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL. (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32, BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also convert 8-byte pc-relative relocations. (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff. (i386_validate_fix): Likewise. (x86_cons): Also handle quad values in 64-bit mode. (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64. (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64 to pc-relative variant. Also check for BFD_RELOC_64_PCREL. gas/testsuite/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-pcrel.s: Add insn requiring 64-bit pc-relative relocation. Add insns for all widths of non-pc-relative relocations. * gas/i386/x86-64-pcrel.d: Adjust. include/elf/ 2005-06-17 Jan Beulich <jbeulich@novell.com> * x86-64.h (elf_x86_64_reloc_type): Adjust comment for R_X86_64_GOTPCREL. Add R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
* 2005-06-16 Christopher Faylor <cgf@timesys.com>Jeff Johnston2005-06-163-14/+37
| | | | | | | | | * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to determine characteristics of long double. Use a union instead. * ldtoa.c (_ldtoa_r): Ditto. (_ldcheck): Ditto. (_strtold): Ditto. (union uconv): New union.
* * syscalls.cc (statvfs): Handle the case when GetDiskFreeSpaceExCorinna Vinschen2005-06-162-4/+21
| | | | | succeeds but GetDiskFreeSpace fails by faking bytes-per-sector and sectors-per-cluster values.
* * profile/profile.h (_MCOUNT_CALL): Define as regparm(2)Danny Smith2005-06-163-8/+32
| | | | | | (_MCOUNT_DECL): Use it. (MCOUNT): Save and restore eax, ecx, edx registers. * profile/mcount.c (_mcount): ANSI-fy.
* * include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use toDanny Smith2005-06-163-20/+57
| | | | | | | | guard __MINGW_ATTRIB macro definitions. * include/math.h (logb[fl]): Don't define inlines for GCC-4.0+ && __FAST_MATH__. (rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up line-continuation backslashes.
* add missing entryChristopher Faylor2005-06-151-0/+1
|
* * cygthread.cc (cygthread::detach): Fix debugging output.Christopher Faylor2005-06-156-6/+12
| | | | | | | * dcrt0.cc (dll_crt0_1): Create signal_arrived early -- before any filename manipulation. * sigproc.cc (sigproc_init): Don't create signal_arrived here. * fork.cc (fork_child): Ditto.
* * path.cc (path_conv::check): Always reset to FH_FS when component != 0 andChristopher Faylor2005-06-142-14/+16
| | | | FH_NETDRIVE to fix problems with strict case checking.
* PR libgcj/19877:Tom Tromey2005-06-142-1/+7
| | | | | * no-executables.m4: Call real AC_FUNC_MMAP when cache variable is set but not 'no'.