summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/sys/dir.h: New BSD-compatibility header.Yaakov Selkowitz2010-08-112-0/+14
|
* * new-features.sgml (ov-new1.7.6): Document "bind" option.Corinna Vinschen2010-08-113-0/+28
| | | | * pathnames.sgml (mount-table): Add "bind" option with example.
* * mount.cc (do_mount): Don't treat "bind" mount as remote mount.Corinna Vinschen2010-08-113-18/+46
| | | | | | (mount_entries): Drop the "bind" option from output. * utils.sgml (mount): Match examples to actual mount output. Add "bind" option and add example.
* * mount.cc (struct opt): Add "bind" option.Corinna Vinschen2010-08-113-2/+50
| | | | | | | (mount_info::from_fstab_line): Handle "bind" option. (fillout_mntent): Add "bind" option to mnt_opts. (mount): Handle "bind" option. * include/sys/mount.h (MOUNT_BIND): New mount flag.
* * mingw: Use sysroot, if present, for mingw_dir.Yaakov Selkowitz2010-08-112-1/+9
|
* * sigproc.cc (init_sig_pipe): Add retry loop.Christopher Faylor2010-08-102-3/+8
|
* * cygheap.h (cygheap_fdmanip): Delete fh and use fd index into cygheap->fdtabChristopher Faylor2010-08-092-16/+18
| | | | | | throughout. (cygheap_fdnew): Replace fh by using fd index into cygheap->fdtab throughout. (cygheap_fdget): Ditto. (cygheap_fdenum): Ditto.
* * new-features.sgml (ov-new1.7.6): Document POSIX Monotonic Clock.Yaakov Selkowitz2010-08-092-0/+8
|
* Implement POSIX.1-2004 Monotonic Clock.Yaakov Selkowitz2010-08-096-37/+99
| | | | | | | | | | | | | | | | | | | | | | | * hires.h: Change hires_us to hires_ns, with nanosecond resolution. (hires_ns::primed_ft): Remove. (hires_ns::nsecs): New prototype. (hires_ns::usecs): Rewrite in terms of nsecs. (hires_ns::resolution): New prototype. * times.cc: Change hires_us to hires_ns. (ntod): Declare. (systime): Remove. (hires_ns::prime): Increase resolution to nanoseconds. (hires_ns::nsecs): Rename usecs to nsecs to reflect increased resolution. Remove justdelta argument. (hires_ns::resolution): New function. (clock_gettime): Accept CLOCK_MONOTONIC. Use EINVAL instead of ENOSYS per POSIX.1-2004. (clock_getres): Ditto. (clock_setres): Use EINVAL instead of ENOSYS to conform with other implementations. * strace.cc (strace::microseconds): Adjust for hires_ns. * sysconf.cc (sca): Set _SC_MONOTONIC_CLOCK to _POSIX_MONOTONIC_CLOCK. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.Corinna Vinschen2010-08-092-1/+5
|
* * new-features.sgml (ov-new1.7.6): Document /proc/filesystems.Corinna Vinschen2010-08-092-0/+8
|
* * fhandler_proc.cc: Add /proc/filesystems virtual file.Corinna Vinschen2010-08-094-20/+55
| | | | | | | | (format_proc_filesystems): New function. * mount.cc (fs_names): Move to global scope. Redefine as array of { "name", block_device? } structs. (fillout_mntent): Use name member of fs_names. * mount.h (fs_names): New prototype.
* * include/dlfcn.h (RTLD_LOCAL): Define.Corinna Vinschen2010-08-092-1/+6
|
* * include/sys/dirent.h (d_fileno): Define as d_ino.Corinna Vinschen2010-08-062-0/+6
|
* * libc/include/sys/stat.h: Move all POSIX-defined symbolic constantsCorinna Vinschen2010-08-062-2/+7
| | | | out of `#ifndef _POSIX_SOURCE' guard.
* * path.cc (cygwin_conv_path): Rearrange test for "." in POSIX toCorinna Vinschen2010-08-042-9/+38
| | | | | | relative DOS path conversion. Simplify fixing the path. In CCP_POSIX_TO_WIN_W conversion, always drop long path prefix if path fits into MAX_PATH. Explain why.
* 2010-08-03 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-08-035-7/+53
| | | | | | | | | * libm/common/s_lrint.c (lrint): Annotate shift operations with possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid undefined behaviour. * libm/common/s_llrint.c (llrint): Likewise. * libm/common/s_lround.c (lround): Correct some comments on ranges. * libm/common/s_llround.c (llround): Likewise.
* * exceptions.cc (_cygtls::interrupt_now): Revert to checking for "spinning"Christopher Faylor2010-08-014-18/+46
| | | | | | | | | | | when choosing to defer signal. (_cygtls::call_signal_handler): Grab func when we have the lock. * gendef: Update copyright. (__sigbe): Simplify slightly. (_sigdelayed): Grab a lock before manipulating stuff. (_cygtls::pop): Properly return popped value. (stabilize_sig_stack): Set incyg when we have the lock. * sigproc.cc: Update copyright.
* gdb/Jan Kratochvil2010-07-313-179/+213
| | | | | | | | | | | | | | | * common/signals.c (signals): Move the content to signals.def. Include it. Remove the INDENT comments. gdb/gdbserver/ * Makefile.in (signals_def): New. (server_h): Append include/gdb/signals.h and signals_def. (server.o): Append signals_def. include/gdb/ * signals.h (enum target_signal): Move the content to signals.def. Include it. * signals.def: New file.
* * cygthread.h (LPVOID_THREAD_START_ROUTINE): Define.Christopher Faylor2010-07-304-24/+46
| | | | | | | | | | | | | (cygthread::create): Rename from cygthread::cygthread. (cygthread::cygthread): Define new constructor which accepts LPVOID_THREAD_START_ROUTINE as the first argument. Call cygthread::create. * cygthread.cc (cygthread::create): Rename from cygthread::cygthread. Use 'arglen' rather than 'n' since 'n' is no longer supplied. * fhandler_tty.cc (process_input): Define as void/noreturn. (process_output): Ditto. (process_ioctl): Ditto. (fhandler_tty_master::init): Don't "zap_h" cygthreads which are noreturn. It's now implied.
* Add moxie-rtems support.Anthony Green2010-07-302-1/+5
|
* [include/opcode]DJ Delorie2010-07-292-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rx.h (RX_Operand_Type): Add TwoReg. (RX_Opcode_ID): Remove ediv and ediv2. [opcodes] * rx-decode.opc (SRR): New. (rx_decode_opcode): Use it for movbi and movbir. Decode NOP2 (mov r0,r0) and NOP3 (max r0,r0) special cases. * rx-decode.c: Regenerate. [sim/rx] * rx.c (decode_cache_base): New. (id_names): Remove ediv and edivu. (optype_names): Add TwoReg. (maybe_get_mem_page): New. (rx_get_byte): Call it. (get_op): Add TwoReg support. (put_op): Likewise. (PD, PS, PS2, GD, GS, GS2, DSZ, SSZ, S2SZ, US1, US2, OM): "opcode" is a pointer now. (DO_RETURN): New. We use longjmp to return an exception result. (decode_opcode): Make opcode a pointer to the decode cache. Save decoded opcode information and re-use. Call DO_RETURN instead of return throughout. Remove ediv and edivu. * mem.c (ptdc): New. Adds decode cache. (rx_mem_ptr): Support it. (rx_mem_decode_cache): New. * mem.h (enum mem_ptr_action): add MPA_DECODE_CACHE. (rx_mem_decode_cache): Declare. * gdb-if.c (sim_resume): Add decode_opcode's setjmp logic here... * main.c (main): ...and here. Use a fast loop if neither trace nor disassemble is given. * cpu.h (RX_MAKE_STEPPED, RX_MAKE_HIT_BREAK, RX_MAKE_EXITED, RX_MAKE_STOPPED, RX_EXITED, RX_STOPPED): Adjust so that 0 is not a valid code for anything.
* [sim/rx]DJ Delorie2010-07-282-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README.txt: New. * config.h (CYCLE_ACCURATE, CYCLE_STATS): New. * configure.in (--enable-cycle-accurate, --enable-cycle-stats): New. Default to enabled. * configure: Regenerate. * cpu.h (regs_type): Add cycle tracking info. (reset_pipeline_stats): Declare. (halt_pipeline_stats): Declare. (pipeline_stats): Declare. * main.c (done): Call pipeline_stats(). * mem.h (rx_mem_ptr): Moved to here ... * mem.c (mem_ptr): ... from here. Rename throughout. (mem_put_byte): Move LEDs to Port A. Add Port B to control cycle statistics. Move UART to SCI4. (mem_put_hi): Add TPU 1-2. TPU 1 and 2 count CPU cycles. * reg.c (init_regs): Set Rt reg to -1 (no reg). * rx.c: Add cycle counting and statistics throughout. (rx_get_byte): Optimize for speed. (decode_opcode): Likewise. (reset_pipeline_stats): New. (halt_pipeline_stats): New. (pipeline_stats): New. * trace.c (sim_disasm_one): Print cycle count. [include/opcode] * rx.h (RX_Opcode_ID): Add nop2 and nop3 for statistics.
* * setup-net.sgml, faq-setup.xml: Rename setup.exe's "Partial"Andy Koppe2010-07-263-6/+11
| | | | view to "Pending"
* Accept that mingwrt headers are not guaranteed to precede GCC's in the ↵Keith Marshall2010-07-252-10/+40
| | | | system include search path; (issue reported by Mark Brand).
* 2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-07-242-1/+5
| | | | * lib/kernel32.def(FatalExit): Correct definiton.
* Fix latest changelog entry to not refer to libgloss directory.Jeff Johnston2010-07-231-41/+41
|
* 2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>Jeff Johnston2010-07-234-39/+72
| | | | | | | | | | Gina Verlekar <gina.verlekar@kpitcummins.com> * configure.host: Compact v850* support and add check for newlib_may_supply_syscalls. * libc/sys/sysnecv850/Makefile.am: Add support for '--disable-newlib-supplied-syscalls' option. * libc/sys/sysnecv850/Makefile.in: Regenerated.
* 2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>Jeff Johnston2010-07-2340-1566/+7740
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gina Verlekar <gina.verlekar@kpitcummins.com> Moving files from libc/sys/sysnecv850 to libgloss/v850 * libgloss/libnosys/configure: Regenerated. * libgloss/libnosys/configure.in: Compact v850 support to v850*-*-*. * libgloss/libnosys/configure: Regenerated. * libgloss/configure.in: Add libgloss support for v850. * libgloss/configure: Regenerated. * libgloss/v850/access.c: New file. * libgloss/v850/aclocal.m4: New. * libgloss/v850/chmod.c: New. * libgloss/v850/chown.c: New. * libgloss/v850/close.c: New. * libgloss/v850/configure: New. * libgloss/v850/configure.in: New. * libgloss/v850/crt0.S: New. * libgloss/v850/crt1.c: New. * libgloss/v850/execv.c: New. * libgloss/v850/execve.c: New. * libgloss/v850/_exit.c: New. * libgloss/v850/fork.c: New. * libgloss/v850/fstat.c: New. * libgloss/v850/getpid.c: New. * libgloss/v850/gettime.c: New. * libgloss/v850/isatty.c: New. * libgloss/v850/kill.c: New. * libgloss/v850/link.c: New. * libgloss/v850/lseek.c: New. * libgloss/v850/Makefile.in: New. * libgloss/v850/open.c: New. * libgloss/v850/pipe.c: New. * libgloss/v850/read.c: New. * libgloss/v850/sbrk.c: New. * libgloss/v850/sim.ld: New. * libgloss/v850/stat.c: New. * libgloss/v850/time.c: New. * libgloss/v850/times.c: New. * libgloss/v850/trap.S: New. * libgloss/v850/unlink.c: New. * libgloss/v850/utime.c: New. * libgloss/v850/wait.c: New. * libgloss/v850/write.c: New.
* Add support for v850E2 and v850E2V3Nick Clifton2010-07-236-43/+123
|
* * fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULLCorinna Vinschen2010-07-232-3/+5
| | | | special handling.
* 2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>Chris Sutcliffe2010-07-232-20/+28
| | | | | | | | * include/io.h (_findfirst, _findnext, _findclose, _findfirst32, _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32, _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext, _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64, _findnexti64): Correct definition.
* 2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-07-222-0/+22
| | | | | * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Revert change from 2010-07-17 since it breaks several applications.
* 2010-07-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-07-222-874/+965
| | | | * lib/kernel32.def: Regenerate using gendef.
* * dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin.Corinna Vinschen2010-07-212-3/+114
| | | | | | | | (transform_chars): New function, copied from Cygwin. (simple_nt_stat): New function to check file existance using native NT function. Explain why. (directory_exists): Call simple_nt_stat. (file_exists): Ditto.
* 2010-07-20 Ozkan Sezer <sezero@users.sourceforge.net>Chris Sutcliffe2010-07-202-2/+10
| | | | | | | | * include/commctrl.h (LVIF_GROUPID): Fix definition. 2010-07-20 Michael James <james.me@gmail.com> * include/commctrl.h (LVIF_COLUMNS): Fix definition.
* include/elf/Alan Modra2010-07-202-18/+43
| | | | | | | | | | | | | | | | | | | | | | | * internal.h (ELF_TBSS_SPECIAL): New macro, extracted from.. (ELF_SECTION_SIZE): ..here. (ELF_SECTION_IN_SEGMENT_1): Add "strict" arg. (ELF_SECTION_IN_SEGMENT_STRICT): New macro. bfd/ * elf.c (assign_file_positions_for_load_sections): Check that zero size sections are allocated in segments too. (assign_file_positions_for_non_load_sections): Warn if zero size alloc sections are found here. (copy_elf_program_header): Don't drop zero size sections from segment map. (copy_private_bfd_data): Check for changes in zero size sections. binutils/ * readelf.c (process_program_headers): Don't ignore all zero size sections. ld/testsuite/ * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.r: Update.
* * libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.Dave Korn2010-07-204-7/+62
| | | | | | | | (SAFE_RIGHT_SHIFT): Likewise. * libm/common/s_llround.c (llround): Annotate shift operations with possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid undefined behaviour. * libm/common/s_lround.c (lround): Likewise.
* 2010-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-07-204-22/+16
| | | | | | | | | | | * include/winnt.h (HEAP_MAKE_TAG_FLAGS, VALID_INHERIT_FLAGS): Correct definition. * include/rpcndr.h (NdrUnMarshConfStringHdr, NdrUnMarshCCtxtHdl, NdrMarshSCtxtHdl): Ditto. * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Remove macro definition in favour of typedef definition. Thank you to Yuta Tomino for reporting the issues.
* Document mkostemp and mkostemps.Eric Blake2010-07-193-1/+17
| | | | | | | * textbinary.sgml (textbin-devel): Document temp file behavior. (textbin-issue): Use sed rather than cat as an example of a default-mode application. * new-features.sgml (ov-new1.7.6): Document mkostemp[s].
* Add mkostemp and mkostemps.Eric Blake2010-07-195-8/+35
| | | | | | | | * mktemp.cc (_gettemp): Add flags argument. All callers updated. (mkostemp, mkostemps): New functions. * cygwin.din (mkostemp, mkostemps): Export. * posix.sgml: Document them. * include/cygwin/version.h: Bump version.
* Add mkostemp and mkostemps.Eric Blake2010-07-193-27/+112
| | | | | | | | | * libc/stdio/mktemp.c (_gettemp): Add parameter, all callers changed. (mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces, for ELIX level 4. * libc/include/stdlib.h (mktemp): Avoid namespace issues. (mkostemp, mkostemps): Declare.
* * m68k/cf-crt1.c (hardware_init_hook): Accommodate new familyCorinna Vinschen2010-07-192-1/+6
| | | | __mcf_family_51 since gcc 4.5.1.
* * autoload.cc (noload): Use "pushl" rather than "push".Christopher Faylor2010-07-182-2/+6
|
* * exceptions.cc (_cygtls::interrupt_now): Avoid nonsensical tests which delayChristopher Faylor2010-07-182-11/+11
| | | | | | an interrupt. (setup_handler): Remove unneeded DEBUGGING handling. Ensure that stack is locked when we are about to do push/pop to it. Fix debugging output.
* * gendef: Throughout, remove lock from xchgl since it is implied.Christopher Faylor2010-07-182-14/+16
| | | | | (__ZN7_cygtls3popEv): Avoid potential (but probably nonexistent) race when clearing element after pop.
* 2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu>Paolo Bonzini2010-07-183-0/+10
| | | | | | | | PR target/44862 * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): Provide -B option to allow for link spec %s substitutions for libstdc++.a on darwin. * Makefile.in: Regenerate.
* * wincap.cc (wincap_7): Set needs_count_in_si_lpres2 to false.Corinna Vinschen2010-07-152-1/+5
|
* * libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCECorinna Vinschen2010-07-132-0/+7
| | | | is undefined.
* 2010-07-08 Markus Koenig <basilo@users.sourceforge.net>Chris Sutcliffe2010-07-0832-2/+11109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/gdiplus.h: New file. * include/gdiplus/gdiplus.h: New file. * include/gdiplus/gdiplusbase.h: New file. * include/gdiplus/gdiplusbrush.h: New file. * include/gdiplus/gdipluscolor.h: New file. * include/gdiplus/gdipluscolormatrix.h: New file. * include/gdiplus/gdipluseffects.h: New file. * include/gdiplus/gdiplusenums.h: New file. * include/gdiplus/gdiplusflat.h: New file. * include/gdiplus/gdiplusgpstubs.h: New file. * include/gdiplus/gdiplusgraphics.h: New file. * include/gdiplus/gdiplusheaders.h: New file. * include/gdiplus/gdiplusimageattributes.h: New file. * include/gdiplus/gdiplusimagecodec.h: New file. * include/gdiplus/gdiplusimaging.h: New file. * include/gdiplus/gdiplusimpl.h: New file. * include/gdiplus/gdiplusinit.h: New file. * include/gdiplus/gdipluslinecaps.h: New file. * include/gdiplus/gdiplusmatrix.h: New file. * include/gdiplus/gdiplusmem.h: New file. * include/gdiplus/gdiplusmetafile.h: New file. * include/gdiplus/gdiplusmetaheader.h: New file. * include/gdiplus/gdipluspath.h: New file. * include/gdiplus/gdipluspen.h: New file. * include/gdiplus/gdipluspixelformats.h: New file. * include/gdiplus/gdiplusstringformat.h: New file. * include/gdiplus/gdiplustypes.h: New file. * lib/gdiplus.c: New file containing GDI+ variable definitions and GUIDs. * lib/gdiplus.def: New file. * lib/Makefile.in: Add gdiplus.o to EXTRA_OBJS, add gdiplus.c to SOURCES. * lib/test.c: Include gdiplus.h.