summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2009-04-21 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston2009-04-212-0/+16
| | | | | * libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout) (__sf_fake_stderr): Declare locally with weak attribute.
* 2009-04-21 Mark Mitchell <mark@codesourcery.com>Jeff Johnston2009-04-213-25/+50
| | | | | | | | | | | | | | * libc/include/_ansi.h: Move C++ defines to top of file. (_NOTHROW): New macro. (_EXFUN_NOTHROW): Likewise. * libc/include/stdlib.h (calloc): Declare with _EXFUN_NOTHROW. (free): Likewise. (malloc): Likewise. (realloc): Likewise. (_malloc_r): Likewise. (_callor_r): Likewise. (_free_r): Likewise. (_realloc_r): Likewise.
* * mep/Makefile.in (SCRIPTS): Update to new config.DJ Delorie2009-04-216-15/+358
| | | | | | | * mep/default.ld: New. * mep/gmap_default.ld: Change default endian to little. * mep/sim-crt0.S: Maintain 8-byte stack alignment. * mep/sim-crtn.S: Likewise.
* * texinfo/texinfo.tex: Update to version 2009-03-28.05.Joseph Myers2009-04-212-964/+3328
|
* bfd/ChangeLogDave Korn2009-04-212-0/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-21 Kai Tietz <kai.tietz@onevision.com> * coff-x86_64.c (PEI_HEADERS): Protect includes. (bfd_pe_print_pdata): Remove #ifdef PE variation. * pei-x86_64.c (PEI_HEADERS): Define to prevent double include in coff-x86_64.c of headers. (PDATA_ROW_SIZE): New define. (pex_regs[]): New static array. (pex64_get_runtime_function): New static function. (pex64_get_unwind_info): Likewise. (pex64_get_scope_entry): Likewise. (pex64_xdata_print_uwd_codes): Likewise. (pep_get_section_by_rva): Likewise. (pex64_dump_xdata): Likewise. (pex64_bfd_print_pdata): Likewise. (bfd_pe_print_pdata): Define as pex64_bfd_print_pdata. * peXXigen.c (_bfd_pex64_print_pdata): Removed implementation. * libpei.h (_bfd_pex64_print_pdata): Removed declaration. include/ChangeLog 2009-04-21 Kai Tietz <kai.tietz@onevision.com> * coff/pe.h (pex64_runtime_function): New structure. (external_pex64_runtime_function): Likewise. (pex64_unwind_code): Likewise. (external_pex64_unwind_code): Likewise. (pex64_unwind_info): Likewise. (external_pex64_unwind_info): Likewise. (external_pex64_scope): Likewise. (pex64_scope): Likewise. (pex64_scope_entry): Likewise. (external_pex64_scope_entry): Likewise. (PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro. (PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise. (PEX64_UNWCODE_CODE): Likewise. (PEX64_UNWCODE_INFO): Likewise. (UWOP_...): Add defines for unwind code. (UNW_FLAG_...): Add defined for unwind info flags. (PEX64_SCOPE_ENTRY_SIZE): New macro. (PEX64_UWI_VERSION): Likewise. (PEX64_UWI_FLAGS): Likewise. (PEX64_UWI_FRAMEREG): Likewise. (PEX64_UWI_FRAMEOFF): Likewise. (PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise. (PEX64_OFFSET_TO_UNWIND_CODE): Likewise. (PEX64_OFFSET_TO_HANDLER_RVA): Likewise. (PEX64_OFFSET_TO_SCOPE_COUNT): Likewise. (PEX64_SCOPE_ENTRY): Likewise.
* 2009-04-20 Jeff johnston <jjohnstn@redhat.com>Jeff Johnston2009-04-203-7/+14
| | | | | | | * libc/include/math.h: Change _LDBL_EQ_DBL flag usage to be _HAVE_LDBL_MATH. * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to be _HAVE_LDBL_STDLIB.
* * flock.cc (lf_setlock): Handle border case which results in WFMO loopCorinna Vinschen2009-04-202-0/+14
| | | | | exiting with ret == WAIT_TIMEOUT gracefully. Add a system_printf to uncover other potential problems with WFMO loop.
* * mkimport: Specify .text for stub explicitly.Christopher Faylor2009-04-183-7/+36
| | | | | * speclib: Add a dummy '.idata$7' section referring to the dll associated with the real import library.
* * dcrt0.cc (globify): Only call mbtowc for non-ascii chars.Corinna Vinschen2009-04-182-1/+5
|
* 2009-04-17 Jeff johnston <jjohnstn@redhat.com>Jeff Johnston2009-04-1760-7/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove. * libc/stdlib/local.h (_LDBL_EQ_DBL): Add. * libc/stdlib/strtold.c: Include local.h. * libc/stdlib/wcstold.c: Likewise. * libm/common/atanl.c: Likewise. * libm/common/cosl.c: Likewise. * libm/common/sinl.c: Likewise. * libm/common/modfl.c: Likewise. * libm/common/frexpl.c: Likewise. * libm/common/tanhl.c: Likewise. * libm/common/tanl.c: Likewise. * libm/common/expm1l.c: Likewise. * libm/common/log1pl.c: Likewise. * libm/common/ceill.c: Likewise. * libm/common/fabsl.c: Likewise. * libm/common/floorl.c: Likewise. * libm/common/acosl.c: Likewise. * libm/common/asinl.c: Likewise. * libm/common/atan2l.c: Likewise. * libm/common/coshl.c: Likewise. * libm/common/expl.c: Likewise. * libm/common/fmodl.c: Likewise. * libm/common/hypotl.c: Likewise. * libm/common/ldexpl.c: Likewise. * libm/common/log10l.c: Likewise. * libm/common/logl.c: Likewise. * libm/common/powl.c: Likewise. * libm/common/sqrtl.c: Likewise. * libm/common/copysignl.c: Likewise. * libm/common/ilogbl.c: Likewise. * libm/common/nanl.c: Likewise. * libm/common/cbrtl.c: Likewise. * libm/common/asinhl.c: Likewise. * libm/common/nextafterl.c: Likewise. * libm/common/rintl.c: Likewise. * libm/common/scalbnl.c: Likewise. * libm/common/exp2l.c: Likewise. * libm/common/fdiml.c: Likewise. * libm/common/fmal.c: Likewise. * libm/common/fmaxl.c: Likewise. * libm/common/fminl.c: Likewise. * libm/common/lrintl.c: Likewise. * libm/common/lroundl.c: Likewise. * libm/common/nearbyintl.c: Likewise. * libm/common/remquol.c: Likewise. * libm/common/roundl.c: Likewise. * libm/common/scalblnl.c: Likewise. * libm/common/truncl.c: Likewise. * libm/common/acoshl.c: Likewise. * libm/common/atanhl.c: Likewise. * libm/common/erfcl.c: Likewise. * libm/common/erfl.c: Likewise. * libm/common/lgammal.c: Likewise. * libm/common/remainderl.c: Likewise. * libm/common/tgammal.c: Likewise. * libm/common/sinhl.c: Likewise. * libm/common/llroundl.c: Likewise. * libm/common/llrintl.c: Likewise. * libm/common/local.h: New file with _LDBL_EQ_DBL macro.
* 2009-04-17 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-176-21/+77
| | | | | | | | * libc/include/machine/ieeefp.h: _LDBL_EQ_DBL check fixed. * libc/include/math.h (llrintl): Declare. * libm/common/llrintl.c: New File. * libm/common/Makefile.am: New File added. * libm/common/Makefile.in: Regenerate.
* 2009-04-17 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-173-65/+54
| | | | | | * libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to avoid executable test. * libc/configure: Regenerate.
* 2009-04-17 Jeff johnston <jjohnstn@redhat.com>Jeff Johnston2009-04-172-1/+1
| | | | | | | | | | | * configure.in: Remove _HAVE_ARRAY_ALIASING check. * configure: Regenerated. * Makefile.in: Regenerated. * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag. * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING. * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to avoid executable test. * libm/configure: Regenerated.
* 2009-04-17 Jeff johnston <jjohnstn@redhat.com>Jeff Johnston2009-04-178-1184/+1119
| | | | | | | | | | * configure.in: Remove _HAVE_ARRAY_ALIASING check. * configure: Regenerated. * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag. * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING. * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to avoid executable test. * libm/configure: Regenerated.
* bfd/H.J. Lu2009-04-172-1/+6
| | | | | | | | | | | | | | | | | | | | | 2009-04-17 H.J. Lu <hongjiu.lu@intel.com> * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER. binutils/ 2009-04-17 H.J. Lu <hongjiu.lu@intel.com> * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd. * doc/binutils.texi: Likewise. include/coff/ 2009-04-17 H.J. Lu <hongjiu.lu@intel.com> * pe.h (IMAGE_SUBSYSTEM_EFI_ROM): Renamed to ... (IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER): This.
* * dcrt0.cc (globify): Make multibyte-aware.Corinna Vinschen2009-04-172-1/+13
|
* * flock.cc (class inode_t): Add i_wait member and matching methodsCorinna Vinschen2009-04-172-4/+25
| | | | | | | | | | wait(), unwait(), and waiting(). (inode_t::inode_t): Initialize i_wait to 0. (fhandler_disk_file::lock): Only remove node if no other thread is waiting for a blocking lock. (lf_setlock): Manipulate node->i_wait to signal that a thread is waiting for a blocking lock in this node. (lf_findoverlap): Reinstantiate SELF test as in original code.
* * config.sub, config.guess: Update from upstream sources.Ben Elliston2009-04-173-3/+27
|
* 2009-04-16 Jeff johnston <jjohnstn@redhat.com>Jeff Johnston2009-04-162-2/+7
| | | | | * libc/misc/init.c (__libc_fini_array): Process fini_array in reverse order as compliant with the ELF specification.
* 2009-04-16 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-164-4/+61
| | | | | | * libc/machine/spu/Makefile.am: Add new File. * libc/machine/spu/Makefile.in: Regenerate. * libc/machine/spu/fdopen.c: New file.
* 2009-04-16 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2009-04-162-2/+12
| | | | * libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.
* 2009-04-16 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-1668-1183/+4141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libm/libm.texinfo: Add long double function support chapter. * libc/include/machine/ieeefp.h: Add _LDBL_EQ_DBL define. * libc/include/stdlib.h: Include <machine/ieeefp.h>. (strtold, wcstold): Declare. * libc/stdlib/strtold.c: New File. * libc/stdlib/wcstold.c: Likewise. * libc/configure.in: Add long double check. * libc/configure: Regenerate. * libc/stdlib/Makefile.am: Add strtold.c and wcstold.c. * libc/stdlib/Makefile.in: Regenerate. * libc/include/math.h (atanl, cosl, sinl, tanl, tanhl): Declare. (frexpl, modfl, ceill, fabsl, floorl, log1pl, expm1l, acosl): Ditto. (asinl, atan2l, coshl, sinhl, expl, ldexpl, logl, log10l, powl): Ditto. (sqrtl, fmodl, hypotl, copysignl, nanl, ilogbl, asinhl, cbrt): Ditto. (nextafterl, rintl, scalbnl, exp2l, scalblnl, tgammal): Ditto. (nearbyintl, lrintl, llrintl, roundl, lroundl, llround): Ditto. (llroundl, truncl, remquol, fdiml, fmaxl, fminl, fmal, acoshl): Ditto. (atanhl, remainderl, lgammal, erfl, erfcl): Ditto. * libm/common/atanl.c: New File. * libm/common/cosl.c: Likewise. * libm/common/sinl.c: Likewise. * libm/common/modfl.c: Likewise. * libm/common/frexpl.c: Likewise. * libm/common/tanhl.c: Likewise. * libm/common/tanl.c: Likewise. * libm/common/expm1l.c: Likewise. * libm/common/log1pl.c: Likewise. * libm/common/ceill.c: Likewise. * libm/common/fabsl.c: Likewise. * libm/common/floorl.c: Likewise. * libm/common/acosl.c: Likewise. * libm/common/asinl.c: Likewise. * libm/common/atan2l.c: Likewise. * libm/common/coshl.c: Likewise. * libm/common/expl.c: Likewise. * libm/common/fmodl.c: Likewise. * libm/common/hypotl.c: Likewise. * libm/common/ldexpl.c: Likewise. * libm/common/log10l.c: Likewise. * libm/common/logl.c: Likewise. * libm/common/powl.c: Likewise. * libm/common/sqrtl.c: Likewise. * libm/common/copysignl.c: Likewise. * libm/common/ilogbl.c: Likewise. * libm/common/nanl.c: Likewise. * libm/common/cbrtl.c: Likewise. * libm/common/asinhl.c: Likewise. * libm/common/nextafterl.c: Likewise. * libm/common/rintl.c: Likewise. * libm/common/scalbnl.c: Likewise. * libm/common/exp2l.c: Likewise. * libm/common/fdiml.c: Likewise. * libm/common/fmal.c: Likewise. * libm/common/fmaxl.c: Likewise. * libm/common/fminl.c: Likewise. * libm/common/lrintl.c: Likewise. * libm/common/lroundl.c: Likewise. * libm/common/nearbyintl.c: Likewise. * libm/common/remquol.c: Likewise. * libm/common/roundl.c: Likewise. * libm/common/scalblnl.c: Likewise. * libm/common/truncl.c: Likewise. * libm/common/acoshl.c: Likewise. * libm/common/atanhl.c: Likewise. * libm/common/erfcl.c: Likewise. * libm/common/erfl.c: Likewise. * libm/common/lgammal.c: Likewise. * libm/common/remainderl.c: Likewise. * libm/common/tgammal.c: Likewise. * libm/common/sinhl.c: Likewise. * libm/common/llroundl.c: Likewise. * libm/configure.in: Add long double check. * libm/configure: Regenerate. * libm/common/Makefile.am: Add new files. * libm/common/Makefile.in: Regenerate.
* Fix typo in previous commit.Nick Clifton2009-04-161-1/+1
|
* * dlfcn.cc (get_full_path_of_dll): Just return a bool value. DropCorinna Vinschen2009-04-162-23/+31
| | | | | | | local path_conv in favor of getting it as parameter. Add local string buffer instead of getting it as parameter. (dlopen): Accommodate get_full_path_of_dll change. Fetch WCHAR Windows path from path_conv variable and call LoadLibraryW.
* Add new binutils target: moxieNick Clifton2009-04-1611-3/+127
|
* * ntdll.h (STATUS_LOCK_NOT_GRANTED): Define.Corinna Vinschen2009-04-163-2/+19
| | | | | * syscalls.cc (unlink_nt): Handle STATUS_LOCK_NOT_GRANTED same as STATUS_SHARING_VIOLATION. Add lengthy comment to explain why.
* * cygpath.cc (do_pathconv): Only skip \\?\ prefix if it's reallyCorinna Vinschen2009-04-152-9/+18
| | | | | given. Do backslash to slash conversion for mixed paths after handling \\?\ prefix.
* * path.cc (path_conv::get_wide_win32_path): Allow relative paths.Corinna Vinschen2009-04-152-6/+24
| | | | | | (cygwin_conv_path): In case of CCP_POSIX_TO_WIN_W, convert relative paths to absolute paths if the relative pathname length exceeds MAX_PATH.
* * libc/bsdlib.cc: Align copyright with upstream.Corinna Vinschen2009-04-158-27/+10
| | | | | | | | | * libc/fnmatch.c: Ditto. * libc/fts.c: Ditto. * libc/inet_addr.c: Ditto. * libc/inet_network.c: Ditto. * libc/rcmd.cc: Ditto. * libc/rexec.cc: Ditto.
* * speclib: Really revert to using tempdir.Christopher Faylor2009-04-142-2/+6
|
* * speclib: Revert to using tempdir.Christopher Faylor2009-04-142-1/+5
|
* * localtime.cc (tzload): Implement setting __tzrule's offset memberCorinna Vinschen2009-04-142-0/+10
| | | | | using newlib's __gettzinfo () interface also when tzload returns successfully.
* * include/stdint.h (intptr_t): Remove long from type.Dave Korn2009-04-132-5/+12
| | | | | | (uintptr_t): Likewise. (INTPTR_MIN): Remove 'L' suffix. (INTPTR_MAX, UINTPTR_MAX): Likewise.
* * Makefile.in (dumper.exe): Add -lz to ALL_LDFLAGS.Dave Korn2009-04-132-1/+5
|
* * speclib: Initial stab at cleaning up temp files. More work needed.Christopher Faylor2009-04-123-4/+14
| | | | * mkimport: Ditto.
* * Makefile.in (clean): Clean globals.h.Christopher Faylor2009-04-122-2/+7
| | | | (LIBCOS): Depend on globals.h.
* * mkimport: New script to perform all operations necessary to createChristopher Faylor2009-04-126-139/+188
| | | | | | | | | | | | | | | | libcygwin.a. * rmsym: Delete. * newsym: Delete. * Makefile.in (toolopts): New variable which holds options relating to binutils/gcc tools. (speclib): Use toolopts. Add symbols to avoid copying to special libraries. (OBSOLETE_FUNCTIONS): Delete. (NEW_FUNCTIONS): Change to represent an argument to new mkimport script. (libcygwin.a): Use only new mkimport script to create libcygwin.a. Only rely on ${LIBCOS}. (*/lib*.a): Simplify speclib dependencies. (speclib): Accept toolchain options. Convert every argument to absolute path. Simplify parsing of nm output. Accommodate new exclude option.
* 2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>Chris Sutcliffe2009-04-112-7/+13
| | | | | | * include/stdint.h (int_fast8_t): Specify as signed char. (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int. (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
* * include/stdint.h (INTPTR_MIN, INTPTR_MAX): Add 'L' suffix.Corinna Vinschen2009-04-112-4/+9
| | | | (WINT_MAX): Add 'U' suffix.
* * speclib: Use a more robust method to derive full file path.Christopher Faylor2009-04-102-3/+7
|
* * speclib: Semi-revert to previous version but don't try to generateChristopher Faylor2009-04-094-52/+64
| | | | | | | well-formed import library. Instead, just extract appropriate symbols and let later libcygwin.a on link line fill in the rest of the import stuff. * gendef: Hopefully no-op modification to allow easier post-processing on symbol values.
* * syscalls.cc (try_to_bin): Use tmp_pathbuf buffer to allocate infobufCorinna Vinschen2009-04-092-10/+13
| | | | rather than using the stack.
* * syscalls.cc (try_to_bin): Fix alignment of infobuf.Corinna Vinschen2009-04-092-1/+7
|
* 2009-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>H.J. Lu2009-04-093-8/+13
| | | | | * configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1. * configure: Regenerate.
* 2009-04-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-04-093-4/+10
| | | | | | PR gas/10039 * configure.ac: Require texinfo 4.7. * configure: Regenerated.
* 2009-04-09 Steve Ellcey <sje@cup.hp.com>H.J. Lu2009-04-094-24/+83
| | | | | | * Makefil.def (languages): New entries. * Makefile.tpl (check-gcc-*): New generic target. * Makefile.in: Regenerate.
* * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.Corinna Vinschen2009-04-098-92/+110
| | | | | | | | | | | | | | | * libc/ctype/ctype_cp.h: Mark non-cased letters in tables for codepages 720, 862, 874, 1255, and 1256 to _U|_L. Fix a couple of incorrect class mappings. * libc/ctype/ctype_iso.h: Mark non-cased letters in ISO-8859 tables 6, 8, and 11 to _U|_L. Fix a couple of incorrect class mappings. * libc/ctype/isblank.c (isblank): Special case TAB. * libc/ctype/islower.c (islower): Check explicitely for _L flag only in (_U|_L). * libc/ctype/isupper.c (isupper): Ditto, but check for _U flag. * libc/include/ctype.h (islower): Same in macro. (isupper): Ditto. (isblank): Special case TAB. Redefine macro for GCC only.
* * fhandler_disk_file.cc (fhandler_disk_file::fchown): Catch anCorinna Vinschen2009-04-096-8/+56
| | | | | | | | | | | | | error when changing the user account on a standalone Samba server. Explain why. * sec_acl.cc (setacl): Accommodate additional parameter to set_file_sd. * sec_helper.cc (SECURITY_SAMBA_UNIX_AUTHORITY): Define. (well_known_samba_unix_user_fake_sid): Define. * security.cc (set_file_sd): Take additional parameter if ownership should be changed. Restrict requested permissions accordingly. (set_file_attribute): Accommodate additional parameter to set_file_sd. * security.h (well_known_samba_unix_user_fake_sid): Declare. (set_file_sd): Align declaration to above change.
* * libc/stdlib/local.h (__mbtowc): Declare extern.Corinna Vinschen2009-04-092-3/+19
| | | | (__wctomb): Ditto.
* * libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but alsoCorinna Vinschen2009-04-093-5/+39
| | | | | | | | | recognizes 0x8e and 0x8f lead bytes. (_iseucjp2): Rename from _iseucjp. * libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212 triplebyte sequences as well. * libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212 triplebyte sequences as well.