Christopher Faylor
df0f949cfd
Update copyrights
2013-01-21 16:28:27 +00:00
Christopher Faylor
02211f348d
Update copyrights
2013-01-21 16:21:23 +00:00
Christopher Faylor
f5183c2533
* update-copyright: Recognize configure.ac scripts too.
2013-01-21 16:20:23 +00:00
Corinna Vinschen
e6e5ab6936
Use same fix to silence newer gcc as in 64 bit branch
2013-01-21 13:53:03 +00:00
Christopher Faylor
6d34849474
* cygerrno.h (__reg3): Define.
...
* cygmalloc.h (__reg3): Ditto.
2013-01-21 07:42:02 +00:00
Christopher Faylor
a526df1e20
* cygerrno.h: Conditionally define __regN for cygserver.
2013-01-21 07:34:07 +00:00
Christopher Faylor
2033ccdd17
* malloc_wrapper.cc (malloc_init): Re-add inadvertently dropped comment which
...
explains what's going on with the use_internal calculation.
2013-01-21 04:43:48 +00:00
Christopher Faylor
bc837d22f3
Throughout, update copyrights to reflect dates which correspond to main-branch
...
checkins. Regularize copyright format.
2013-01-21 04:38:31 +00:00
Christopher Faylor
6e75c72b89
Throughout, change __attribute__ ((regparm (N))) to just __regN. Throughout,
...
(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.
2013-01-21 04:34:52 +00:00
Christopher Faylor
d89e61f354
* update-copyright (update_maybe): Accommodate perl-style copyright comments.
2013-01-21 04:30:27 +00:00
Christopher Faylor
eb0876b22f
* update-copyright: Silently skip nonexistent files. Display filename on
...
update. Don't update non-Red Hat copyrights.
2013-01-21 03:55:55 +00:00
Christopher Faylor
0413f0bd40
* update-copyright: Update standard copyright information based on cvs log and
...
current sandbox status.
2013-01-20 23:56:26 +00:00
Christopher Faylor
4713b1b294
* malloc_wrapper.cc: Change 'use_internal_malloc' to 'use_internal' throughout.
...
(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.
2013-01-20 22:59:58 +00:00
Christopher Faylor
1471537a8f
* sigproc.cc (sig_dispatch_pending): Add correct regparm attributes to match
...
declaration.
(pid_exists): Ditto.
(proc_subproc): Ditto.
(sig_clear): Ditto.
(sig_send): Ditto.
(checkstate): Ditto.
2013-01-20 06:34:59 +00:00
Corinna Vinschen
a32a9a87a1
* syscalls.cc (rename): Remove ill-conceived NFS workaround from
...
2013-01-10 for self-inflicted NFS server problem.
2013-01-19 14:54:18 +00:00
Christopher Faylor
d5c977948b
* exceptions.cc (ctrl_c_handler): Remove special-case handler for
...
"cygwin_finished_initializing".
* sigproc.cc (exit_thread): Undefine ExitThread earlier to avoid recursion on
error return.
2013-01-19 05:57:06 +00:00
Corinna Vinschen
5d858e49eb
* errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.
2013-01-18 16:09:51 +00:00
Marcus Shawcroft
085461c3ec
2013-01-18 Marcus Shawcroft <marcus.shawcroft@arm.com>
...
* 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.
2013-01-18 15:52:32 +00:00
Corinna Vinschen
b31aa3904c
* mmap.cc (handler_disk_file::msync): Add call to FlushFileBuffers
...
to implement MS_SYNC.
2013-01-18 09:35:05 +00:00
Christopher Faylor
c5eb7a4971
* mmap.cc (handler_disk_file::msync): Retry up to 99 times if FlushViewOFile
...
fails with ERROR_LOCK_VIOLATION.
2013-01-18 00:28:21 +00:00
Yufeng Zhang
5988aa6e3f
include/opcode/
...
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 16:09:44 +00:00
Marcus Shawcroft
450fe1bfa3
2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* 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 14:53:32 +00:00
Marcus Shawcroft
78f66de6ce
2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* libc/machine/aarch64/strnlen.S: Correct arithmetic for
argument N values close to the maximum representable
value in an unsigned 64 bit value.
2013-01-17 14:52:37 +00:00
Christopher Faylor
211dd84b83
* sigproc.cc (no_signals_available): Finally remove this macro entirely.
...
(exit_thread): Ensure process lock is released on error exit.
(sig_send): Simplify "its_me" test. Remove no_signals_available tests.
2013-01-16 23:04:28 +00:00
H.J. Lu
f432e328af
Define R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64
...
* i386.h (R_386_SIZE32): Fill it.
* x86-64.h (R_X86_64_SIZE32): Likewise.
(R_X86_64_SIZE64): Likewise.
2013-01-16 20:31:57 +00:00
Christopher Faylor
b01065f174
* pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.
2013-01-16 19:20:59 +00:00
Jan-Benedict Glaw
0a7746bde6
* configure.ac: Sync with GCC repo.
...
* configure: Ditto.
* Makefile.def: Ditto.
* Makefile.in: Ditto.
2013-01-15 21:47:02 +00:00
Nick Clifton
7d88a8d373
* libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
...
V850e2v3.
* v850/crt0.S (_start): Enable FPU for the V850e2v3.
2013-01-15 15:41:31 +00:00
Christopher Faylor
18905f5551
fix typo
2013-01-14 22:24:36 +00:00
Christopher Faylor
b8540dae6c
* include/pthread.h (pthread_exit): Mark as "noreturn".
2013-01-14 21:17:37 +00:00
Christopher Faylor
656a20cbd1
fix typo
2013-01-14 18:10:28 +00:00
Corinna Vinschen
c136ca2a93
Fix copyrights
2013-01-14 17:16:02 +00:00
Christopher Faylor
930eacff8b
update with my changes
2013-01-14 16:32:51 +00:00
Corinna Vinschen
d39e9d1596
*** empty log message ***
2013-01-14 13:23:55 +00:00
Christopher Faylor
b712b4408a
* exceptions.cc (signal_exit): Move captive process termintation...
...
(_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.
2013-01-14 06:03:59 +00:00
Corinna Vinschen
cdc1925e02
* new-features.sgml (ov-new1.7.18): Add console enhancements.
2013-01-12 19:11:11 +00:00
Corinna Vinschen
38305196bf
* libc/include/string.h: Fix preprocessor expressions using
...
_XOPEN_SOURCE.
2013-01-12 10:55:09 +00:00
Jan-Benedict Glaw
8af6a76ee6
* ChangeLog: Fix typo.
2013-01-12 03:46:44 +00:00
Corinna Vinschen
3920a99a22
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
...
's' format specifier on not _MB_CAPABLE targets. Fix a formatting
glitch in _MB_CAPABLE enabled code. Add a missing 'L' specifier.
2013-01-11 20:05:41 +00:00
Christopher Faylor
2f47bbd555
* DevNotes: Add entry cgf-000021.
...
* select.cc (select): Unconditionally return when a signal is detected.
(select_stuff::wait): Ditto.
2013-01-11 15:36:40 +00:00
Joel Brobecker
0ad26aec5b
Sync the root .gitignore file with GCC's.
2013-01-11 15:17:35 +00:00
Jan-Benedict Glaw
19c808883d
* ChangeLog: Fix "Dito" to "Ditto".
2013-01-11 13:10:17 +00:00
Jan-Benedict Glaw
35913a8d36
* config.sub: Update from config repo.
2013-01-11 12:57:41 +00:00
Corinna Vinschen
7142197465
* syscalls.cc (rename): Drop handling paths > 32757 chars, emit EINVAL
...
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.
2013-01-11 12:34:41 +00:00
Eric Botcazou
2880becf0c
* Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.
...
* Makefile.in: Regenerate.
2013-01-11 11:48:54 +00:00
Corinna Vinschen
09707415eb
* fhandler.h (class dev_console): Flag for expanded control sequence.
...
* fhandler_console.cc (char_command): Supporting cursor style modes.
2013-01-11 11:04:50 +00:00
Peter Bergner
ab664763f0
include/opcode/
...
* 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.
2013-01-11 02:25:35 +00:00
H.J. Lu
780cf190d6
Build gmp before configuring gcc
...
* Makefile.def (configure-gcc): Depend on all-gmp.
(all-gcc): Remove dependency on all-gmp.
* Makefile.in: Regenerated.
2013-01-10 17:02:01 +00:00
Corinna Vinschen
34ce80888a
* path.h (path_conv::fs_type): New method.
...
* syscalls.cc (rename): Check for cross-device situation before
touching anything. Explain why. Workaround NFS bug in call to
NtSetInformationFile(FileRenameInformation).
2013-01-10 15:08:22 +00:00
Marcus Shawcroft
211f1ec717
2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
...
* 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 13:02:19 +00:00