summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2009-04-08 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-083-4/+9
| | | | | * configure.in: Add square brackets for the array aliasing conftest. * configure: Regenerate.
* bfd/H.J. Lu2009-04-082-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_object_symbols): Warn alternate ELF machine code. include/ 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Add warn_alternate_em. ld/ 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. (ld_options): Likewise. (parse_args): Likewise. * ld.texinfo: Document --warn-alternate-em. * NEWS: Mention --warn-alternate-em.
* [include/elf]DJ Delorie2009-04-082-0/+6
| | | | | | | | | | | | | | | * mep.h (EF_MEP_CPU_C5): New. [bfd] * archures.c: Add bfd_mach_mep_c5. * bfd-in2.h: Likewise. * cpu-mep.c: Add bfd_c5_arch. * elf32-mep.c: Support it. [gas] * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support. (md_show_usage): Change default endian to little. * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little. [ld] * emulparams/elf32mep.sh: Change default endian to little.
* [bfd]DJ Delorie2009-04-072-62/+66
| | | | | | | | | | * elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes. [gas] * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA immediates. (build_bytes): Pass insn to do_a_fix_imm. [include/opcode] * h8300.h: Add relaxation attributes to MOVA opcodes.
* * include/stdint.h (int_least32_t): Define as int.Corinna Vinschen2009-04-072-12/+27
| | | | | | | | | | | | | | (uint_least32_t): Ditto, unsigned. (int_fast16_t): Define as int. (int_fast32_t): Ditto. (uint_fast16_t): Ditto, unsigned. (uint_fast32_t): Ditto. (UINT32_MAX): Remove `L' long marker. (UINT_LEAST32_MAX): Ditto. (UINT_FAST16_MAX): Ditto. (UINT_FAST32_MAX): Ditto. (INT32_C): Ditto. (UINT32_C): Ditto.
* * path.cc (readlink): Accommodate new UTF-16 symlinks.Corinna Vinschen2009-04-072-5/+27
|
* * strfuncs.cc: Change WCHAR to wchar_t in multibyte<->widecharCorinna Vinschen2009-04-073-13/+22
| | | | | conversion functions throughout. * wchar.h: Ditto in declarations. Guard them __INSIDE_CYGWIN__.
* * setup2.sgml (setup-locale-console): New section to explainCorinna Vinschen2009-04-077-19/+85
| | | | | | | | console character set setting. * faq: Throughout, change references to User's Guide to references to 1.7 User's Guide temporarily. * faq-setup.html (faq.using.unicode): Rephrase slightly. (faq.using.weirdchars): New FAQ entry for console charset problems.
* * fhandler.h (class dev_console): Add members con_mbtowc, con_wctomb,Corinna Vinschen2009-04-076-50/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and con_charset. (dev_console::str_to_con): Take mbtowc function pointer and charset as additional parameters. * fhandler_console.cc (fhandler_console::get_tty_stuff): Initialize aforementioned new members. Explain why. (dev_console::con_to_str): Remove useless comment. Call new sys_cp_wcstombs function rather than sys_wcstombs. (dev_console::str_to_con): Take mbtowc function pointer and charset as additional parameters. Call sys_cp_mbstowcs accordingly. (fhandler_console::write_normal): Only initialize f_mbtowc and charset once. Accommodate changed str_to_con. * strfuncs.cc (sys_cp_wcstombs): Renamed from sys_wcstombs. Take wctomb function pointer and charset as parameters. Use throughout. (sys_cp_mbstowcs): Take wctomb function pointer and charset as parameters instead of codepage. Remove matching local variables and their initialization. * wchar.h (ENCODING_LEN): Define as in newlib. (__mbtowc): Use mbtowc_p typedef for declaration. (wctomb_f): New type. (wctomb_p): New type. (__wctomb): Declare. (__utf8_wctomb): Use wctomb_f typedef for declaration. (sys_cp_wcstombs): Move declaration from winsup.h here. (sys_wcstombs): Ditto. (sys_wcstombs_alloc): Ditto. (sys_cp_mbstowcs): Ditto. (sys_mbstowcs): Ditto. (sys_mbstowcs_alloc): Ditto. * winsup.h: Move declaration of sys_FOO functions to wchar.h. Include wchar.h instead.
* 2009-04-06 Mike Burgess <wizardsguild@earthlink.net>Jeff Johnston2009-04-062-10/+13
| | | | * libc/string/strncasecmp.c: Optimized rewrite.