summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) withDanny Smith2005-08-102-9/+14
| | | | | a diagnostic, guarded by #ifdef DEBUG. (__mingwthr_remove_key_dtor): Likewise.
* * hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):John David Anglin2005-08-102-0/+11
| | | | New defines.
* * cygserver.cc (main): Call wincap.init() earlier to avoid a NULL dereference.Christopher Faylor2005-08-082-1/+7
|
* * include/sys/cdefs.h: Remove extra line.Christopher Faylor2005-08-082-1/+4
|
* * security.cc (get_reg_security): New static function.Corinna Vinschen2005-08-082-0/+46
| | | | | (get_nt_object_security): Call get_reg_security for registry keys to circumvent problems with predefined registry keys.
* * fhandler_process.cc (fhandler_process::open): Allow opening ofCorinna Vinschen2005-08-083-7/+19
| | | | | | /proc/<pid>/fd for reading. * fhandler_registry.cc (fhandler_registry::open): Ditto for registry keys.
* * include/sys/cdefs.h (__CONCAT): Define.Christopher Faylor2005-08-087-0/+751
| | | | | | | | * include/elf.h: New file. * include/sys/elf32.h: Ditto. * include/sys/elf64.h: Ditto. * include/sys/elf_common.h: Ditto. * include/sys/elf_generic.h: Ditto.
* * cygwin.sc: Use simpler method to align .cygheap.Christopher Faylor2005-08-084-9/+20
| | | | | | | * dllfixdbg: Just copy .stab and .stabstr sections when making cygwin1.dbg, rather than relying on objcopy to keep only the debug sections since objcopy seems to get it wrong. * dtable.cc (build_fh_pc): Check setting fh to fhandler_nodevice for NULL, too.
* * ftw.c: Include winsup.h.Corinna Vinschen2005-08-084-0/+20
| | | | | * nftw.c: Ditto. * include/ftw.h: Guard declarations appropriately.
* * moldname.def.in (sleep, beep, seterrormode): Remove.Danny Smith2005-08-082-3/+4
|
* * Makefile.in (DLL_OFILES): Add fts.o, ftw.o, nftw.o.Corinna Vinschen2005-08-089-10/+1721
| | | | | | | | | | | | * cygwin.din: Export fts_children, fts_close, fts_get_clientptr, fts_get_stream, fts_open, fts_read, fts_set, fts_set_clientptr, ftw, nftw. * fts.c: New file, imported from FreeBSD. * ftw.c: Ditto. * nftw.c: Ditto. * include/fts.h: Ditto. * include/ftw.h: Ditto. * include/cygwin/version.h: Bump API minor number.
* 2005-08-08 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2005-08-085-514/+857
| | | | | | | | | | | | | | | | | | | | | * configure.in (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET, GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Find them with NCN_STRICT_CHECK_TARGET_TOOL, like the other target tools; remove code to manually set them. (Target tools): Look in the environment for them. * Makefile.tpl (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET, GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Redefine. (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): Look into gcc build directory. (CONFIGURED_CC_FOR_TARGET, CONFIGURED_CXX_FOR_TARGET, CONFIGURED_GCJ_FOR_TARGET, CONFIGURED_GCC_FOR_TARGET, CONFIGURED_GFORTRAN_FOR_TARGET, USUAL_CC_FOR_TARGET, USUAL_CXX_FOR_TARGET, USUAL_GCJ_FOR_TARGET, USUAL_GCC_FOR_TARGET, USUAL_RAW_CXX_FOR_TARGET, USUAL_GFORTRAN_FOR_TARGET): New. (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): Delete. * configure: Regenerate. * Makefile.in: Regenerate.
* * Makefile.in (dtable_CFLAGS): Use -fomit-frame-pointer and -fcheck-new.Christopher Faylor2005-08-086-19/+54
| | | | | | | | | | | | | * cygheap.cc (cmalloc): Only emit system_printf warnings on failure if DEBUGGING. (crealloc): Ditto. (ccalloc): Ditto. * dtable.cc (build_fh_name): Treat NULL return from cnew as indicative of EMFILE condition. (build_fh_dev): Ditto. (dtable::dup_worker): Handle NULL return from build_fh_pc. (dtable::vfork_child_dup): Trust dup_worker to set errno. * fhandler.h (fhandler_base::new): Mark as nothrow.
* * dllfixdbg: New perl script.Christopher Faylor2005-08-086-104/+402
| | | | | | | | | * configure.in: Detect objcopy, objdump, strip. * configure: Regenerate. * Makefile.in: Pass target objcopy/objdump to new dllfixdbg script. Remove previous perl check. * cygwin.sc: Add .gnu_debuglink_overlay section for eventual replacement with .gnu_debuglink section. Revert move of cygheap to end of image.
* * Makefile.in: Allow previous patch to work in a 64 bit environment.Corinna Vinschen2005-08-072-1/+5
|
* revert erroneous checkinChristopher Faylor2005-08-071-3/+0
|
* * Makefile.in: Warn when end of cygheap is not on 64k boundary.Christopher Faylor2005-08-074-24/+40
| | | | | * cygwin.sc: Try harder to ensure that cygheap is on a 64k boundary. Move cygheap to end of image to stop interference from unstripped debug regions.
* * include/endian.h: Move everything into this file and define things more likeChristopher Faylor2005-08-065-6/+61
| | | | | | | | linux. * include/cygwin/types.h: Include endian.h. * include/sys/dirent.h: Define DT_* types and conversion macros. * pinfo.cc (pinfo::init): Remove special handling for PID_ALLPIDS and execed code, even though it probably still isn't quite right.
* Update to switch FAQ from texinfo to DocBook.Joshua Daniel Franklin2005-08-0612-25/+3987
|
* * thread.cc (pthread::create(3 args)): Make bool.Corinna Vinschen2005-08-053-7/+19
| | | | | | | (pthread_null::create): Ditto. (pthread::create(4 args)): Check return of inner create rather than calling is_good_object(). * thread.h: Ditto.
* * fhandler_tty.cc (fhandler_tty_slave::tcflush): Return either 0 or -1.Corinna Vinschen2005-08-052-1/+5
|
* * thread.cc (pthread_cond_timedwait): Check abstime for validityCorinna Vinschen2005-08-052-4/+22
| | | | | according to SUSv3. Rewrite timeout check and waitlength calculation to avoid overflow problems.
* * hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.John David Anglin2005-08-042-16/+65
| | | | | | | | | | | | | (PF_HP_CODE_DEPR, PF_HP_MODIFY_DEPR, PF_HP_LAZYSWAP_DEPR): New deprecated defines. (DT_HP_EPLTREL, DT_HP_EPLTRELSZ, DT_HP_FILTERED, DT_HP_FILTER_TLS, DT_HP_COMPAT_FILTERED, DT_HP_LAZYLOAD, DT_HP_BIND_NOW_COUNT, DT_PLT, DT_PLT_SIZE, DT_DLT, DT_DLT_SIZE, DT_HP_BIND_DEPTH_FIRST, DT_HP_GST, DT_HP_SHLIB_FIXED, DT_HP_MERGE_SHLIB_SEG, DT_HP_NODELETE, DT_HP_GROUP, DT_HP_PROTECT_LINKAGE_TABLE, PT_HP_OPT_ANNOT, PT_HP_HSL_ANNOT, PT_HP_STACK, PT_HP_CORE_UTSNAME, NT_HP_COMPILER, NT_HP_COPYRIGHT, NT_HP_VERSION, NT_HP_SRCFILE_INFO, NT_HP_LINKER, NT_HP_INSTRUMENTED, NT_HP_UX_OPTIONS): Define.
* * hppa.h: Update copyright dates.John David Anglin2005-08-031-1/+1
|
* * mount.cc (longopts): Fix typo which disallows --options option.Corinna Vinschen2005-08-032-2/+6
|
* 2005-08-02 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-08-022-1/+6
| | | | | * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias to the value for 2^126.
* Fixed comment spacing.Jeff Johnston2005-08-021-1/+1
|
* 2005-08-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-022-0/+14
| | | | * libgloss/arm/libcfunc.c (isatty): New function.
* 2005-08-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-022-25/+21
| | | | | | | * libgloss/arm/syscalls.c (_exit): Call _kill with the second argument set to -1, which is an invalid signal number. (_kill): Comment and coding style changes only. (_raise): Remove function.
* * include/sys/termios.h: Define TIOCMBIS and TIOCMBIC.Corinna Vinschen2005-08-025-39/+76
| | | | | | | | | * fhandler.h (class fhandler_serial): Declare switch_modem_lines. * fhandler_serial.cc (fhandler_serial::switch_modem_lines): New static function to set or clear DTR and/or RTS. (fhandler_serial::ioctl): Use switch_modem_lines for TIOCMSET and new TIOCMBIS and TIOCMBIC. * include/cygwin/version.h: Bump API minor number.
* * fhandler_disk_file.cc (fhandler_base::pread): Don't move file offset pointerChristopher Faylor2005-07-292-6/+25
| | | | | after I/O. (fhandler_base::pwrite): Ditto.
* white spaceChristopher Faylor2005-07-291-4/+4
|
* * fhandler.h (fhandler_base::pread): Declare new function.Christopher Faylor2005-07-298-25/+128
| | | | | | | | | | | | | | | (fhandler_base::pwrite): Ditto. (fhandler_disk_file::pread): Ditto. (fhandler_disk_file::pwrite): Ditto. * fhandler.cc (fhandler_base::pread): Define new function. (fhandler_base::pwrite): Ditto. * fhandler_disk_file.cc (fhandler_base::pread): Ditto. (fhandler_base::pwrite): Ditto. * syscalls.cc (pread): Define new function. (pwrite): Ditto. * cygwin.din: Export pread, pwrite. * include/sys/ioctl.h: Guard some _IO* declarations to avoid conflict with socket.h.
* * include/sys/ioctl.h: Add some linux defines.Christopher Faylor2005-07-292-4/+40
|
* * pinfo.cc (pinfo::init): Put back accidentally removed debug_printf.Christopher Faylor2005-07-292-0/+5
|
* * cygthread.cc (cygthread::simplestub): Wait for h to be filled out by mainChristopher Faylor2005-07-292-1/+9
| | | | thread before assigning it.
* * pinfo.cc (pinfo::init): Sleep before retrying open_shared().Christopher Faylor2005-07-292-2/+5
|
* * fork.cc (fork_parent): Fix null deref if pinfo creation fails.Christopher Faylor2005-07-292-2/+7
|
* PR gas/336John David Anglin2005-07-282-0/+9
| | | | | * hppa.h (pa_opcodes): Allow 0 immediates in PA 2.0 variants of pdtlb and pitlb.
* * cygmalloc.h (MSPACES): Define. This dropped through the cracks after theChristopher Faylor2005-07-284-10/+18
| | | | | | last malloc update. * dcrt0.cc: Fix a comment. * malloc.cc (internal_malloc): Fix definition so that it can be safely coerced.
* 2005-07-28 Earnie Boyd <earnie@users.sf.net>Earnie Boyd2005-07-282-2/+8
| | | | | | * include/winnt.h (SUBLANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN): Correct their values. Thanks to: Daniel K. O. <danielosmari at users dont sf dot net>
* * Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.Mark Mitchell2005-07-274-0/+10
| | | | | * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET. * Makefile.in: Regenerated.
* * mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.Mark Mitchell2005-07-271-0/+4
|
* Remove bogus ChangeLog entryMark Mitchell2005-07-271-4/+0
|
* * config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.Mark Mitchell2005-07-276-80/+139
| | | | | | | | | * Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable. (CFLAGS_FOR_TARGET): Use it. (CXXFLAGS_FOR_TARGET): Likewise. * Makefile.in: Regenerated. * configure.in (--with-build-sysroot): New option. * configure: Regenerated.
* * include/cygwin/in.h (INET_ADDRSTRLEN): Add new definition.Christopher Faylor2005-07-272-0/+6
|
* * gendef: Use nocr to remove \r's from input. gendef (nocr): New function.Christopher Faylor2005-07-272-3/+13
|
* * fhandler_clipboard.cc (fhandler_dev_clipboard::close): Set membuffer to NULL.Christopher Faylor2005-07-272-2/+14
| | | | | (fhandler_dev_clipboard::fixup_after_exec): Don't call close here. Just set variables directly.
* include/opcode/Jan Beulich2005-07-272-6/+20
| | | | | | | | 2005-07-27 Jan Beulich <jbeulich@novell.com> * i386.h (i386_optab): Add comment to movd. Use LongMem for all movd-s. Add NoRex64 to movq-s dealing only with mmx or xmm registers. Add movq-s as 64-bit variants of movd-s.
* * libc/machine/cris/libcdtor.c (defaultors): Mark artificially asHans-Peter Nilsson2005-07-262-3/+11
| | | | used.