Corinna Vinschen
755b125b77
* libc/stdio/local.h (__chclass, __state_table, __action_table):
...
Add extern to the declarations.
* libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise.
2009-04-22 08:30:03 +00:00
Corinna Vinschen
27378802ea
* ctype.cc (__set_ctype): Copy exact part of the current active
...
character class array.
2009-04-21 20:10:55 +00:00
Corinna Vinschen
c28545227a
* libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
...
_CTYPE_DATA_128_256.
* libc/ctype/ctype_cp.h: Split off all character class values for
character 255 from the rest of the definitions.
(__ctype_cp): Use the new definitions. Make sure that the table
always contains 0 for EOF (-1).
* libc/ctype/ctype_iso.h: Ditto.
2009-04-21 20:09:01 +00:00
Jeff Johnston
161e368ac4
2009-04-21 Sandra Loosemore <sandra@codesourcery.com>
...
* libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout)
(__sf_fake_stderr): Declare locally with weak attribute.
2009-04-21 18:38:53 +00:00
Jeff Johnston
15b71e6679
2009-04-21 Mark Mitchell <mark@codesourcery.com>
...
* 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.
2009-04-21 18:24:59 +00:00
DJ Delorie
6e9c1e8dd5
* mep/Makefile.in (SCRIPTS): Update to new config.
...
* 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.
2009-04-21 18:13:32 +00:00
Joseph Myers
90791a1879
* texinfo/texinfo.tex: Update to version 2009-03-28.05.
2009-04-21 12:36:46 +00:00
Dave Korn
e050f18f22
bfd/ChangeLog
...
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-21 02:13:48 +00:00
Jeff Johnston
bd5f034706
2009-04-20 Jeff johnston <jjohnstn@redhat.com>
...
* 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.
2009-04-20 18:06:14 +00:00
Corinna Vinschen
5698171a3f
* flock.cc (lf_setlock): Handle border case which results in WFMO loop
...
exiting with ret == WAIT_TIMEOUT gracefully. Add a system_printf to
uncover other potential problems with WFMO loop.
2009-04-20 17:13:19 +00:00
Christopher Faylor
b978c43ea0
* mkimport: Specify .text for stub explicitly.
...
* speclib: Add a dummy '.idata$7' section referring to the dll associated with
the real import library.
2009-04-18 17:23:45 +00:00
Corinna Vinschen
855762d6f4
* dcrt0.cc (globify): Only call mbtowc for non-ascii chars.
2009-04-18 11:08:37 +00:00
Jeff Johnston
1b8e360e06
2009-04-17 Jeff johnston <jjohnstn@redhat.com>
...
* 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 22:15:43 +00:00
Jeff Johnston
ad9bb48fbe
2009-04-17 Ken Werner <ken.werner@de.ibm.com>
...
* 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 20:54:19 +00:00
Jeff Johnston
34d6b436e2
2009-04-17 Ken Werner <ken.werner@de.ibm.com>
...
* libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
avoid executable test.
* libc/configure: Regenerate.
2009-04-17 20:50:44 +00:00
Jeff Johnston
e3228f89a4
2009-04-17 Jeff johnston <jjohnstn@redhat.com>
...
* 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 20:48:34 +00:00
Jeff Johnston
9c4032e768
2009-04-17 Jeff johnston <jjohnstn@redhat.com>
...
* 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.
2009-04-17 16:18:17 +00:00
H.J. Lu
33990d814f
bfd/
...
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.
2009-04-17 15:03:47 +00:00
Corinna Vinschen
0351fbd504
* dcrt0.cc (globify): Make multibyte-aware.
2009-04-17 14:51:44 +00:00
Corinna Vinschen
a74869c027
* flock.cc (class inode_t): Add i_wait member and matching methods
...
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.
2009-04-17 13:29:08 +00:00
Ben Elliston
5bbd5ae0bb
* config.sub, config.guess: Update from upstream sources.
2009-04-17 11:40:14 +00:00
Jeff Johnston
c4c8a3fd46
2009-04-16 Jeff johnston <jjohnstn@redhat.com>
...
* libc/misc/init.c (__libc_fini_array): Process fini_array in
reverse order as compliant with the ELF specification.
2009-04-16 19:16:41 +00:00
Jeff Johnston
f22a7456a1
2009-04-16 Ken Werner <ken.werner@de.ibm.com>
...
* libc/machine/spu/Makefile.am: Add new File.
* libc/machine/spu/Makefile.in: Regenerate.
* libc/machine/spu/fdopen.c: New file.
2009-04-16 18:38:23 +00:00
Jeff Johnston
34c5e58ebb
2009-04-16 Hans-Peter Nilsson <hp@axis.com>
...
* libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.
2009-04-16 18:29:51 +00:00
Jeff Johnston
65f414dc16
2009-04-16 Ken Werner <ken.werner@de.ibm.com>
...
* 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.
2009-04-16 18:24:35 +00:00
Nick Clifton
47d39ee0b6
Fix typo in previous commit.
2009-04-16 17:11:21 +00:00
Corinna Vinschen
54155bc37b
* dlfcn.cc (get_full_path_of_dll): Just return a bool value. Drop
...
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.
2009-04-16 16:17:58 +00:00
Nick Clifton
cc0748930b
Add new binutils target: moxie
2009-04-16 15:39:46 +00:00
Corinna Vinschen
03897d8dda
* ntdll.h (STATUS_LOCK_NOT_GRANTED): Define.
...
* syscalls.cc (unlink_nt): Handle STATUS_LOCK_NOT_GRANTED same as
STATUS_SHARING_VIOLATION. Add lengthy comment to explain why.
2009-04-16 12:16:35 +00:00
Corinna Vinschen
8c3a79bb97
* cygpath.cc (do_pathconv): Only skip \\?\ prefix if it's really
...
given. Do backslash to slash conversion for mixed paths after
handling \\?\ prefix.
2009-04-15 10:00:40 +00:00
Corinna Vinschen
ca027229d5
* path.cc (path_conv::get_wide_win32_path): Allow relative paths.
...
(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.
2009-04-15 09:58:41 +00:00
Corinna Vinschen
d370bb56c8
* libc/bsdlib.cc: Align copyright with upstream.
...
* 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.
2009-04-15 08:20:47 +00:00
Christopher Faylor
fcea4c1c3d
* speclib: Really revert to using tempdir.
2009-04-14 15:10:28 +00:00
Christopher Faylor
d295466636
* speclib: Revert to using tempdir.
2009-04-14 14:28:34 +00:00
Corinna Vinschen
51291d61e2
* localtime.cc (tzload): Implement setting __tzrule's offset member
...
using newlib's __gettzinfo () interface also when tzload returns
successfully.
2009-04-14 12:08:07 +00:00
Dave Korn
03d59fb47d
* include/stdint.h (intptr_t): Remove long from type.
...
(uintptr_t): Likewise.
(INTPTR_MIN): Remove 'L' suffix.
(INTPTR_MAX, UINTPTR_MAX): Likewise.
2009-04-13 22:55:00 +00:00
Dave Korn
228f0b11fd
* Makefile.in (dumper.exe): Add -lz to ALL_LDFLAGS.
2009-04-13 22:51:02 +00:00
Christopher Faylor
73bd57524a
* speclib: Initial stab at cleaning up temp files. More work needed.
...
* mkimport: Ditto.
2009-04-12 05:11:08 +00:00
Christopher Faylor
d129941aef
* Makefile.in (clean): Clean globals.h.
...
(LIBCOS): Depend on globals.h.
2009-04-12 04:14:31 +00:00
Christopher Faylor
edd090a270
* mkimport: New script to perform all operations necessary to create
...
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-12 03:19:52 +00:00
Chris Sutcliffe
370a1171d8
2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
...
* 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.
2009-04-11 12:41:09 +00:00
Corinna Vinschen
1b98373a40
* include/stdint.h (INTPTR_MIN, INTPTR_MAX): Add 'L' suffix.
...
(WINT_MAX): Add 'U' suffix.
2009-04-11 08:07:30 +00:00
Christopher Faylor
1318037e44
* speclib: Use a more robust method to derive full file path.
2009-04-10 04:29:25 +00:00
Christopher Faylor
59328e28c4
* speclib: Semi-revert to previous version but don't try to generate
...
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.
2009-04-09 21:02:53 +00:00
Corinna Vinschen
0c4023011d
* syscalls.cc (try_to_bin): Use tmp_pathbuf buffer to allocate infobuf
...
rather than using the stack.
2009-04-09 17:55:01 +00:00
Corinna Vinschen
214a0e67fd
* syscalls.cc (try_to_bin): Fix alignment of infobuf.
2009-04-09 17:00:35 +00:00
H.J. Lu
c2e861da3e
2009-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
...
* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.
* configure: Regenerate.
2009-04-09 15:54:10 +00:00
H.J. Lu
3ac4fba13e
2009-04-09 H.J. Lu <hongjiu.lu@intel.com>
...
PR gas/10039
* configure.ac: Require texinfo 4.7.
* configure: Regenerated.
2009-04-09 15:40:57 +00:00
H.J. Lu
45449169f5
2009-04-09 Steve Ellcey <sje@cup.hp.com>
...
* Makefil.def (languages): New entries.
* Makefile.tpl (check-gcc-*): New generic target.
* Makefile.in: Regenerate.
2009-04-09 15:39:52 +00:00
Corinna Vinschen
a29a769342
* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
...
* 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.
2009-04-09 10:37:58 +00:00