summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* Modernized user guide, API reference, and FAQ generation. OverallWarren Young2013-05-0149-1296/+3515
| | | | | | 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.
* * resource.cc (setrlimit): Use consistent commenting style. Return EINVAL whenChristopher Faylor2013-05-012-5/+15
| | | | rlim_cur > rlim_max.
* Throughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatchYaakov Selkowitz2013-05-0133-74/+85
| | | | | | | | | 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.
* * gendef: Fix sigfe.s typo.Christopher Faylor2013-05-012-1/+5
|
* * spawn.cc (system_call_cleanup): Rename from pthread_cleanup. ExtendChristopher Faylor2013-04-302-26/+42
| | | | | | | | | | | 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.
* * exceptions.cc (cygwin_exception::dumpstack): Guard against wild pointerChristopher Faylor2013-04-302-22/+40
| | | | | | | | 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.
* Sigh. Another missing checkin.Christopher Faylor2013-04-301-0/+5
|
* missing checkinChristopher Faylor2013-04-301-114/+119
|
* * i686.din: New file.Christopher Faylor2013-04-309-2101/+785
| | | | | | | | | * 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.
* 2013-04-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-04-304-2/+15
| | | | | | | | config/ * picflag.m4: Merge from GCC. * dfp.m4: Ditto. * bootstrap-asan.mk: Ditto. * ChangeLog: Ditto.
* * autoload.cc (CreateSymbolicLinkW): Rename from CreateSymbolicLink.Christopher Faylor2013-04-302-1/+5
|
* 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2013-04-2937-117/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2013-04-292-47/+5
| | | | * libc/include/sys/reent.h (_REENT_INIT_PTR): Reduce code size.
* 2013-04-29 Freddie Chopin <freddie_chopin@op.pl>Jeff Johnston2013-04-293-6/+12
| | | | | | * libc/libc.texinfo: Fix @ references and change ifinfo to be ifnottexinfo. * libm/libm.texinfo: Ditto.
* * config.guess: Update from config repo.Jan-Benedict Glaw2013-04-293-20/+33
| | | | * config.sub: Ditto.
* * fcntl.cc (fcntl): Define as export alias for fcntl64 on x86_64.Corinna Vinschen2013-04-263-0/+9
|
* 2013-04-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-04-253-0/+19
| | | | | * libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): New define. * libc/stdio/findfp.c (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Use define.
* * faq-programming.xml (faq.programming.64bitporting): Fix typo.Corinna Vinschen2013-04-252-1/+5
|
* * faq-programming.xml (faq.programming.64bitporting): Extend entry.Corinna Vinschen2013-04-252-9/+140
| | | | | (faq.programming.64bitporting-fail): New entry. (faq.programming.64bitporting-cygwin64): New entry.
* * faq-programming.xml (faq.programming.64bitporting): Mention theCorinna Vinschen2013-04-242-1/+11
| | | | -Wformat and -Wall gcc options.
* * faq-programming.xml (faq.programming.64bitporting): New FAQ entry.Corinna Vinschen2013-04-242-42/+165
| | | | | | | | (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.