summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * dcrt0.cc (child_info_fork::alloc_stack_hard_way): Fix datatype ofCorinna Vinschen2013-05-233-18/+27
| | | | | | | | | stacksize to SIZE_T. Cast to SIZE_T in pointer arithmetic. Slightly enhance output in case of a fatal error. * fork.cc (frok::parent): Always set ch.stackaddr to DeallocationStack value of current thread to help stack reservation in child_info_fork::alloc_stack_hard_way along. Simplify subsequent code storing stack values in ch. Print guardsize in hex, too.
* .Warren Young2013-05-231-3/+0
|
* Created xidepend mechanismWarren Young2013-05-234-1/+49
|
* * libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.Corinna Vinschen2013-05-2310-14/+29
| | | | | | | | | | | * libc/ctype/isalpha.c: Ditto. * libc/ctype/isblank.c: Ditto. * libc/ctype/iscntrl.c: Ditto. * libc/ctype/isdigit.c: Ditto. * libc/ctype/islower.c: Ditto. * libc/ctype/isprint.c: Ditto. * libc/ctype/ispunct.c: Ditto. * libc/ctype/isxdigit.c: Ditto.
* * cygwinenv.xml (cygwinenv-implemented-options): Explain newCorinna Vinschen2013-05-235-45/+112
| | | | | | | | | | 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.
* * environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict"Corinna Vinschen2013-05-235-10/+55
| | | | | | | | | | | | | | 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.
* include/opcode/Richard Sandiford2013-05-222-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* * libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.Corinna Vinschen2013-05-222-1/+7
|
* Add EM_INTEL205 to EM_INTEL209H.J. Lu2013-05-222-0/+13
| | | | | | | | * common.h (EM_INTEL205): New. (EM_INTEL206): Likewise. (EM_INTEL207): Likewise. (EM_INTEL208): Likewise. (EM_INTEL209): Likewise.
* * spinlock.h (ULONG): Replace LONG operator with ULONG to accommodateCorinna Vinschen2013-05-223-2/+9
| | | | | | the fact that CURR_SHARED_MAGIC and USER_SHARED_MAGIC are unsigned values. * shared.cc (shared_info::initialize): Drop explicit cast here.
* * new-features.sgml (ov-new1.7.19): Add arc4random,Corinna Vinschen2013-05-212-1/+8
| | | | | arc4random_addrandom, arc4random_buf, arc4random_stir and arc4random_uniform.
* Add missing ChangeLog entry for former checkin.Corinna Vinschen2013-05-211-0/+12
|
* * Makefile.in (DLL_OFILES): Add arc4random.o.Corinna Vinschen2013-05-218-19/+388
| | | | | | | | | | | * 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.
* * globals.cc (__isthreaded): New global variable. Explain what it'sCorinna Vinschen2013-05-213-0/+16
| | | | | used for. * miscfuncs.cc (thread_wrapper): Set __isthreaded to 1 here.
* * fhandler.h (class fhandler_dev_random): Change type of pseudo toCorinna Vinschen2013-05-212-1/+6
| | | | uint32_t to make sure it's 32 bit on all supported platforms.
* x86_64 only:Corinna Vinschen2013-05-212-31/+28
| | | | | | | * gendef (_sigfe_maybe): Drop pushing %r12, use %r10 instead since we don't call yield anymore. (_sigfe): Ditto. (_sigbe): Ditto.
* * new-features.sgml (ov-new1.7.19): Add __b64_ntop and __b64_pton.Corinna Vinschen2013-05-212-0/+8
|
* * libc/base64.c: New file.Corinna Vinschen2013-05-216-4/+333
| | | | | | | * 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.
* * syscalls.cc (open): Only return ENOTDIR if file exists.Corinna Vinschen2013-05-212-1/+5
|
* Reinstantiate accidentally removed patch from 2009-05-16:Corinna Vinschen2013-05-212-2/+10
| | | | | | | * 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.
* * libc/reent/reent.c (_wrapup_reent): Remove.Corinna Vinschen2013-05-162-33/+4
|
* * sigproc.cc (sig_hold): Delete.Christopher Faylor2013-05-162-51/+39
| | | | | | | (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.
* * Makefile.in (devices_CFLAGS): Drop -Os.Corinna Vinschen2013-05-142-1/+5
|
* * Makefile.in (localtime_CFLAGS): Define as -fwrapv since localtimeCorinna Vinschen2013-05-143-43/+26
| | | | | code requires int overflows to be fully defined. * localtime.cc: Align a bit more to upstream code.
* * grp.cc (get_groups): Convert to void function.Corinna Vinschen2013-05-143-32/+31
| | | | | (initgroups32): Accommodate the aforementioned change. (getgrouplist): Ditto.
* * grp.cc (get_groups): Never return error. Always create a group list,Corinna Vinschen2013-05-142-10/+10
| | | | even if it's empty.
* Added Wishlist file, based on my FURTHER WORK proposal to the -patchesWarren Young2013-05-132-0/+116
| | | | list on April 29.
* Missed MAINTAINERS entry from previous commit.DJ Delorie2013-05-131-0/+1
|
* [newlib]DJ Delorie2013-05-1335-1/+11830
| | | | | | | | | | | | | | | * 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.
* Removed setup.xml and cygwin-ug.xml: they were not inputs to any of theWarren Young2013-05-133-64/+4
| | | | | | | | 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.
* * include/cygwin/version.h: Bump api minor number to reflect previous change.Christopher Faylor2013-05-132-1/+7
|
* * i686.din: Remove _strtold.Christopher Faylor2013-05-134-2/+7
| | | | | * x86_64.din: Move strtold definition... * common.din: ...to here.
* 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>Jeff Johnston2013-05-103-4/+9
| | | | | * configure.in: Fix help text for disable-newlib-atexit-dynamic-alloc option. * configure: Regenerated.
* - Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty-Warren Young2013-05-103-3454/+1171
| | | | | | | | 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.
* binutils/ChangeLog:Andrew Pinski2013-05-102-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2013-05-086-8/+56
| | | | | | | | | | | | | | | * 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.
* change wordingChristopher Faylor2013-05-081-1/+1
|
* * fhandler_tty.cc (fhandler_pty_common::__acquire_output_mutex): Never wait anChristopher Faylor2013-05-082-1/+10
| | | | | | 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.
* 2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2013-05-074-15/+42
| | | | | | | | | | | | * 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. -
* 2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2013-05-073-4/+10
| | | | | * libc/stdlib/__atexit.c (__atexit_lock): Declare. * libc/stdlib/__call_atexit.c (__atexit_lock): Define.
* fix typoChristopher Faylor2013-05-061-1/+1
|
* Reverted XInclude in cygwin-api.in.xml from an XInclude to a DOCTOOLWarren Young2013-05-062-2/+8
| | | | | | | | 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.
* 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston2013-05-062-0/+35
| | | | * COPYING.NEWLIB: Add Altera Corporation copyright.
* 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston2013-05-0612-2/+6369
| | | | | | | | | | | | | | | | * 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.
* 2013-05-06 Paul Brook <paul@codesourcery.com>Catherine Moore2013-05-062-3/+7
| | | | | | | | | | | | | | | | | | | | | 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.
* * Makefile (FAQ_SOURCES): Use wildcard function to find sources in srcdir.Christopher Faylor2013-05-032-1/+6
|
* * spawn.cc (ILLEGAL_SIG_FUNC_PTR): New define.Christopher Faylor2013-05-032-11/+35
| | | | | | | | | | | | (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.
* * archures.c: Add some more MSP430 machine numbers.Nick Clifton2013-05-024-3/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Generating faq/faq.body automatically from faq/faq.html whenever latterWarren Young2013-05-023-2/+55
| | | | is updated, using new bodysnatcher.pl script.
* Initial; ignoring generated files.Warren Young2013-05-011-0/+13
|