aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-08-102005-08-10 DJ Delorie <dj@redhat.com>Jeff Johnston11-3/+2782
* configure.host: Add m32c support. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/include/sys/config.h: Likewise. * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support. * libc/machine/m32c/aclocal.m4: New file. * libc/machine/m32c/configure: Ditto. * libc/machine/m32c/configure.in: Ditto. * libc/machine/m32c/Makefile.am: Ditto. * libc/machine/m32c/Makefile.in: Ditto. * libc/machine/m32c/setjmp.S: Ditto.
2005-08-10Add * qualifier for file list.Jeff Johnston1-1/+1
2005-08-102005-08-10 DJ Delorie <dj@redhat.com>Jeff Johnston35-7/+2843
* configure.in: Add m32c support. * configure: Regenerated * m32c: New directory, Renesas R8C/M16C/M32C support. * m32c/abort.S m32c/argvlen.S m32c/argv.S m32c/chdir.S, m32c/chmod.S m32c/close.S m32c/configure m32c/configure.in, m32c/crt0.S, m32c/crtn.S, m32c/exit.S, m32c/fstat.S, m32c/genscript, m32c/getpid.S, m32c/gettimeofday.S, m32c/heaptop.S, m32c/isatty.S, m32c/kill.S, m32c/link.S, m32c/lseek.S, m32c/m32csys.h, m32c/m32c.tmpl, m32c/Makefile.in, m32c/open.S, m32c/read.S, m32c/sbrk.c, m32c/stat.S, m32c/time.S, m32c/times.S, m32c/unlink.S, m32c/utime.S, m32c/write.S: New files
2005-08-10 * include/wctype.h (towupper, towlower): Change arg and return valueDanny Smith3-4/+16
types to wint_t. * include/ctype.h (towupper, towlower): Likewise.
2005-08-10 * mthr_stub.c (__mingwthr_key_dtor): Replace assert(0) withDanny Smith2-9/+14
a diagnostic, guarded by #ifdef DEBUG. (__mingwthr_remove_key_dtor): Likewise.
2005-08-10 * hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):John David Anglin2-0/+11
New defines.
2005-08-08* cygserver.cc (main): Call wincap.init() earlier to avoid a NULL dereference.Christopher Faylor2-1/+7
2005-08-08* include/sys/cdefs.h: Remove extra line.Christopher Faylor2-1/+4
2005-08-08 * security.cc (get_reg_security): New static function.Corinna Vinschen2-0/+46
(get_nt_object_security): Call get_reg_security for registry keys to circumvent problems with predefined registry keys.
2005-08-08 * fhandler_process.cc (fhandler_process::open): Allow opening ofCorinna Vinschen3-7/+19
/proc/<pid>/fd for reading. * fhandler_registry.cc (fhandler_registry::open): Ditto for registry keys.
2005-08-08* include/sys/cdefs.h (__CONCAT): Define.Christopher Faylor7-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.
2005-08-08* cygwin.sc: Use simpler method to align .cygheap.Christopher Faylor4-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.
2005-08-08 * ftw.c: Include winsup.h.Corinna Vinschen4-0/+20
* nftw.c: Ditto. * include/ftw.h: Guard declarations appropriately.
2005-08-08 * moldname.def.in (sleep, beep, seterrormode): Remove.Danny Smith2-3/+4
2005-08-08 * Makefile.in (DLL_OFILES): Add fts.o, ftw.o, nftw.o.Corinna Vinschen9-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-082005-08-08 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini5-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.
2005-08-08* Makefile.in (dtable_CFLAGS): Use -fomit-frame-pointer and -fcheck-new.Christopher Faylor6-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.
2005-08-08* dllfixdbg: New perl script.Christopher Faylor6-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.
2005-08-07 * Makefile.in: Allow previous patch to work in a 64 bit environment.Corinna Vinschen2-1/+5
2005-08-07revert erroneous checkinChristopher Faylor1-3/+0
2005-08-07* Makefile.in: Warn when end of cygheap is not on 64k boundary.Christopher Faylor4-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.
2005-08-06* include/endian.h: Move everything into this file and define things more likeChristopher Faylor5-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.
2005-08-06Update to switch FAQ from texinfo to DocBook.Joshua Daniel Franklin12-25/+3987
2005-08-05 * thread.cc (pthread::create(3 args)): Make bool.Corinna Vinschen3-7/+19
(pthread_null::create): Ditto. (pthread::create(4 args)): Check return of inner create rather than calling is_good_object(). * thread.h: Ditto.
2005-08-05 * fhandler_tty.cc (fhandler_tty_slave::tcflush): Return either 0 or -1.Corinna Vinschen2-1/+5
2005-08-05 * thread.cc (pthread_cond_timedwait): Check abstime for validityCorinna Vinschen2-4/+22
according to SUSv3. Rewrite timeout check and waitlength calculation to avoid overflow problems.
2005-08-04 * hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.John David Anglin2-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.
2005-08-03 * hppa.h: Update copyright dates.John David Anglin1-1/+1
2005-08-03 * mount.cc (longopts): Fix typo which disallows --options option.Corinna Vinschen2-2/+6
2005-08-022005-08-02 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2-1/+6
* libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias to the value for 2^126.
2005-08-02Fixed comment spacing.Jeff Johnston1-1/+1
2005-08-022005-08-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2-0/+14
* libgloss/arm/libcfunc.c (isatty): New function.
2005-08-022005-08-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2-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.
2005-08-02 * include/sys/termios.h: Define TIOCMBIS and TIOCMBIC.Corinna Vinschen5-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.
2005-07-29* fhandler_disk_file.cc (fhandler_base::pread): Don't move file offset pointerChristopher Faylor2-6/+25
after I/O. (fhandler_base::pwrite): Ditto.
2005-07-29white spaceChristopher Faylor1-4/+4
2005-07-29* fhandler.h (fhandler_base::pread): Declare new function.Christopher Faylor8-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.
2005-07-29* include/sys/ioctl.h: Add some linux defines.Christopher Faylor2-4/+40
2005-07-29* pinfo.cc (pinfo::init): Put back accidentally removed debug_printf.Christopher Faylor2-0/+5
2005-07-29* cygthread.cc (cygthread::simplestub): Wait for h to be filled out by mainChristopher Faylor2-1/+9
thread before assigning it.
2005-07-29* pinfo.cc (pinfo::init): Sleep before retrying open_shared().Christopher Faylor2-2/+5
2005-07-29* fork.cc (fork_parent): Fix null deref if pinfo creation fails.Christopher Faylor2-2/+7
2005-07-28 PR gas/336John David Anglin2-0/+9
* hppa.h (pa_opcodes): Allow 0 immediates in PA 2.0 variants of pdtlb and pitlb.
2005-07-28* cygmalloc.h (MSPACES): Define. This dropped through the cracks after theChristopher Faylor4-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-282005-07-28 Earnie Boyd <earnie@users.sf.net>Earnie Boyd2-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>
2005-07-27 * Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.Mark Mitchell4-0/+10
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET. * Makefile.in: Regenerated.
2005-07-27 * mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.Mark Mitchell1-0/+4
2005-07-27Remove bogus ChangeLog entryMark Mitchell1-4/+0
2005-07-27 * config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.Mark Mitchell6-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.
2005-07-27* include/cygwin/in.h (INET_ADDRSTRLEN): Add new definition.Christopher Faylor2-0/+6