summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Throughout, change __attribute__ ((regparm (N))) to just __regN. Throughout,Christopher Faylor2013-01-2160-513/+512
| | | | | | | | | | | | | | | | | | | (mainly in fhandler*) start fixing gcc 4.7.2 mismatch between regparm definitions and declarations. * gendef: Define some functions to take @ declaration to accommodate _regN defines which use __stdcall. * gentls_offsets: Define __regN macros as empty. * autoload.cc (wsock_init): Remove unneeded regparm attribute. * winsup.h (__reg1): Define. (__reg2): Define. (__reg3): Define. * advapi32.cc (DuplicateTokenEx): Coerce some initializers to avoid warnings from gcc 4.7.2. * exceptions.cc (status_info): Declare struct to use NTSTATUS. (cygwin_exception::dump_exception): Coerce e->ExceptionCode to NTSTATUS. * fhandler_clipboard.cc (cygnativeformat): Redefine as UINT to avoid gcc 4.7.2 warnings. (fhandler_dev_clipboard::read): Ditto.
* * update-copyright (update_maybe): Accommodate perl-style copyright comments.Christopher Faylor2013-01-212-2/+7
|
* * update-copyright: Silently skip nonexistent files. Display filename onChristopher Faylor2013-01-212-8/+22
| | | | update. Don't update non-Red Hat copyrights.
* * update-copyright: Update standard copyright information based on cvs log andChristopher Faylor2013-01-202-0/+85
| | | | current sandbox status.
* * malloc_wrapper.cc: Change 'use_internal_malloc' to 'use_internal' throughout.Christopher Faylor2013-01-204-32/+51
| | | | | | | | | | | | (export_malloc_called): Delete. (internal_malloc_determined): New variable. (malloc_init): Control calculation of internal/external malloc based on 'internal_malloc_determined'. Use import_address() to determine if malloc in user_data is ours or not. * miscfuncs.cc (thread_wrapper): Make static. (__import_address): Define new function. * miscfuncs.h (import_address): New define. (__import_address): Declare new function.
* * sigproc.cc (sig_dispatch_pending): Add correct regparm attributes to matchChristopher Faylor2013-01-202-8/+18
| | | | | | | | | declaration. (pid_exists): Ditto. (proc_subproc): Ditto. (sig_clear): Ditto. (sig_send): Ditto. (checkstate): Ditto.
* * syscalls.cc (rename): Remove ill-conceived NFS workaround fromCorinna Vinschen2013-01-192-46/+8
| | | | 2013-01-10 for self-inflicted NFS server problem.
* * exceptions.cc (ctrl_c_handler): Remove special-case handler forChristopher Faylor2013-01-193-9/+8
| | | | | | "cygwin_finished_initializing". * sigproc.cc (exit_thread): Undefine ExitThread earlier to avoid recursion on error return.
* * errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.Corinna Vinschen2013-01-182-3/+7
|
* 2013-01-18 Marcus Shawcroft <marcus.shawcroft@arm.com>Marcus Shawcroft2013-01-182-1/+8
| | | | | | | * aarch64/Machine.in (RDIMON_SCRIPTS): Add aem-ve.specs and aem-validation.specs. * aarch64/elf-aem-validation.specs: New file. * aarch64/elf-aem-ve.specs: New file.
* * mmap.cc (handler_disk_file::msync): Add call to FlushFileBuffersCorinna Vinschen2013-01-182-1/+13
| | | | to implement MS_SYNC.
* * mmap.cc (handler_disk_file::msync): Retry up to 99 times if FlushViewOFileChristopher Faylor2013-01-182-7/+21
| | | | fails with ERROR_LOCK_VIOLATION.
* include/opcode/Yufeng Zhang2013-01-172-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com> * aarch64.h (aarch64_op): Remove OP_V_MOVI_B. opcodes/ 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com> * aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Handle 8-bit MOVI. * aarch64-dis.c (aarch64_ext_advsimd_imm_modified): Likewise. * aarch64-opc.c (operand_general_constraint_met_p): For AARCH64_MOD_LSL, move the range check on the shift amount before the alignment check; change to call set_sft_amount_out_of_range_error instead of set_imm_out_of_range_error. * aarch64-tbl.h (QL_SIMD_IMM_B): Replace NIL with LSL. (aarch64_opcode_table): Remove the OP enumerator from the asimdimm 8-bit MOVI entry; change the 2nd operand from SIMD_IMM to SIMD_IMM_SFT. gas/ 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com> * config/tc-aarch64.c (output_operand_error_record): Change to output the out-of-range error message as value-expected message if there is only one single value in the expected range. (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with LSL #0 as a programmer-friendly feature. gas/testsuite/ 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com> * gas/aarch64/diagnostic.l: Update. * gas/aarch64/movi.s: Add tests. * gas/aarch64/movi.d: Update. * gas/aarch64/programmer-friendly.s: Add comment.
* 2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>Marcus Shawcroft2013-01-172-12/+25
| | | | | | * libc/machine/aarch64/strncmp.S: Correct arithmetic for argument N values close to the maximum representable value in an unsigned 64 bit value.
* 2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>Marcus Shawcroft2013-01-172-11/+34
| | | | | | * libc/machine/aarch64/strnlen.S: Correct arithmetic for argument N values close to the maximum representable value in an unsigned 64 bit value.
* * sigproc.cc (no_signals_available): Finally remove this macro entirely.Christopher Faylor2013-01-162-14/+10
| | | | | (exit_thread): Ensure process lock is released on error exit. (sig_send): Simplify "its_me" test. Remove no_signals_available tests.
* Define R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64H.J. Lu2013-01-163-2/+9
| | | | | | * i386.h (R_386_SIZE32): Fill it. * x86-64.h (R_X86_64_SIZE32): Likewise. (R_X86_64_SIZE64): Likewise.
* * pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.Christopher Faylor2013-01-162-1/+6
|
* * configure.ac: Sync with GCC repo.Jan-Benedict Glaw2013-01-155-16/+118
| | | | | | * configure: Ditto. * Makefile.def: Ditto. * Makefile.in: Ditto.
* * libc/sys/sysnecv850/crt0.S (_start): Enable FPU for theNick Clifton2013-01-154-0/+31
| | | | | V850e2v3. * v850/crt0.S (_start): Enable FPU for the V850e2v3.
* fix typoChristopher Faylor2013-01-141-1/+1
|
* * include/pthread.h (pthread_exit): Mark as "noreturn".Christopher Faylor2013-01-142-1/+5
|
* fix typoChristopher Faylor2013-01-141-1/+1
|
* Fix copyrightsCorinna Vinschen2013-01-144-5/+5
|
* update with my changesChristopher Faylor2013-01-141-0/+21
|
* *** empty log message ***Corinna Vinschen2013-01-141-0/+27
|
* * exceptions.cc (signal_exit): Move captive process termintation...Christopher Faylor2013-01-147-38/+31
| | | | | | | | | | | | | | | | (_cygtls::interrupt_setup): ...into here. (sigpacket::process): Simplify setting of handler when have_execed. (_cygtls::interrupt_setup): Don't call proc_subproc when we've execed. * globals.cc (exit_states): Delete unneeded ES_EXEC_EXIT. * pinfo.cc (pinfo::exit): Change debugging output. Call proc_terminate rather than the now-obsolete sigproc_terminate. Don't set exit_state to ES_EXEC_EXIT. Set exit_state to ES_FINAL later. * sigproc.cc (sigproc_terminate): Delete function. (wait_sig): Don't call proc_subproc if have_execed. * sigproc.h (sigproc_terminate): Delete declaration. * sync.h (lock_process::lock_process): Don't set exit_state to ES_PROCESS_LOCKED. (lock_process::operator LONG): Define.
* * new-features.sgml (ov-new1.7.18): Add console enhancements.Corinna Vinschen2013-01-122-0/+23
|
* * libc/include/string.h: Fix preprocessor expressions usingCorinna Vinschen2013-01-122-2/+7
| | | | _XOPEN_SOURCE.
* * ChangeLog: Fix typo.Jan-Benedict Glaw2013-01-121-1/+1
|
* * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handleCorinna Vinschen2013-01-112-9/+37
| | | | | 's' format specifier on not _MB_CAPABLE targets. Fix a formatting glitch in _MB_CAPABLE enabled code. Add a missing 'L' specifier.
* * DevNotes: Add entry cgf-000021.Christopher Faylor2013-01-114-16/+29
| | | | | * select.cc (select): Unconditionally return when a signal is detected. (select_stuff::wait): Ditto.
* Sync the root .gitignore file with GCC's.Joel Brobecker2013-01-111-0/+8
|
* * ChangeLog: Fix "Dito" to "Ditto".Jan-Benedict Glaw2013-01-111-4/+4
|
* * config.sub: Update from config repo.Jan-Benedict Glaw2013-01-112-1/+7
|
* * syscalls.cc (rename): Drop handling paths > 32757 chars, emit EINVALCorinna Vinschen2013-01-112-22/+28
| | | | | | instead, thus simplifying code allocating and filling pfri. Drop size and use constant expression in NtSetInformationFile call. Add comments. Drop redundant test for fs_serial_number and change comment accordingly.
* * Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.Eric Botcazou2013-01-113-2/+7
| | | | * Makefile.in: Regenerate.
* * fhandler.h (class dev_console): Flag for expanded control sequence.Corinna Vinschen2013-01-113-3/+52
| | | | * fhandler_console.cc (char_command): Supporting cursor style modes.
* include/opcode/Peter Bergner2013-01-112-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * ppc.h (PPC_OPCODE_POWER8): New define. (PPC_OPCODE_HTM): Likewise. opcodes/ * ppc-dis.c (ppc_opts): Add "power8", "pwr8" and "htm" entries. * ppc-opc.c (HTM_R, HTM_SI, XRTRB_MASK, XRTRARB_MASK, XRTLRARB_MASK, XRTARARB_MASK, XRTBFRARB_MASK, XRCL, POWER8, PPCHTM): New defines. (SH6): Update. <"tabort.", "tabortdc.", "tabortdci.", "tabortwc.", "tabortwci.", "tbegin.", "tcheck", "tend.", "trechkpt.", "treclaim.", "tsr.">: Add POWER8 HTM opcodes. <"tendall.", "tresume.", "tsuspend.">: Add POWER8 HTM extended opcodes. gas/ * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm. * doc/c-ppc.texi (PowerPC-Opts): Likewise. * config/tc-ppc.c (md_show_usage): Likewise. (ppc_handle_align): Handle power8's group ending nop. gas/testsuite/ * gas/ppc/htm.d: New test. * gas/ppc/htm.s: Likewise. * gas/ppc/power8.d: Likewise. * gas/ppc/power8.s: Likewise. * gas/ppc/ppc.exp: Run them.
* Build gmp before configuring gccH.J. Lu2013-01-103-9/+15
| | | | | | * Makefile.def (configure-gcc): Depend on all-gmp. (all-gcc): Remove dependency on all-gmp. * Makefile.in: Regenerated.
* * path.h (path_conv::fs_type): New method.Corinna Vinschen2013-01-103-8/+74
| | | | | | * syscalls.cc (rename): Check for cross-device situation before touching anything. Explain why. Workaround NFS bug in call to NtSetInformationFile(FileRenameInformation).
* 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>Marcus Shawcroft2013-01-105-5/+226
| | | | | | | | * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add memcmp-stub.c and memcmp.S * libc/machine/aarch64/Makefile.in: Regenerated. * libc/machine/aarch64/memcmp-stub.c: New file. * libc/machine/aarch64/memcmp.S: New file.
* 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>Marcus Shawcroft2013-01-105-2/+227
| | | | | | | | * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add strnlen-stub.c and strnlen.S * libc/machine/aarch64/Makefile.in: Regenerated. * libc/machine/aarch64/strnlen-stub.c: New file. * libc/machine/aarch64/strnlen.S: New file.
* 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>Marcus Shawcroft2013-01-105-2/+192
| | | | | | | | * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add strlen.S and strlen-stub.c. * libc/machine/aarch64/Makefile.in: Regenerated. * libc/machine/aarch64/strlen-stub.c: New file. * libc/machine/aarch64/strlen.S: New file.
* 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>Marcus Shawcroft2013-01-105-2/+386
| | | | | | | | * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add memmove.S and memmove-stub.c. * libc/machine/aarch64/Makefile.in: Regenerated. * libc/machine/aarch64/memmove-stub.c: New file. * libc/machine/aarch64/memmove.S: New file.
* 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>Marcus Shawcroft2013-01-105-9/+297
| | | | | | | | * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Re-ordered. Add strncmp.S and strncmp-stub.c. * libc/machine/aarch64/Makefile.in: Regenerated. * libc/machine/aarch64/strncmp-stub.c: New file. * libc/machine/aarch64/strncmp.S: New file.
* 2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>Marcus Shawcroft2013-01-108-4/+764
| | | | | | | | | | | | | * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add memcpy.c memcpy-stub.c memset.S memset-stub.c strcmp.S strcmp-stub.c. * libc/machine/aarch64/Makefile.in: Regenerated. * libc/machine/aarch64/memcpy-stub.c: New file. * libc/machine/aarch64/memcpy.S: New file. * libc/machine/aarch64/memset-stub.c: New file. * libc/machine/aarch64/memset.S: New file. * libc/machine/aarch64/strcmp.S: New file. * libc/machine/aarch64/strcmp-stub.c: New file.
* * common.h: Fix case of "Meta".Nick Clifton2013-01-107-1/+2185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * metag.h: New file. * dis-asm.h (print_insn_metag): New declaration. * metag.h: New file. * Makefile.am: Add Meta. * Makefile.in: Regenerate. * configure: Regenerate. * configure.in: Add Meta. * disassemble.c: Add Meta support. * metag-dis.c: New file. * Makefile.am: Add Meta. * Makefile.in: Regenerate. * archures.c (bfd_mach_metag): New. * bfd-in2.h: Regenerate. * config.bfd: Add Meta. * configure: Regenerate. * configure.in: Add Meta. * cpu-metag.c: New file. * elf-bfd.h: Add Meta. * elf32-metag.c: New file. * elf32-metag.h: New file. * libbfd.h: Regenerate. * reloc.c: Add Meta relocations. * targets.c: Add Meta. * Makefile.am: Add Meta. * Makefile.in: Regenerate. * config/tc-metag.c: New file. * config/tc-metag.h: New file. * configure.tgt: Add Meta. * doc/Makefile.am: Add Meta. * doc/Makefile.in: Regenerate. * doc/all.texi: Add Meta. * doc/as.texiinfo: Document Meta options. * doc/c-metag.texi: New file. * gas/metag/labelarithmetic.d: New file. * gas/metag/labelarithmetic.s: New file. * gas/metag/metacore12.d: New file. * gas/metag/metacore12.s: New file. * gas/metag/metacore21-invalid.l: New file. * gas/metag/metacore21-invalid.s: New file. * gas/metag/metacore21.d: New file. * gas/metag/metacore21.s: New file. * gas/metag/metacore21ext.d: New file. * gas/metag/metacore21ext.s: New file. * gas/metag/metadsp21-invalid.l: New file. * gas/metag/metadsp21-invalid.s: New file. * gas/metag/metadsp21.d: New file. * gas/metag/metadsp21.s: New file. * gas/metag/metadsp21ext.d: New file. * gas/metag/metadsp21ext.s: New file. * gas/metag/metafpu21.d: New file. * gas/metag/metafpu21.s: New file. * gas/metag/metafpu21ext.d: New file. * gas/metag/metafpu21ext.s: New file. * gas/metag/metag.exp: New file. * gas/metag/tls.d: New file. * gas/metag/tls.s: New file. * Makefile.am: Add Meta. * Makefile.in: Regenerate. * configure.tgt: Add Meta. * emulparams/elf32metag.sh: New file. * emultempl/metagelf.em: New file. * ld-elf/merge.d: Mark Meta as xfail. * ld-gc/start.d: Skip this test on Meta. * ld-gc/personality.d: Skip this test on Meta. * ld-metag/external.s: New file. * ld-metag/metag.exp: New file. * ld-metag/pcrel.d: New file. * ld-metag/pcrel.s: New file. * ld-metag/shared.d: New file. * ld-metag/shared.r: New file. * ld-metag/shared.s: New file. * ld-metag/stub.d: New file. * ld-metag/stub.s: New file. * ld-metag/stub_pic_app.d: New file. * ld-metag/stub_pic_app.r: New file. * ld-metag/stub_pic_app.s: New file. * ld-metag/stub_pic_shared.d: New file. * ld-metag/stub_pic_shared.s: New file. * ld-metag/stub_shared.d: New file. * ld-metag/stub_shared.r: New file. * ld-metag/stub_shared.s: New file. * binutils/readelf.c: (guess_is_rela): Add EM_METAG. (dump_relocations): Add EM_METAG. (get_machine_name): Correct case for Meta. (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc. (is_none_reloc): Add support for Meta NONE reloc.
* * cygerrno.h: Fix copyright.Corinna Vinschen2013-01-093-3/+6
| | | | * exceptions.cc: Drop comment explaining removed variable.
* * dcrt0.cc (main_thread_sinit): New inline function. Fix and explainCorinna Vinschen2013-01-092-2/+31
| | | | | a stdio initialization issue. (dll_crt0_1): Call main_thread_sinit rather than __sinit.