summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* 2010-06-28 Rick Rankin <rrankin1424-mingw@yahoo.com>Chris Sutcliffe2010-06-294-0/+45
| | | | | | | | * include/psapi.h (PROCESS_MEMORY_COUNTERS_EX, PERFORMANCE_INFORMATION, GetPerformanceInfo): Define. * lib/psapi.def (GetPerformanceInfo): Define. * include/wincrypt.h (CryptEnumProvidersA, CryptEnumProvidersW, CryptEnumProviders): Define.
* * utils.sgml (locale): Change stray local cygdrive prefix to Cygwin'sCorinna Vinschen2010-06-292-1/+6
| | | | default.
* * spawn.cc (spawn_guts): Reinstantiate a FIXME comment.Corinna Vinschen2010-06-292-2/+6
|
* * exceptions.cc (dump_exception): Use %W instead of %s for printingCorinna Vinschen2010-06-294-6/+14
| | | | | | | progname. * fork.cc (frok::parent): Fix typos in debug output. * spawn.cc (spawn_guts): Copy wide Win32 filename into _pinfo::progname, rather than native NT name.
* * xstormy16/eva_app.ld (.gcc_except_table): Include sections withNick Clifton2010-06-295-4/+12
| | | | | | | the .gcc_except_table. prefix. * xstormy16/eva_stub.ld: Likewise. * xstormy16/sim_high.ld: Likewise. * xstormy16/sim_low.ld: Likewise.
* remove maxq-coff portAlan Modra2010-06-296-1190/+12
|
* * fork.cc (frok::parent): Improve error message.Christopher Faylor2010-06-282-2/+7
|
* * Makefile.in: Use "xmlto pdf" instead of docbook2pdf.Yaakov Selkowitz2010-06-274-6/+14
| | | | | | | Force the dblatex backend, as the default passivetex does not work. * README: Replace docbook-utils dependency with dblatex. Update required docbook-xml version. * faq-programming.xml: Ditto.
* * setup-net.sgml: Add a paragraph describing now to avoid unintentionalChristopher Faylor2010-06-262-1/+13
| | | | upgrades.
* include/elf/Alan Modra2010-06-252-0/+8
| | | | | | | | | | | | | * ppc64.h (R_PPC64_LO_DS_OPT): Define. bfd/ * elf64-ppc.c (toc_skip_enum): Define. (ppc64_elf_edit_toc): Use two low bits of skip array as markers. Optimize largetoc sequences. (adjust_toc_syms): Update for skip array change. (ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT. ld/ * emultempl/ppc64elf.em (prelim_size_sections): New function. (ppc_before_allocation): Use it. Size sections before toc edit too.
* Add "acc" register. Revise register order and names.Kevin Buettner2010-06-242-4/+10
|
* * flock.cc (allow_others_to_sync): Use small stack buffer ratherCorinna Vinschen2010-06-222-12/+19
| | | | | | than big temp buffer. Fix typo in comment. (lf_setlock): Revert to using tmp_pathbuf. (lf_getlock): Ditto.
* * sec_acl.cc (setacl): Use the long time unused ACL_DEFAULT_SIZECorinna Vinschen2010-06-223-4/+10
| | | | | instead of a constant value. * security.cc (alloc_sd): Ditto.
* 2010-06-21 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola2010-06-212-1/+15
| | | | | | | | | | | | | | | | | | * fileread.cc (Input_file::find_fie): New (Input_file::open): Use Input_file::find_fie. * fileread.h (Input_file::find_fie): New * plugin.cc (set_extra_library_path): New. (Plugin::load): Add set_extra_library_path to the transfer vector. (Plugin_manager::set_extra_library_path): New. (Plugin_manager::add_input_file): Use the extra search path if set. (set_extra_library_path(): New. * plugin.h (Plugin_manager): Add set_extra_library_path and extra_search_path_. 2010-06-21 Rafael Espindola <espindola@google.com> * plugin-api.h (ld_plugin_set_extra_library_path): New. (ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH. (ld_plugin_tv): Add tv_set_extra_library_path.
* * tmpbuf.h: New file.Christopher Faylor2010-06-213-9/+46
| | | | | | | * flock.cc: Include tmpbuf.h for new tmpbuf functionality. (allow_others_to_sync): Use tmpbuf rather than tmp_pathbuf. Explain why. (lf_setlock): For consistency, use tmpbuf rather than tmp_pathbuf. (lf_getlock): Ditto.
* * bootstrap-lto.mk: New.Alexandre Oliva2010-06-212-0/+12
|
* * dcrt0.cc (__api_fatal): Temporarily generate a stackdump.Christopher Faylor2010-06-212-0/+7
|
* * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.Jakub Jelinek2010-06-212-0/+6
|
* * tls_pbuf.cc (tmp_pathbuf::w_get): Report what's failing when too many buffersChristopher Faylor2010-06-212-1/+6
| | | | are in use.
* 2010-06-18 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola2010-06-182-2/+7
| | | | | | | | | | | | * plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library): Make argument const. 2010-06-18 Rafael Espindola <espindola@google.com> * plugin.cc (add_input_file,add_input_library) (Plugin_manager::add_input_file): Make filename arguments const. * plugin.h (Plugin_manager::add_input_file): Make filename arguments const.
* 2010-06-18 Pavel Pisa <ppisa4lists@pikron.com>Jeff Johnston2010-06-183-6/+10
| | | | | | | | * libc/include/machine/ieeefp.h[__arm__][!__VFP_FP__]: Set to __IEEE_BIG_ENDIAN and set __IEEE_BYTES_LITTLE_ENDIAN appropriately based on __ARMEL flag. * libc/include/machine/endian.h: To set byte order to LITTLE_ENDIAN, check for __IEEE_LITTLE_ENDIAN or __IEEE_BYTES_LITTLE_ENDIAN.