]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 years ago * cygwinenv.xml (cygwinenv-implemented-options): Explain new
Corinna Vinschen [Thu, 23 May 2013 14:26:53 +0000 (14:26 +0000)]
* cygwinenv.xml (cygwinenv-implemented-options): Explain new
winsymliks:nativestrict option.  Strip out description of symlink types
and refer to new pathnames-symlinks section.
* highlights.xml (ov-hi-files): Rip out most of symlink description and
refer to new pathnames-symlinks section instead.
* new-features.xml (ov-new1.7.19): Add CYGWIN=winsymlinks:nativestrict.
* pathnames.xml (pathnames-symlinks): New section describing symbolic
link handling.

11 years ago * environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict"
Corinna Vinschen [Thu, 23 May 2013 14:23:01 +0000 (14:23 +0000)]
* environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict"
option.  On pre-Vista warn the user if the "winsymlinks:native*" option
is set.
* globals.cc (enum winsym_t): Add WSYM_nativestrict.
* path.cc (symlink_native): Don't create native symlink if target
does not exist.  Explain why.  Improve comments.
(symlink_worker): Change AFS symlink handling to WSYM_nativestrict.
Handle WSYM_nativestrict throughout.  Change condition for bail out
to wsym_type == WSYM_nativestrict.  Add comment.  Fix formatting.
* shared_info.h (CURR_USER_MAGIC): Change to reflect change in
class user_info.
(class user_info): Add member warned_nonativesyms.

11 years agoinclude/opcode/
Richard Sandiford [Wed, 22 May 2013 18:08:25 +0000 (18:08 +0000)]
include/opcode/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

* mips.h (M_LQC2_AB, M_SQC2_AB): New macros.

opcodes/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

* mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions.

gas/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

* config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB.

gas/testsuite/
2013-05-22  Jürgen Urban  <JuergenUrban@gmx.de>

* gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ
and SQ macros.
* gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test.
* gas/mips/mips.exp: Run it.

11 years ago * libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.
Corinna Vinschen [Wed, 22 May 2013 17:53:07 +0000 (17:53 +0000)]
* libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.

11 years agoAdd EM_INTEL205 to EM_INTEL209
H.J. Lu [Wed, 22 May 2013 17:02:35 +0000 (17:02 +0000)]
Add EM_INTEL205 to EM_INTEL209

* common.h (EM_INTEL205): New.
(EM_INTEL206): Likewise.
(EM_INTEL207): Likewise.
(EM_INTEL208): Likewise.
(EM_INTEL209): Likewise.

11 years ago * spinlock.h (ULONG): Replace LONG operator with ULONG to accommodate
Corinna Vinschen [Wed, 22 May 2013 16:55:55 +0000 (16:55 +0000)]
* spinlock.h (ULONG): Replace LONG operator with ULONG to accommodate
the fact that CURR_SHARED_MAGIC and USER_SHARED_MAGIC are unsigned
values.
* shared.cc (shared_info::initialize): Drop explicit cast here.

11 years ago * new-features.sgml (ov-new1.7.19): Add arc4random,
Corinna Vinschen [Tue, 21 May 2013 19:10:06 +0000 (19:10 +0000)]
* new-features.sgml (ov-new1.7.19): Add arc4random,
arc4random_addrandom, arc4random_buf, arc4random_stir and
arc4random_uniform.

11 years ago Add missing ChangeLog entry for former checkin.
Corinna Vinschen [Tue, 21 May 2013 19:07:52 +0000 (19:07 +0000)]
Add missing ChangeLog entry for former checkin.

11 years ago * Makefile.in (DLL_OFILES): Add arc4random.o.
Corinna Vinschen [Tue, 21 May 2013 19:04:49 +0000 (19:04 +0000)]
* Makefile.in (DLL_OFILES): Add arc4random.o.
* common.din: Export arc4random, arc4random_addrandom, arc4random_buf,
arc4random_stir and arc4random_uniform.
* mktemp.cc (arc4random): Remove static replacement function.
* posix.sgml (std-bsd): Add arc4random functions.
* include/cygwin/stdlib.h: Declare arc4random functions.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* libc/arc4random.cc: New file implementing arc4random functions taken
from FreeBSD.

11 years ago * globals.cc (__isthreaded): New global variable. Explain what it's
Corinna Vinschen [Tue, 21 May 2013 18:53:23 +0000 (18:53 +0000)]
* globals.cc (__isthreaded): New global variable.  Explain what it's
used for.
* miscfuncs.cc (thread_wrapper): Set __isthreaded to 1 here.

11 years ago * fhandler.h (class fhandler_dev_random): Change type of pseudo to
Corinna Vinschen [Tue, 21 May 2013 18:51:36 +0000 (18:51 +0000)]
* fhandler.h (class fhandler_dev_random): Change type of pseudo to
uint32_t to make sure it's 32 bit on all supported platforms.

11 years ago x86_64 only:
Corinna Vinschen [Tue, 21 May 2013 18:26:48 +0000 (18:26 +0000)]
x86_64 only:
* gendef (_sigfe_maybe): Drop pushing %r12, use %r10 instead since we
don't call yield anymore.
(_sigfe): Ditto.
(_sigbe): Ditto.

11 years ago * new-features.sgml (ov-new1.7.19): Add __b64_ntop and __b64_pton.
Corinna Vinschen [Tue, 21 May 2013 10:11:15 +0000 (10:11 +0000)]
* new-features.sgml (ov-new1.7.19): Add __b64_ntop and __b64_pton.

11 years ago * libc/base64.c: New file.
Corinna Vinschen [Tue, 21 May 2013 10:07:55 +0000 (10:07 +0000)]
* libc/base64.c: New file.
* Makefile.in (DLL_OFILES): Add base64.o.
* common.din: Export __b64_ntop and __b64_pton.
* posix.sgml (std-bsd): Add __b64_ntop and __b64_pton.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

11 years ago * syscalls.cc (open): Only return ENOTDIR if file exists.
Corinna Vinschen [Tue, 21 May 2013 10:04:45 +0000 (10:04 +0000)]
* syscalls.cc (open): Only return ENOTDIR if file exists.

11 years ago Reinstantiate accidentally removed patch from 2009-05-16:
Corinna Vinschen [Tue, 21 May 2013 09:32:12 +0000 (09:32 +0000)]
Reinstantiate accidentally removed patch from 2009-05-16:
* Makefile.in (cygpath.exe): Link against cygwin.a before linking
against ntdll.dll to avoid linking symbols defined in both DLLs
from ntdll.
(ps.exe): Ditto.

11 years ago * libc/reent/reent.c (_wrapup_reent): Remove.
Corinna Vinschen [Thu, 16 May 2013 12:29:28 +0000 (12:29 +0000)]
* libc/reent/reent.c (_wrapup_reent): Remove.

11 years ago* sigproc.cc (sig_hold): Delete.
Christopher Faylor [Thu, 16 May 2013 05:36:15 +0000 (05:36 +0000)]
* sigproc.cc (sig_hold): Delete.
(sigheld): Delete.
(sig_send): Eliminate special-case __SIGHOLD handling.
(wait_sig): Just flag when signals are on hold and add them to the queue rather
than stalling the wait_sig loop.  Clear the flag when __SIGNOHOLD is specified.

11 years ago * Makefile.in (devices_CFLAGS): Drop -Os.
Corinna Vinschen [Tue, 14 May 2013 17:28:45 +0000 (17:28 +0000)]
* Makefile.in (devices_CFLAGS): Drop -Os.

11 years ago * Makefile.in (localtime_CFLAGS): Define as -fwrapv since localtime
Corinna Vinschen [Tue, 14 May 2013 13:34:05 +0000 (13:34 +0000)]
* Makefile.in (localtime_CFLAGS): Define as -fwrapv since localtime
code requires int overflows to be fully defined.
* localtime.cc: Align a bit more to upstream code.

11 years ago * grp.cc (get_groups): Convert to void function.
Corinna Vinschen [Tue, 14 May 2013 09:07:30 +0000 (09:07 +0000)]
* grp.cc (get_groups): Convert to void function.
(initgroups32): Accommodate the aforementioned change.
(getgrouplist): Ditto.

11 years ago * grp.cc (get_groups): Never return error. Always create a group list,
Corinna Vinschen [Tue, 14 May 2013 08:50:37 +0000 (08:50 +0000)]
* grp.cc (get_groups): Never return error.  Always create a group list,
even if it's empty.

11 years agoAdded Wishlist file, based on my FURTHER WORK proposal to the -patches
Warren Young [Mon, 13 May 2013 22:00:44 +0000 (22:00 +0000)]
Added Wishlist file, based on my FURTHER WORK proposal to the -patches
list on April 29.

11 years agoMissed MAINTAINERS entry from previous commit.
DJ Delorie [Mon, 13 May 2013 21:40:50 +0000 (21:40 +0000)]
Missed MAINTAINERS entry from previous commit.

11 years ago[newlib]
DJ Delorie [Mon, 13 May 2013 21:39:51 +0000 (21:39 +0000)]
[newlib]
* configure.host (msp430): Add.
* libc/include/machine/ieeefp.h: Add MSP430 support.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/configure.in (msp430): Add.
* libc/machine/configure: Regenerate.
* libc/machine/msp430: New directory.

[libgloss]
* configure.in (msp430*-*-elf): Add.
* configure: Regenerate.
* msp430: New directory.

11 years agoRemoved setup.xml and cygwin-ug.xml: they were not inputs to any of the
Warren Young [Mon, 13 May 2013 21:17:22 +0000 (21:17 +0000)]
Removed setup.xml and cygwin-ug.xml: they were not inputs to any of the
documentation outputs.  Apparently they were the predecessors of
setup-net.xml and cygwin-ug-net.xml.  I don't know if for a time there
were parallel versions of the manuals and one fork died, or if the cutover
was clean and the old versions were just never removed.  Either way,
they're dead junk now.

11 years ago* include/cygwin/version.h: Bump api minor number to reflect previous change.
Christopher Faylor [Mon, 13 May 2013 19:27:34 +0000 (19:27 +0000)]
* include/cygwin/version.h: Bump api minor number to reflect previous change.

11 years ago* i686.din: Remove _strtold.
Christopher Faylor [Mon, 13 May 2013 19:25:35 +0000 (19:25 +0000)]
* i686.din: Remove _strtold.
* x86_64.din: Move strtold definition...
* common.din: ...to here.

11 years ago2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
Jeff Johnston [Fri, 10 May 2013 20:14:33 +0000 (20:14 +0000)]
2013-05-10  Freddie Chopin  <freddie_chopin@op.pl>

        * configure.in: Fix help text for disable-newlib-atexit-dynamic-alloc option.
        * configure: Regenerated.

11 years ago- Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty-
Warren Young [Fri, 10 May 2013 15:58:48 +0000 (15:58 +0000)]
- Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty-
  printed it.
- Removed obsolete utils.sgml
- Added a ChangeLog entry for this replacement, which partially took
  place days ago.  This checkin formalizes the switch from SGML to
  DocBook XML for this file.

11 years agobinutils/ChangeLog:
Andrew Pinski [Fri, 10 May 2013 01:08:48 +0000 (01:08 +0000)]
binutils/ChangeLog:
* doc/binutils.texi: Document -Mvirt disassembler option.

gas/ChangeLog:
* config/tc-mips.c (struct mips_set_options): New ase_virt field.
(mips_opts): Update for the new field.
(file_ase_virt): New variable.
(ISA_SUPPORTS_VIRT_ASE): New macro.
(ISA_SUPPORTS_VIRT64_ASE): New macro.
(MIPS_CPU_ASE_VIRT): New define.
(is_opcode_valid): Handle ase_virt.
(macro_build): Handle "+J".
(validate_mips_insn): Likewise.
(mips_ip): Likewise.
(enum options): Add OPTION_VIRT and OPTION_NO_VIRT.
(md_longopts): Add mvirt and mnovirt
(md_parse_option): Handle OPTION_VIRT and OPTION_NO_VIRT.
(mips_after_parse_args): Handle ase_virt field.
(s_mipsset): Handle "virt" and "novirt".
(mips_elf_final_processing): Add a comment about virt ASE might need a new flag.
(md_show_usage): Print out the usage of -mvirt and mno-virt options.
* doc/c-mips.texi: Document -mvirt and -mno-virt.
Document ".set virt" and ".set novirt".

gas/testsuite/ChangeLog:
* gas/mips/mips.exp: Run virt and virt64 testcases.
* gas/mips/virt.d: New file.
* gas/mips/virt.s: New file.
* gas/mips/virt64.d: New file.
* gas/mips/virt64.s: New file.

include/opcode/ChangeLog:
* mips.h (OP_MASK_CODE10): Correct definition.
(OP_SH_CODE10): Likewise.
Add a comment that "+J" is used now for OP_*CODE10.
(INSN_ASE_MASK): Update.
(INSN_VIRT): New macro.
(INSN_VIRT64): New macro

opcodes/ChangeLog:
* mips-dis.c (mips_arch_choices): Add INSN_VIRT to mips32r2 .
Add INSN_VIRT and INSN_VIRT64 to mips64r2.
(parse_mips_dis_option): Handle the virt option.
(print_insn_args): Handle "+J".
(print_mips_disassembler_options): Print out message about virt64.
* mips-opc.c (IVIRT): New define.
(IVIRT64): New define.
(mips_builtin_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0,
tlbgr, tlbgwi, tlbginv, tlbginvf, tlbgwr, tlbgp VIRT instructions.
Move rfe to the bottom as it conflicts with tlbgp.

11 years ago2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Wed, 8 May 2013 23:13:51 +0000 (23:13 +0000)]
2013-05-07  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libc/include/sys/config.h (_REENT_GLOBAL_ATEXIT): Define for
        RTEMS.
        * libc/include/sys/reent.h (_reent): Use _REENT_GLOBAL_ATEXIT.
        (_global_atexit): Declare if _REENT_GLOBAL_ATEXIT is defined.
        * libc/reent/reent.c (_reclaim_reent): Remove atexit cleanup if
        _REENT_GLOBAL_ATEXIT is defined.
        (_wrapup_reent): Remove atexit handling if _REENT_GLOBAL_ATEXIT
        is defined.
        * libc/stdlib/__atexit.c (_global_atexit0): Define if
        _REENT_GLOBAL_ATEXIT is defined.
        * libc/stdlib/__call_atexit.c (_global_atexit): Define if
        _REENT_GLOBAL_ATEXIT is defined.

11 years agochange wording
Christopher Faylor [Wed, 8 May 2013 00:10:35 +0000 (00:10 +0000)]
change wording

11 years ago* fhandler_tty.cc (fhandler_pty_common::__acquire_output_mutex): Never wait an
Christopher Faylor [Wed, 8 May 2013 00:10:08 +0000 (00:10 +0000)]
* fhandler_tty.cc (fhandler_pty_common::__acquire_output_mutex): Never wait an
INFINITE amount of time.  Instead default to 1/10 second.
(fhandler_pty_slave::open): Just default to INFINITE wait rather than
(now) waiting longer than previously.

11 years ago2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Tue, 7 May 2013 21:40:10 +0000 (21:40 +0000)]
2013-05-07  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/include/sys/reent.h (_ATEXIT_INIT): Define.
(_ATEXIT_INIT_PTR): Likewise.
(_REENT_INIT_ATEXIT): Likewise.
(_REENT_INIT_ATEXIT_PTR): Likewise.
(_GLOBAL_ATEXIT): Likewise.
* libc/stdlib/__atexit.c (_GLOBAL_ATEXIT0): Define.
(__register_exitproc): Use _GLOBAL_ATEXIT and _GLOBAL_ATEXIT0.
* libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise.
-

11 years ago2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Tue, 7 May 2013 18:24:14 +0000 (18:24 +0000)]
2013-05-07  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libc/stdlib/__atexit.c (__atexit_lock): Declare.
        * libc/stdlib/__call_atexit.c (__atexit_lock): Define.

11 years agofix typo
Christopher Faylor [Mon, 6 May 2013 23:32:38 +0000 (23:32 +0000)]
fix typo

11 years agoReverted XInclude in cygwin-api.in.xml from an XInclude to a DOCTOOL
Warren Young [Mon, 6 May 2013 21:20:41 +0000 (21:20 +0000)]
Reverted XInclude in cygwin-api.in.xml from an XInclude to a DOCTOOL
include.  You can't mix the two fragment inclusion mechanisms within
a single document because of the way it interacts with autoconf "build
in separate tree" mechanism.  Either work separately, but they fail when
you try to use them together due to the way doctool chooses output
directories for its generated files.

11 years ago2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston [Mon, 6 May 2013 18:31:56 +0000 (18:31 +0000)]
2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>

        * COPYING.NEWLIB: Add Altera Corporation copyright.

11 years ago2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston [Mon, 6 May 2013 18:23:09 +0000 (18:23 +0000)]
2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>

        * configure.host (machine_dir, sys_dir, syscall_dir, newlib_cflags):
        Add settings for nios2*.
        * libc/include/machine/ieeefp.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN):
        Likewise.
        * libc/include/machine/setjmp.h (JBLEN, JBTYPE): Likewise.
        * libc/machine/configure.in: Add nios2 subdir.
        * libc/machine/configure: Regenerated.
        * libc/machine/nios2/Makefile.am: New.
        * libc/machine/nios2/Makefile.in: New (autogenerated).
        * libc/machine/nios2/aclocal.m4: New (copied from mips version).
        * libc/machine/nios2/configure.in: New.
        * libc/machine/nios2/configure: New (autogenerated).
        * libc/machine/nios2/setjmp.s: New.

11 years ago2013-05-06 Paul Brook <paul@codesourcery.com>
Catherine Moore [Mon, 6 May 2013 15:25:45 +0000 (15:25 +0000)]
2013-05-06  Paul Brook  <paul@codesourcery.com>

        include/elf/
        * mips.h (R_MIPS_PC32): Update comment.

        * elf64-mips.c (elf_mips_gnu_pcrel32): New.
        (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup,
        mips_elf64_rtype_to_howto): Handle R_MIPS_PC32.
        * elfn32-mips.c (elf_mips_gnu_pcrel32): New.
        (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup,
        mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32.

2013-05-06  Paul Brook  <paul@codesourcery.com>
    Catherine Moore  <clm@codesourcery.com>

        gas/
        * config/tc-mips.c (md_pcrel_from): Handle BFD_RELOC_32_PCREL.
        (limited_pcrel_reloc_p): Likewise.
(md_apply_fix): Likewise.
(tc_gen_reloc): Likewise.

11 years ago* Makefile (FAQ_SOURCES): Use wildcard function to find sources in srcdir.
Christopher Faylor [Fri, 3 May 2013 20:41:12 +0000 (20:41 +0000)]
* Makefile (FAQ_SOURCES): Use wildcard function to find sources in srcdir.

11 years ago* spawn.cc (ILLEGAL_SIG_FUNC_PTR): New define.
Christopher Faylor [Fri, 3 May 2013 19:39:01 +0000 (19:39 +0000)]
* spawn.cc (ILLEGAL_SIG_FUNC_PTR): New define.
(system_call_handle): Rename from system_call_cleanup.
(is_system_call): New convenience method.
(system_call_handle::system_call_handle): Use ILLEGAL_SIG_FUNC_PTR rather than
cast.  Call sig_send here rather than in caller.  Initialize oldint.
(system_call_handle::arm): New function pulled from constructor.
(~system_call_handle::system_call_handle): Use is_system_call().
(child_info_spawn::worker): Use system_call_handle to set up for system call
early.  Use arm call prior to waiting for child to properly set up signal
handling.  Move comment closer to code it is commenting on.

11 years ago * archures.c: Add some more MSP430 machine numbers.
Nick Clifton [Thu, 2 May 2013 21:06:14 +0000 (21:06 +0000)]
* archures.c: Add some more MSP430 machine numbers.
* config.bfd (msp430): Define targ_selvecs.
* configure.in: Add bfd_elf32_msp430_ti_vec.
* cpu-msp430.c: Add some more MSP430 machine numbers.
* elf32-msp430.c Add support for MSP430X relocations.
Add support for TI compiler generated relocations.
Add support for sym_diff relocations.
Add support for relaxing out of range short branches into long
branches.
Add support for MSP430 attribute section.
* reloc.c: Add MSP430X relocations.
* targets.c: Add bfd_elf32_msp430_ti_vec.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* libbfd.h: Regenerate.

* readelf.c: Add support for MSP430X architecture.

* readelf.exp: Expect -wi test to fail for the MSP430.

* config/tc-msp430.c: Add support for the MSP430X architecture.
Add code to insert a NOP instruction after any instruction that
might change the interrupt state.
Add support for the LARGE memory model.
Add code to initialise the .MSP430.attributes section.
* config/tc-msp430.h: Add support for the MSP430X architecture.
* doc/c-msp430.texi: Document the new -mL and -mN command line
options.
* NEWS: Mention support for the MSP430X architecture.

* gas/all/gas.exp: Skip the DIFF1 test for the MSP430.
Expect the FORWARD test to pass for the MSP430.
Skip the REDEF tests for the MSP430.
Expect the 930509A test to fail for the MSP430.
* gas/all/sleb128-4.d: Skip for the MSP430.
* gas/elf/elf.exp: Set target_machine to msp430 for the MSP430.
Skip the EHOPT0 test for the MSP430.
Skip the REDEF and EQU-RELOC tests for the MSP430.
* gas/elf/section2.e-msp430: New file.
* gas/lns/lns-big-delta.d: Remove expectation of 20-bit
addresses.
* gas/lns/lns.exp: Use alternate LNS COMMON test for the MSP430.
* gas/msp430/msp430x.s: New test.
* gas/msp430/msp430x.d: Expected disassembly.
* gas/msp430/msp430.exp: Run new test.
* gas/msp430/opcode.d: Update expected disassembly.

* msp430.h: Add MSP430X relocs.
Add some more MSP430 machine numbers.
Add values used by .MSP430.attributes section.

* msp430.h: Add patterns for MSP430X instructions.

* Makefile.am: Add emsp430X.c
* Makefine.in: Regenerate.
* configure.tgt (msp430): Add msp430X emulation.
* ldmain.c (multiple_definition): Only disable relaxation if it
was enabled by the user.
* ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
* emulparams/msp430all.sh: Add support for MSP430X.
* emultempl/generic.em: (before_parse): Enable relaxation for the
MSP430.
* scripttempl/msp430.sc: Reorganize sections.  Add .rodata
section.
* scripttempl/msp430_3.sc: Likewise.
* NEWS: Mention support for MSP430X.

* ld-elf/flags1.d: Expect this test to pass on the MSP430.
* ld-elf/init-fini-arrays.d: Expect this test to fail on the
MSP430.
* ld-elf/merge.d: Expect this test to pass on the MSP430.
* ld-elf/sec64k.exp: Skip these tests for the MSP430.
* ld-gc/pr13683.d: Expect this test to fail on the MSP430.
* ld-srec/srec.exp: Expect these tests to fail on the MSP430.
* ld-undefined/undefined.exp: Expect the UNDEFINED LINE test to
fail on the MSP430.

* msp430-dis.c: Add support for MSP430X instructions.

11 years agoGenerating faq/faq.body automatically from faq/faq.html whenever latter
Warren Young [Thu, 2 May 2013 00:10:15 +0000 (00:10 +0000)]
Generating faq/faq.body automatically from faq/faq.html whenever latter
is updated, using new bodysnatcher.pl script.

11 years agoInitial; ignoring generated files.
Warren Young [Wed, 1 May 2013 23:34:58 +0000 (23:34 +0000)]
Initial; ignoring generated files.

11 years agoModernized user guide, API reference, and FAQ generation. Overall
Warren Young [Wed, 1 May 2013 23:30:25 +0000 (23:30 +0000)]
Modernized user guide, API reference, and FAQ generation.  Overall
effect is to move away from DocBook SGML and DJ Delorie's doctool and
toward pure DocBook XSL.  (There remains just one use of doctool, and
we have plans for replacing it, too.)  See ChangeLog for details.

11 years ago* resource.cc (setrlimit): Use consistent commenting style. Return EINVAL when
Christopher Faylor [Wed, 1 May 2013 21:19:51 +0000 (21:19 +0000)]
* resource.cc (setrlimit): Use consistent commenting style.  Return EINVAL when
rlim_cur > rlim_max.

11 years agoThroughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatch
Yaakov Selkowitz [Wed, 1 May 2013 01:20:37 +0000 (01:20 +0000)]
Throughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatch
warnings between regparm definitions and declarations.
* smallprint.cc (__small_vswprintf): Conditionalize declaration and
setting of l_opt for only x86_64.
* spawn.cc (child_info_spawn::worker): Remove unused 'pid' variable.
* thread.cc (verifyable_object_isvalid): Temporarily define as
non-inline with gcc 4.7+, regardless of target.

11 years ago* gendef: Fix sigfe.s typo.
Christopher Faylor [Wed, 1 May 2013 01:15:07 +0000 (01:15 +0000)]
* gendef: Fix sigfe.s typo.

11 years ago* spawn.cc (system_call_cleanup): Rename from pthread_cleanup. Extend
Christopher Faylor [Tue, 30 Apr 2013 23:51:08 +0000 (23:51 +0000)]
* spawn.cc (system_call_cleanup): Rename from pthread_cleanup.  Extend
functionality.
(system_call_cleanup::system_call_cleanup): Set up signals like system()
requires.  Unblock previously-blocked signal handling.
(system_call_cleanup::~system_call_cleanup): Restore signal handling after
system().
(child_info_spawn::worker): Put signals on hold and use system_call_cleanup
class to set and restore signals rather than doing it prior to to running the
program.  Remove the ill-conceived pthread_cleanup stuff.

11 years ago* exceptions.cc (cygwin_exception::dumpstack): Guard against wild pointer
Christopher Faylor [Tue, 30 Apr 2013 23:47:01 +0000 (23:47 +0000)]
* exceptions.cc (cygwin_exception::dumpstack): Guard against wild pointer
dereference.
(CYG_EXC_CONTINUE_EXECUTION): Define based on standard Windows definition.
(CYG_EXC_CONTINUE_SEARCH): Ditto.
(exception::handle): Move andreas detection earlier.  Make comment clearer.
(signal_exit): Set core-dumped flag.

11 years agoSigh. Another missing checkin.
Christopher Faylor [Tue, 30 Apr 2013 23:44:06 +0000 (23:44 +0000)]
Sigh.  Another missing checkin.

11 years agomissing checkin
Christopher Faylor [Tue, 30 Apr 2013 23:43:28 +0000 (23:43 +0000)]
missing checkin

11 years ago* i686.din: New file.
Christopher Faylor [Tue, 30 Apr 2013 23:43:08 +0000 (23:43 +0000)]
* i686.din: New file.
* x86_64.din: New file.
* common.din: New file.
* cygwin.din: Delete.
* cygwin64.din: Delete.
* gendef: Rework to take options rather than using positional parameters.
Accept multiple files as input.

11 years ago2013-04-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Tue, 30 Apr 2013 12:40:42 +0000 (12:40 +0000)]
2013-04-30  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

config/
* picflag.m4: Merge from GCC.
* dfp.m4: Ditto.
* bootstrap-asan.mk: Ditto.
* ChangeLog: Ditto.

11 years ago* autoload.cc (CreateSymbolicLinkW): Rename from CreateSymbolicLink.
Christopher Faylor [Tue, 30 Apr 2013 00:52:46 +0000 (00:52 +0000)]
* autoload.cc (CreateSymbolicLinkW): Rename from CreateSymbolicLink.

11 years ago2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Mon, 29 Apr 2013 21:06:23 +0000 (21:06 +0000)]
2013-04-29  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/stdio/local.h (CHECK_INIT): Evaluate argument only once.
(CHECK_STD_INIT): Likewise.
* libc/stdio/fgetc.c (fgetc): Use local variable for _REENT.
* libc/stdio/fgetwc.c (fwgetc): Likewise.
* libc/stdio/fgetws.c (fgetws): Likewise.
* libc/stdio/fputc.c (fputc): Likewise.
* libc/stdio/fputwc.c (fputwc): Likewise.
* libc/stdio/fputws.c (fputws): Likewise.
* libc/stdio/getc.c (getc): Likewise.
* libc/stdio/getchar.c (_getchar_r): Likewise.
* libc/stdio/putc.c (putc): Likewise.
* libc/stdio/putchar.c (putchar): Likewise.
* libc/stdio/scanf.c (scanf): Likewise.
* libc/stdio/setvbuf.c (setvbuf): Likewise.
* libc/stdio/ungetwc.c (ungetwc): Likewise.
* libc/stdio/vfscanf.c (VFSCANF): Likewise.
* libc/stdio/vfwscanf.c (VFWSCANF): Likewise.
* libc/stdio/viprintf.c (viprintf): Likewise.
* libc/stdio/viscanf.c (viscanf): Likewise.
* libc/stdio/vprintf.c (vprintf): Likewise.
* libc/stdio/vscanf.c (vscanf): Likewise.
* libc/stdio/vwprintf.c (vwprintf): Likewise.
* libc/stdio/vwscanf.c (vwscanf): Likewise.
* libc/stdio/wscanf.c (wscanf): Likewise.
* libc/stdlib/ecvtbuf.c (fcvtbuf): Likewise.
(fcvtbuf): Likewise.
(ecvtbuf): Likewise.
(ecvtbuf): Likewise.
* libc/stdlib/mblen.c (mblen): Likewise.
* libc/stdlib/mbrlen.c (mbrlen): Likewise.
* libc/stdlib/mbrtowc.c (mbrtowc): Likewise.
* libc/stdlib/mbtowc.c (mbtowc): Likewise.
* libc/stdlib/rand.c (srand): Likewise.
(rand): Likewise.
* libc/stdlib/wcrtomb.c (wcrtomb): Likewise.
* libc/stdlib/wctob.c (wctob): Likewise.
* libc/stdlib/wctomb.c (wctomb): Likewise.
* libc/string/strtok.c (strtok): Likewise.
* libc/time/asctime.c (asctime): Likewise.
* libc/time/gmtime.c (gmtime): Likewise.
* libc/time/lcltime.c (lcltime): Likewise.

11 years ago2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston [Mon, 29 Apr 2013 20:56:05 +0000 (20:56 +0000)]
2013-04-29  Sebastian Huber <sebastian.huber@embedded-brains.de>

        * libc/include/sys/reent.h (_REENT_INIT_PTR): Reduce code size.

11 years ago2013-04-29 Freddie Chopin <freddie_chopin@op.pl>
Jeff Johnston [Mon, 29 Apr 2013 20:02:34 +0000 (20:02 +0000)]
2013-04-29  Freddie Chopin  <freddie_chopin@op.pl>

        * libc/libc.texinfo: Fix @ references and change ifinfo to be
        ifnottexinfo.
        * libm/libm.texinfo: Ditto.

11 years ago * config.guess: Update from config repo.
Jan-Benedict Glaw [Mon, 29 Apr 2013 15:13:53 +0000 (15:13 +0000)]
* config.guess: Update from config repo.
* config.sub: Ditto.

11 years ago * fcntl.cc (fcntl): Define as export alias for fcntl64 on x86_64.
Corinna Vinschen [Fri, 26 Apr 2013 18:20:17 +0000 (18:20 +0000)]
* fcntl.cc (fcntl): Define as export alias for fcntl64 on x86_64.

11 years ago2013-04-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Thu, 25 Apr 2013 15:29:19 +0000 (15:29 +0000)]
2013-04-25  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): New define.
* libc/stdio/findfp.c (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Use define.

11 years ago * faq-programming.xml (faq.programming.64bitporting): Fix typo.
Corinna Vinschen [Thu, 25 Apr 2013 10:16:01 +0000 (10:16 +0000)]
* faq-programming.xml (faq.programming.64bitporting): Fix typo.

11 years ago * faq-programming.xml (faq.programming.64bitporting): Extend entry.
Corinna Vinschen [Thu, 25 Apr 2013 10:14:26 +0000 (10:14 +0000)]
* faq-programming.xml (faq.programming.64bitporting): Extend entry.
(faq.programming.64bitporting-fail): New entry.
(faq.programming.64bitporting-cygwin64): New entry.

11 years ago * faq-programming.xml (faq.programming.64bitporting): Mention the
Corinna Vinschen [Wed, 24 Apr 2013 17:33:30 +0000 (17:33 +0000)]
* faq-programming.xml (faq.programming.64bitporting): Mention the
-Wformat and -Wall gcc options.

11 years ago * faq-programming.xml (faq.programming.64bitporting): New FAQ entry.
Corinna Vinschen [Wed, 24 Apr 2013 16:09:43 +0000 (16:09 +0000)]
* faq-programming.xml (faq.programming.64bitporting): New FAQ entry.
(faq.programming.objective-c): Include gcc4.
(faq.programming.make-execvp): Drop text discouraging usage of -j.
(faq.programming.undeclared-functions): Drop entry.
(faq.programming.x86-assembly): Ditto.
(faq.programming.djgpp): Ditto.

11 years agoFix date in latest ChangeLog entry
Corinna Vinschen [Wed, 24 Apr 2013 16:06:55 +0000 (16:06 +0000)]
Fix date in latest ChangeLog entry

11 years ago * libc/stdlib/strtod.c: Manual update to latest algorithm from NetBSD.
Corinna Vinschen [Wed, 24 Apr 2013 10:21:16 +0000 (10:21 +0000)]
* libc/stdlib/strtod.c: Manual update to latest algorithm from NetBSD.

11 years ago * cygwinenv.sgml (cygwinenv-implemented-options): Change description
Corinna Vinschen [Wed, 24 Apr 2013 10:18:08 +0000 (10:18 +0000)]
* cygwinenv.sgml (cygwinenv-implemented-options): Change description
for winsymlink option to explain new implementation.
* new-features.sgml (ov-new1.7.19): Add support for native symlinks and
AFS.

11 years ago * autoload.cc (CreateSymbolicLink): Define.
Corinna Vinschen [Wed, 24 Apr 2013 10:16:13 +0000 (10:16 +0000)]
* autoload.cc (CreateSymbolicLink): Define.
* environ.cc (set_winsymlinks): Set allow_winsymlinks.
(parse_thing): Change "winsymlinks" to set by function.
* globals.cc (enum winsym_t): Define.
(allow_winsymlinks): Define as winsym_t.
(ro_u_afs): New R/O Unicode string.
* mount.cc (fs_info::update): Fix comment.  Handle AFS.
(fs_names): Add "afs".
* mount.h (enum fs_info_type): Add afs.
(class fs_info): Implement afs.
* path.cc (symlink): Drop third parameter in call to symlink_worker.
(symlink_nfs): New function.
(symlink_native): New function.
(symlink_worker): Drop third argument.  Handle native symlink type by
calling symlink_native.  Move code to handle NFS to symlink_nfs.  Fix
formatting.  Slightly restructure code.
* path.h (class path_conv): Add fs_is_afs method.
(symlink_worker): Declare here.
* security.h: Define privilege constants as unsigned int instead of as
unsigned long.
* syscalls.cc (mknod_worker): Set third parameter in symlink_worker
call to WSYM_lnk.
* winsup.h (symlink_worker): Drop declaration here.

11 years agoForced checkin
Corinna Vinschen [Tue, 23 Apr 2013 19:36:21 +0000 (19:36 +0000)]
Forced checkin

11 years ago * Throughout, eliminate Windows 2000 from the documentation.
Corinna Vinschen [Tue, 23 Apr 2013 15:59:21 +0000 (15:59 +0000)]
* Throughout, eliminate Windows 2000 from the documentation.
* overview.sgml (brief-history): Mention native AMD64 support.

11 years ago * Makefile.in (SGMLDIRS): Accommodate dropping utils_source and
Corinna Vinschen [Tue, 23 Apr 2013 15:49:08 +0000 (15:49 +0000)]
* Makefile.in (SGMLDIRS): Accommodate dropping utils_source and
cygwin_source from ../Makefile.common.
* new-features.sgml (ov-new1.7.19): New section.  Document dropped
support for pre-XP SP3 and added support for 64 bit Cygwin.

11 years ago*** empty log message ***
Corinna Vinschen [Tue, 23 Apr 2013 14:58:20 +0000 (14:58 +0000)]
*** empty log message ***

11 years ago * cygwin64.din (_setjmp): Export.
Corinna Vinschen [Tue, 23 Apr 2013 10:03:39 +0000 (10:03 +0000)]
* cygwin64.din (_setjmp): Export.
(_longjmp): Export.

11 years ago * Merge in cygwin-64bit-branch.
Corinna Vinschen [Tue, 23 Apr 2013 09:44:36 +0000 (09:44 +0000)]
* Merge in cygwin-64bit-branch.

11 years ago Port newlib to x86_64-pc-cygwin.
Corinna Vinschen [Tue, 23 Apr 2013 09:42:25 +0000 (09:42 +0000)]
Port newlib to x86_64-pc-cygwin.
* libc/include/sys/features.h: Redefine compilation environment
definitions for Cygwin to cover 64 bit Cygwin.
* libc/ctype/ctype_.c (_ctype_): Fix definition for 64 bit Cygwin.
* libc/include/machine/setjmp.h: Change definition of _JBLEN to allow
different values for 32 bit and 64 bit Cygwin.
* libc/include/reent.h (stat64): Define as stat under Cygwin, instead
of as __stat64.  Undef stat64 if not building Newlib.
* libc/include/sys/stat.h (stat64): Define as stat under Cygwin.

11 years ago2013-04-22 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Mon, 22 Apr 2013 17:11:22 +0000 (17:11 +0000)]
2013-04-22  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* Makefile.def: Sync with GCC.
* Makefile.in: Regenerate.

11 years ago2013-04-22 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Mon, 22 Apr 2013 15:25:09 +0000 (15:25 +0000)]
2013-04-22  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Sync with GCC.
* configure: Regenerated.

11 years ago * include/sys/queue.h: Delete in favor of more complete newlib file.
Corinna Vinschen [Mon, 22 Apr 2013 10:35:02 +0000 (10:35 +0000)]
* include/sys/queue.h: Delete in favor of more complete newlib file.

11 years ago Adapt to changes in newlib's sys/cdefs.h:
Corinna Vinschen [Mon, 22 Apr 2013 10:33:09 +0000 (10:33 +0000)]
Adapt to changes in newlib's sys/cdefs.h:
* include/sys/sysinfo.h (struct sysinfo): Rename __unused member to __f.
* libc/fts.c (__FBSDID): Drop definition.
* regex/regexec.c (__unused): Drop definition.

11 years ago * libc/include/sys/cdefs.h: Align with latest FreeBSD file header.
Corinna Vinschen [Mon, 22 Apr 2013 10:28:05 +0000 (10:28 +0000)]
* libc/include/sys/cdefs.h: Align with latest FreeBSD file header.
* libc/include/sys/features.h (__GNUC_PREREQ__): Define.

11 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 19.
Corinna Vinschen [Mon, 22 Apr 2013 10:13:30 +0000 (10:13 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 19.

11 years ago2013-04-19 Steve Ellcey <sellcey@imgtec.com>
Steve Ellcey [Fri, 19 Apr 2013 22:06:34 +0000 (22:06 +0000)]
2013-04-19  Steve Ellcey  <sellcey@imgtec.com>

* mips/cfe_api.h (int64_t): Remove define.
(uint64_t): Remove define.
(intptr_t): Remove define.
(uintptr_t): Remove define.
(sys/types.h): Remove include.
(_ansi.h): Remove include.

11 years ago[AArch64] Honour CFLAGS.
Marcus Shawcroft [Fri, 19 Apr 2013 14:24:45 +0000 (14:24 +0000)]
[AArch64] Honour CFLAGS.

2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>

* aarch64/Makefile.in (rdimon-crt0.o, rdimon-trap.o)
(rdimon-_exit.o, rdimon-_kill.o, rdimon-syscalls.o)
(rdimon-libcfunc.o): Add $(CFLAGS) to the compiler command line.
* aarch64/cpu-init/Makefile.in (${CPU_INIT_OBJS}): Add $(CFLAGS)
to the compiler command line.

11 years ago * newlib/libc/search/hash.c: Revert patch from 2012-08-08.
Corinna Vinschen [Fri, 19 Apr 2013 09:13:27 +0000 (09:13 +0000)]
* newlib/libc/search/hash.c: Revert patch from 2012-08-08.

11 years ago * libc/sys/rtems/sys/queue.h: Delete file.
Corinna Vinschen [Tue, 16 Apr 2013 10:25:16 +0000 (10:25 +0000)]
* libc/sys/rtems/sys/queue.h: Delete file.
* libc/include/sys/cdefs.h (__containerof): New define.
(__DEQUALIFY): Likewise.
* libc/include/sys/queue.h (TRACEBUF_INITIALIZER): Likewise.
(TRACEBUF): Likewise.
(LIST_FOREACH_SAFE): Likewise.
(LIST_PREV): Likewise.
(LIST_SWAP): Likewise.
(QMD_LIST_CHECK_HEAD): Likewise.
(QMD_LIST_CHECK_NEXT): Likewise.
(QMD_LIST_CHECK_PREV): Likewise.
(QMD_SAVELINK): Likewise.
(QMD_TAILQ_CHECK_HEAD): Likewise.
(QMD_TAILQ_CHECK_NEXT): Likewise.
(QMD_TAILQ_CHECK_PREV): Likewise.
(QMD_TAILQ_CHECK_TAIL): Likewise.
(QMD_TRACE_ELEM): Likewise.
(QMD_TRACE_HEAD): Likewise.
(SLIST_FOREACH_PREVPTR): Likewise.
(SLIST_FOREACH_SAFE): Likewise.
(SLIST_REMOVE_AFTER): Likewise.
(SLIST_SWAP): Likewise.
(STAILQ_FOREACH_SAFE): Likewise.
(STAILQ_REMOVE_AFTER): Likewise.
(STAILQ_SWAP): Likewise.
(TAILQ_FOREACH_REVERSE_SAFE): Likewise.
(TAILQ_FOREACH_SAFE): Likewise.
(TAILQ_SWAP): Likewise.
(TRASHIT): Likewise.
(SLIST_REMOVE): Use SLIST_REMOVE_AFTER().
(STAILQ_LAST): Use __containerof().
(STAILQ_REMOVE): Use STAILQ_REMOVE_AFTER().

11 years ago * glob.cc: Include winsup.h before anything else.
Corinna Vinschen [Tue, 16 Apr 2013 10:20:25 +0000 (10:20 +0000)]
* glob.cc: Include winsup.h before anything else.

11 years ago2013-04-12 Will Newton <will.newton@linaro.org>
Jeff Johnston [Fri, 12 Apr 2013 22:12:29 +0000 (22:12 +0000)]
2013-04-12  Will Newton  <will.newton@linaro.org>

        * libc/machine/arm/memcpy-stub.c: Use generic memcpy if unaligned
        access is not enabled.
        * libc/machine/arm/memcpy.S: Faster memcpy implementation for
        Cortex A15 cores using NEON and VFP if available.

11 years ago * acconfig.h (_WCHAR_ORIENT): Undef
Corinna Vinschen [Fri, 12 Apr 2013 12:05:31 +0000 (12:05 +0000)]
* acconfig.h (_WCHAR_ORIENT): Undef
* newlib.hin (_WCHAR_ORIENT): Undef
* configure.in (--enable-newlib-wchar-orient): New option.
* configure: Regenerated.
* libc/configure.in (--enable-newlib-wchar-orient): New option.
* libc/configure: Regenerated.
* libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Use.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/local.h (ORIENT): Use _WCHAR_ORIENT to control
the definition. Add alternative definition.
* libc/stdio/vfprintf.c (__sfputs_r, __sprint_r): Use _WCHAR_ORIENT
to control the wide char output.

11 years ago * path.cc (symlink_info::check): Drop PC_KEEP_HANDLE flag for
Corinna Vinschen [Fri, 12 Apr 2013 08:30:47 +0000 (08:30 +0000)]
* path.cc (symlink_info::check): Drop PC_KEEP_HANDLE flag for
unrecognized reparse points as well.  Reorganize code and comments
handling reparse points for better readability.

11 years ago * hires.h (hires_ns::nsecs): Declare with bool parameter.
Corinna Vinschen [Thu, 11 Apr 2013 19:49:58 +0000 (19:49 +0000)]
* hires.h (hires_ns::nsecs): Declare with bool parameter.
* times.cc (hires_ns::nsecs): Take bool parameter.  If set to true,
don't use prime value (== return system wide absolute value).

11 years agoRevert to original patch
Corinna Vinschen [Thu, 11 Apr 2013 13:01:08 +0000 (13:01 +0000)]
Revert to original patch

11 years ago * libc/include/stdlib.h (strtof, strtoll, strtoull, strtold): Also
Corinna Vinschen [Thu, 11 Apr 2013 10:23:05 +0000 (10:23 +0000)]
* libc/include/stdlib.h (strtof, strtoll, strtoull, strtold): Also
prototype if C++11 or later.

11 years ago2013-04-10 Bin Cheng <bin.cheng@arm.com>
Jeff Johnston [Wed, 10 Apr 2013 18:47:46 +0000 (18:47 +0000)]
2013-04-10  Bin Cheng  <bin.cheng@arm.com>
        * acconfig.h (_FSEEK_OPTIMIZATION): Undef
        * newlib.hin (_FSEEK_OPTIMIZATION): Undef
        * configure.in (--disable-newlib-fseek-optimization): New option.
        * configure: Regenerated.
        * libc/stdio/fflush.c (__sflush_r): Use _FSEEK_OPTIMIZATION to
        control fseek optimization.
        * libc/stdio/fseeko.c (_fseeko_r): Ditto.
        * libc/stdio/makebuf.c (__smakebuf_r): Ditto.
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.

11 years agofix YA typo
Christopher Faylor [Tue, 9 Apr 2013 01:23:41 +0000 (01:23 +0000)]
fix YA typo

11 years ago* cygtls.h (_cygtls::reset_signal_arrived): Actually reset the signal_arrived
Christopher Faylor [Tue, 9 Apr 2013 01:01:19 +0000 (01:01 +0000)]
* cygtls.h (_cygtls::reset_signal_arrived): Actually reset the signal_arrived
event.
(_cygtls::handle_SIGCONT): Declare ew function.
* cygwait.cc (is_cw_sig_handle): Delete.
(is_cw_sig_cont): New convenience define.
(cygwait): Clear signal if is_cw_sig_cont and we got a SIGCONT.
* cygwait.h (cw_wait_mask): Add cw_sig_cont.
* exceptions.cc (sig_handle_tty_stop): Tighten "incyg" region.  Use cw_sig_cont
param for cygwait.  Don't zero signal here outside of lock.
(sigpacket::setup_handler): Don't check for in_forkee since we will now never
get here in that state.
(_cygtls::handle_SIGCONT): Define new function.
(sigpacket::process): Call handle_SIGCONT early to deal with SIGCONT.  Nuke
continue_now handling.  Allow SIGKILL to kill a suspended process.  Delete a
couple of now-unneeded labels.
(_cygtls::call_signal_handler): Reorganize setting of incyg within lock.
* sigproc.cc (pending_signals): Simplify.
(pending_signals::clear): New method.
(_cygtls::remove_wq): Reorganize to always close wq.thread_ev if it exists to
avoid handle leaks.
(sig_clear): Simplify by just calling sigq.clear().
(sig_dispatch_pending): Always call sigq.pending even in signal thread to force
another loop in wait_sig.
(sig_send): Remove a "goto out" just before out: label.
(pending_signals::add): Simplify.
(pending_signals::del): Delete.
(pending_signals::next): Delete.
(wait_sig): Define variable q to be the start of the signal queue.  Just
iterate through sigq queue, deleting processed or zeroed signals.  Only set
clearwait when the current signal is SIGCHLD.
* sigproc.h: Add a comment about an unused enum.

11 years agofix typo
Christopher Faylor [Mon, 8 Apr 2013 17:55:57 +0000 (17:55 +0000)]
fix typo

11 years ago * fhandler_socket.cc (get_inet_addr): Handle abstract AF_LOCAL socket.
Corinna Vinschen [Mon, 8 Apr 2013 17:34:34 +0000 (17:34 +0000)]
* fhandler_socket.cc (get_inet_addr): Handle abstract AF_LOCAL socket.
(fhandler_socket::recv_internal): Create abstract socket name for
AF_LOCAL datagram sockets.  Explain why we do that.

This page took 0.075626 seconds and 5 git commands to generate.