summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * syscalls.cc (unlink_nt): Disable try_to_bin for netapp drives.Corinna Vinschen2010-07-072-2/+11
| | | | Explain why.
* * libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.Corinna Vinschen2010-07-064-2/+13
| | | | | | * libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype. * libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long rather than off_t.
* include/ChangeLog:Ulrich Weigand2010-07-062-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-07-06 Ken Werner <ken.werner@de.ibm.com> * floatformat.h (floatformat_ieee_half_big): Add declaration. (floatformat_ieee_half_little): Likewise. libiberty/ChangeLog: 2010-07-06 Ken Werner <ken.werner@de.ibm.com> * floatformat.c (floatformat_ieee_half_big): New variable. (floatformat_ieee_half_little): Likewise. gdb/ChangeLog: 2010-07-06 Ken Werner <ken.werner@de.ibm.com> * gdbtypes.h (floatformats_ieee_half): Add declaration. * gdbtypes.c (floatformats_ieee_half): New variable. * doublest.c (floatformat_from_length): Set format to gdbarch_half_format if length matches. * gdbarch.sh (half_bit): New architecture method. (half_format): Likewise. * gdbarch.h: Regenerate. * gdbarch.c: Likewise.
* gas/Maciej W. Rozycki2010-07-062-2/+10
| | | | | | | | | | | | | | | | | | | | | | * config/tc-mips.c (nops_for_insn_or_target): Replace MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and MIPS16_INSN_COND_BRANCH. include/opcode/ * mips.h (MIPS16_INSN_UNCOND_BRANCH): New macro. (MIPS16_INSN_BRANCH): Rename to... (MIPS16_INSN_COND_BRANCH): ... this. opcodes/ * mips-dis.c (print_mips16_insn_arg): Remove branch instruction type and delay slot determination. (print_insn_mips16): Extend branch instruction type and delay slot determination to cover all instructions. * mips16-opc.c (BR): Remove macro. (UBR, CBR): New macros. (mips16_opcodes): Update branch annotation for "b", "beqz", "bnez", "bteqz" and "btnez". Add branch annotation for "jalrc" and "jrc".
* Align seekdir and telldir API to POSIX definition.Corinna Vinschen2010-07-0510-33/+59
| | | | | | | | | | | | | | | | | | | | * Makefile.in (NEW_FUNCTIONS): Remove seekdir and telldir mappings. * dir.cc (telldir): Move functionality from telldir64 here. Use long, rather than _off_t. (telldir64): Just call telldir. Only keep for backward compatibility. (seekdir): Move functionality from seekdir64 here. Use long, rather than _off_t. (seekdir64): Just call seekdir. Only keep for backward compatibility. * fhandler.h: Throughout, change prototypes of seekdir and telldir methods to use long, rather than _off64_t. * fhandler_disk_file.cc: Change aforementioned methods accordingly. * fhandler_netdrive.cc: Ditto. * fhandler_registry.cc: Ditto. * fhandler_virtual.cc: Ditto. * include/sys/dirent.h (struct __DIR): Change __d_position from _off_t to long to reflect API change. (telldir): Change prototype to use long, rather than off_t. (seekdir): Ditto.
* * ldd.cc: Clean up formatting throughout.Christopher Faylor2010-07-052-46/+50
| | | | | | | | (head): Move earlier. (saw_file): Ditto. (print_dlls): Reset head here. Record seen dll names so they will not potentially be printed later. (process_file): Remove clearing of head here.
* * dump_setup.cc (dump_file): Read requested content from setup.rcCorinna Vinschen2010-07-052-13/+31
| | | | file created by newer setup.exe.
* * path.cc (path_conv::check): Move fs-specific settings to a point where weChristopher Faylor2010-07-046-17/+39
| | | | | | | | | know that we have filled out the filesystem information. * path.h (path_conv::path_conv): Use consistent initialization for constructors. * include/sys/cygwin.h: Define CW_STRERROR. * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 228. * include/external.h: Implement CW_STRERROR.
* include/opcode/Alan Modra2010-07-032-41/+37
| | | | | | | | | | | | | | | * ppc.h (PPC_OPCODE_32, PPC_OPCODE_BOOKE64, PPC_OPCODE_CLASSIC): Delete. Renumber other PPC_OPCODE defines. gas/ * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags. (ppc_setup_opcodes): Likewise. Simplify opcode selection. opcodes/ * ppc-dis.c (ppc_opts, powerpc_init_dialect): Remove old opcode flags. * ppc-opc.c (PPC32, POWER32, COM32, CLASSIC): Delete. (PPC64, MFDEC2): Update. (NON32, NO371): Define. (powerpc_opcode): Update to not use old opcode flags, and avoid -m601 duplicates.
* * ppc.h (PPC_OPCODE_COMMON): Expand comment.Alan Modra2010-07-032-1/+8
|
* * net.cc (cygwin_getsockopt): Make sure SO_PEERCRED is only handledCorinna Vinschen2010-07-022-1/+35
| | | | | in level SOL_SOCKET. Workaround a return value regression in Vista and later. Add comment to explain.
* sync config/ChangeLog with gccPaolo Bonzini2010-07-021-1/+1
|
* * gc++filt.m4: New file.Rainer Orth2010-07-022-0/+30
|
* Fix email addressCorinna Vinschen2010-07-011-1/+1
|
* * libc/include/signal.h (sighandler_t): Add typedef.Corinna Vinschen2010-07-012-0/+5
|
* 2010-06-29 Antony King <antony.king@sr.com>Corinna Vinschen2010-07-013-0/+48
| | | | | | | | | | * libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by _NEED_OLD_CTYPE_PTR_DEFINITION) for backwards compatibility with newlib 1.16.0 and earlier. 2010-06-28 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> * libc/include/sys/stat.h: Add ACCESSPERMS, ALLPERMS, and DEFFILEMODE.