summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Kaveh Ghazi's printf format attribute checking patch.Jim Wilson2005-07-072-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd: * elf32-xtensa.c (vsprint_msg): Add format attribute. Fix format bugs. * vms.h (_bfd_vms_debug): Add format attribute. (_bfd_vms_debug, _bfd_hexdump): Fix typos. binutils: * bucomm.h (report): Add format attribute. * dlltool.c (inform): Likewise. * dllwrap.c (display, inform, warn): Likewise. * objdump.c (objdump_sprintf): Likewise. * readelf.c (error, warn): Likewise. Fix format bugs. gas: * config/tc-tic30.c (debug): Add format attribute. Fix format bugs. include: * dis-asm.h (fprintf_ftype): Add format attribute. opcodes: * arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c, d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c, ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c, m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c, ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c, v850-dis.c: Fix format bugs. * ia64-gen.c (fail, warn): Add format attribute. * or32-opc.c (debug): Likewise.
* Fix date of last entry.Jeff Johnston2005-07-071-1/+1
|
* *** empty log message ***Jeff Johnston2005-07-072-5/+9
|
* * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.Andreas Schwab2005-07-074-2/+8
| | | | | * Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here. * Makefile.in: Regenerated.
* * configure.in: Add --enable-libssp and --disable-libssp.Kazu Hirata2005-07-073-75/+121
| | | | * configure: Regenerate with autoconf-2.13.
* * configure.in: Don't build sim or rda when targetting darwin.Geoffrey Keating2005-07-073-88/+78
| | | | * configure: Regenerate.
* Eliminate (void) cast on standalone function calls throughout.Christopher Faylor2005-07-0641-106/+110
|
* * configure.host: Added entry for ms1*.Aldy Hernandez2005-07-0610-0/+2719
| | | | | | | | | | | * libc/include/machine/ieeefp.h: Handle ms1. * libc/include/machine/setjmp.h (_JBLEN): Define for ms1. * libc/machine/ms1/aclocal.m4: New. * libc/machine/ms1/configure: New. * libc/machine/ms1/configure.in: New. * libc/machine/ms1/Makefile.am: New. * libc/machine/ms1/Makefile.in: New. * libc/machine/ms1/setjmp.S: New.
* Fix date in ChangeLog entryAldy Hernandez2005-07-061-1/+1
|
* * configure.in: Add ms1 case.Aldy Hernandez2005-07-0640-0/+4861
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerate. * ms1/16-002.ld: New. * ms1/16-003.ld: New. * ms1/64-001.ld: New. * ms1/access.c: New. * ms1/chmod.c: New. * ms1/close.c: New. * ms1/configure: New. * ms1/configure.in: New. * ms1/crt0-16-002.S: New. * ms1/crt0-16-003.S: New. * ms1/crt0-64-001.S: New. * ms1/crt0.S: New. * ms1/exit-16-002.c: New. * ms1/exit-16-003.c: New. * ms1/exit-64-001.c: New. * ms1/exit.c: New. * ms1/fstat.c: New. * ms1/getpid.c: New. * ms1/gettime.c: New. * ms1/isatty.c: New. * ms1/kill.c: New. * ms1/lseek.c: New. * ms1/Makefile.in: New. * ms1/open.c: New. * ms1/read.c: New. * ms1/sbrk.c: New. * ms1/startup-16-002.S: New. * ms1/startup-16-003.S: New. * ms1/startup-64-001.S: New. * ms1/stat.c: New. * ms1/time.c: New. * ms1/times.c: New. * ms1/trap.h: New. * ms1/trap.S: New. * ms1/unlink.c: New. * ms1/utime.c: New. * ms1/write.c: New.
* * cygcheck.cc (track_down, cygcheck): Return true on success.Christopher Faylor2005-07-052-16/+25
| | | | (main): Reflect cygcheck failures in exit status.
* * dcrt0.cc (cygwin_exit): Mark as "noreturn".Christopher Faylor2005-07-053-2/+10
| | | | | * sigproc.cc (child_info::ready): Don't signal parent that we are a cygwin process if we are dynamically loaded.
* * malloc.cc: Update to version 2.8.2.Christopher Faylor2005-07-052-5/+18
|
* * fhandler_tape.cc (fhandler_dev_tape::close): Don't do "extra stuff"Corinna Vinschen2005-07-052-10/+21
| | | | when we know we're execing.
* gas/Jan Beulich2005-07-052-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-05 Jan Beulich <jbeulich@novell.com> * config/tc-i386.h (CpuSVME): New. (CpuUnknownFlags): Include CpuSVME. * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron as alias of sledgehammer. (md_assemble): Include invlpga in the check for insns with two source operands. (process_operands): Include SVME insns in the check for ignored segment overrides. Adjust diagnostic. (i386_index_check): Special-case SVME insns with memory operands. gas/testsuite/ 2005-07-05 Jan Beulich <jbeulich@novell.com> * gas/i386/svme.d: New. * gas/i386/svme.s: New. * gas/i386/svme64.d: New. * gas/i386/i386.exp: Run new tests. include/opcode/ 2005-07-05 Jan Beulich <jbeulich@novell.com> * i386.h (i386_optab): Add new insns. opcodes/ 2005-07-05 Jan Beulich <jbeulich@novell.com> * i386-dis.c (SVME_Fixup): New. (grps): Use it for the lidt entry. (PNI_Fixup): Call OP_M rather than OP_E. (INVLPG_Fixup): Likewise.
* Change foo (void) to foo () for all c++ functions throughout. Remove allChristopher Faylor2005-07-0535-212/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fhandler_*::dump functions throughout. * fhandler.h (fhandler_dev_mem::close): Remove pass-through function in favor of virtual method. (handler_dev_raw::close): Ditto. (fhandler_dev_clipboard::fixup_after_exec): New method. * fhandler_dev_mem.cc (fhandler_dev_mem::close): Eliminate pass through * fhandler_dev_raw.cc (fhandler_dev_raw::close): Ditto. * fhandler_clipboard.cc (fhandler_dev_clipboard::close): Don't go to extra effort when execing. (fhandler_dev_clipboard::fixup_after_exec): New function. * fhandler_console.cc (fhandler_console::close): Don't do "extra stuff" when we know we're execing. * fhandler_disk_file.cc (fhandler_disk_file::close): Ditto. * fhandler_dsp.cc (fhandler_dev_dsp::close): Ditto. * fhandler_fifo.cc (fhandler_fifo.cc::close): Ditto. function in favor of base function. * fhandler_random.cc (fhandler_dev_random::close): Ditto. * fhandler_registry.cc (fhandler_registry::close): Ditto. * fhandler_tty.cc (fhandler_tty_slave::close): Ditto. * fhandler_virtual.cc (fhandler_virtual::close): Ditto. * pinfo.cc (proc_waiter): Remove unneeded hExeced declaration. * sigproc.cc: Ditto. * winsup.h (hExeced): Define here. * fhandler_virtual.cc (fhandler_virtual::fixup_after_exec): Just call close() to reinitialize things to known state.
* * cygtls.h (_cygtls): Perform minor reformatting.Christopher Faylor2005-07-058-48/+65
| | | | | | | | | | | | | | * winsup.h (close_all_files): Reflect argument change. * dtable.cc (close_all_files): Ditto. * dtable.h: Ditto. * fhandler.h: Ditto. * spawn.cc (spawn_guts): Move close_all_files back to its original location in first P_OVERLAY test but use argument denoting that handles are only supposed to be closed, not released (more work to be done here). * syscalls.cc (close_all_files): Take an argument denoting whether to release closed files or not. * path.cc (symlink): Change argument names to reflect linux man page. (symlink_worker): Ditto. Also appropriately set ENOENT for empty strings.
* ARGH. Check in previous uncommitted-but-ChangeLog'ed entry.Christopher Faylor2005-07-051-3/+4
|
* 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>