]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 years ago * errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.
Corinna Vinschen [Fri, 18 Jan 2013 16:09:51 +0000 (16:09 +0000)]
* errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.

11 years ago2013-01-18 Marcus Shawcroft <marcus.shawcroft@arm.com>
Marcus Shawcroft [Fri, 18 Jan 2013 15:52:32 +0000 (15:52 +0000)]
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.

11 years ago * mmap.cc (handler_disk_file::msync): Add call to FlushFileBuffers
Corinna Vinschen [Fri, 18 Jan 2013 09:35:05 +0000 (09:35 +0000)]
* mmap.cc (handler_disk_file::msync): Add call to FlushFileBuffers
to implement MS_SYNC.

11 years ago* mmap.cc (handler_disk_file::msync): Retry up to 99 times if FlushViewOFile
Christopher Faylor [Fri, 18 Jan 2013 00:28:21 +0000 (00:28 +0000)]
* mmap.cc (handler_disk_file::msync): Retry up to 99 times if FlushViewOFile
fails with ERROR_LOCK_VIOLATION.

11 years agoinclude/opcode/
Yufeng Zhang [Thu, 17 Jan 2013 16:09:44 +0000 (16:09 +0000)]
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.

11 years ago2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 17 Jan 2013 14:53:32 +0000 (14:53 +0000)]
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.

11 years ago2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 17 Jan 2013 14:52:37 +0000 (14:52 +0000)]
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.

11 years ago* sigproc.cc (no_signals_available): Finally remove this macro entirely.
Christopher Faylor [Wed, 16 Jan 2013 23:04:28 +0000 (23:04 +0000)]
* 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.

11 years agoDefine R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64
H.J. Lu [Wed, 16 Jan 2013 20:31:57 +0000 (20:31 +0000)]
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.

11 years ago* pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.
Christopher Faylor [Wed, 16 Jan 2013 19:20:59 +0000 (19:20 +0000)]
* pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.

11 years ago * configure.ac: Sync with GCC repo.
Jan-Benedict Glaw [Tue, 15 Jan 2013 21:47:02 +0000 (21:47 +0000)]
* configure.ac: Sync with GCC repo.
* configure: Ditto.
* Makefile.def: Ditto.
* Makefile.in: Ditto.

11 years ago * libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
Nick Clifton [Tue, 15 Jan 2013 15:41:31 +0000 (15:41 +0000)]
* libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
V850e2v3.
* v850/crt0.S (_start): Enable FPU for the V850e2v3.

11 years agofix typo
Christopher Faylor [Mon, 14 Jan 2013 22:24:36 +0000 (22:24 +0000)]
fix typo

11 years ago* include/pthread.h (pthread_exit): Mark as "noreturn".
Christopher Faylor [Mon, 14 Jan 2013 21:17:37 +0000 (21:17 +0000)]
* include/pthread.h (pthread_exit): Mark as "noreturn".

11 years agofix typo
Christopher Faylor [Mon, 14 Jan 2013 18:10:28 +0000 (18:10 +0000)]
fix typo

11 years agoFix copyrights
Corinna Vinschen [Mon, 14 Jan 2013 17:16:02 +0000 (17:16 +0000)]
Fix copyrights

11 years agoupdate with my changes
Christopher Faylor [Mon, 14 Jan 2013 16:32:51 +0000 (16:32 +0000)]
update with my changes

11 years ago*** empty log message ***
Corinna Vinschen [Mon, 14 Jan 2013 13:23:55 +0000 (13:23 +0000)]
*** empty log message ***

11 years ago* exceptions.cc (signal_exit): Move captive process termintation...
Christopher Faylor [Mon, 14 Jan 2013 06:03:59 +0000 (06:03 +0000)]
* 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.

11 years ago * new-features.sgml (ov-new1.7.18): Add console enhancements.
Corinna Vinschen [Sat, 12 Jan 2013 19:11:11 +0000 (19:11 +0000)]
* new-features.sgml (ov-new1.7.18): Add console enhancements.

11 years ago * libc/include/string.h: Fix preprocessor expressions using
Corinna Vinschen [Sat, 12 Jan 2013 10:55:09 +0000 (10:55 +0000)]
* libc/include/string.h: Fix preprocessor expressions using
_XOPEN_SOURCE.

11 years ago * ChangeLog: Fix typo.
Jan-Benedict Glaw [Sat, 12 Jan 2013 03:46:44 +0000 (03:46 +0000)]
* ChangeLog: Fix typo.

11 years ago * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
Corinna Vinschen [Fri, 11 Jan 2013 20:05:41 +0000 (20:05 +0000)]
* 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.

11 years ago* DevNotes: Add entry cgf-000021.
Christopher Faylor [Fri, 11 Jan 2013 15:36:40 +0000 (15:36 +0000)]
* DevNotes: Add entry cgf-000021.
* select.cc (select): Unconditionally return when a signal is detected.
(select_stuff::wait): Ditto.

11 years agoSync the root .gitignore file with GCC's.
Joel Brobecker [Fri, 11 Jan 2013 15:17:35 +0000 (15:17 +0000)]
Sync the root .gitignore file with GCC's.

11 years ago * ChangeLog: Fix "Dito" to "Ditto".
Jan-Benedict Glaw [Fri, 11 Jan 2013 13:10:17 +0000 (13:10 +0000)]
* ChangeLog: Fix "Dito" to "Ditto".

11 years ago * config.sub: Update from config repo.
Jan-Benedict Glaw [Fri, 11 Jan 2013 12:57:41 +0000 (12:57 +0000)]
* config.sub: Update from config repo.

11 years ago * syscalls.cc (rename): Drop handling paths > 32757 chars, emit EINVAL
Corinna Vinschen [Fri, 11 Jan 2013 12:34:41 +0000 (12:34 +0000)]
* 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.

11 years ago * Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.
Eric Botcazou [Fri, 11 Jan 2013 11:48:54 +0000 (11:48 +0000)]
    * Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.
        * Makefile.in: Regenerate.

11 years ago * fhandler.h (class dev_console): Flag for expanded control sequence.
Corinna Vinschen [Fri, 11 Jan 2013 11:04:50 +0000 (11:04 +0000)]
* fhandler.h (class dev_console): Flag for expanded control sequence.
* fhandler_console.cc (char_command): Supporting cursor style modes.

11 years agoinclude/opcode/
Peter Bergner [Fri, 11 Jan 2013 02:25:35 +0000 (02:25 +0000)]
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.

11 years agoBuild gmp before configuring gcc
H.J. Lu [Thu, 10 Jan 2013 17:02:01 +0000 (17:02 +0000)]
Build gmp before configuring gcc

* Makefile.def (configure-gcc): Depend on all-gmp.
(all-gcc): Remove dependency on all-gmp.
* Makefile.in: Regenerated.

11 years ago * path.h (path_conv::fs_type): New method.
Corinna Vinschen [Thu, 10 Jan 2013 15:08:22 +0000 (15:08 +0000)]
* 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).

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 13:02:19 +0000 (13:02 +0000)]
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.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 13:00:40 +0000 (13:00 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

        * 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.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 12:57:11 +0000 (12:57 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

        * 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.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 12:54:39 +0000 (12:54 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

* 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.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 12:51:13 +0000 (12:51 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

* 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.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 12:44:50 +0000 (12:44 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

    * 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.

11 years ago * common.h: Fix case of "Meta".
Nick Clifton [Thu, 10 Jan 2013 09:49:18 +0000 (09:49 +0000)]
* common.h: Fix case of "Meta".
* 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.

11 years ago * cygerrno.h: Fix copyright.
Corinna Vinschen [Wed, 9 Jan 2013 16:25:15 +0000 (16:25 +0000)]
* cygerrno.h: Fix copyright.
* exceptions.cc: Drop comment explaining removed variable.

11 years ago * dcrt0.cc (main_thread_sinit): New inline function. Fix and explain
Corinna Vinschen [Wed, 9 Jan 2013 14:23:44 +0000 (14:23 +0000)]
* dcrt0.cc (main_thread_sinit): New inline function.  Fix and explain
a stdio initialization issue.
(dll_crt0_1): Call main_thread_sinit rather than __sinit.

11 years ago * config.guss: Update from config repo.
Jan-Benedict Glaw [Tue, 8 Jan 2013 22:42:34 +0000 (22:42 +0000)]
* config.guss: Update from config repo.
* config.sub: Dito.

11 years agoinclude/elf/
Yufeng Zhang [Tue, 8 Jan 2013 18:09:12 +0000 (18:09 +0000)]
include/elf/

2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>

* common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New macro
definitions.

bfd/

2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>

* elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
(elfcore_write_aarch_hw_break): Likewise.
(elfcore_write_aarch_hw_watch): Likewise.
* elf.c (elfcore_grok_aarch_tls): New function.
(elfcore_grok_aarch_hw_break): Likewise.
(elfcore_grok_aarch_hw_watch): Likewise.
(elfcore_grok_note): Call the new functions to handle the
corresponding notes.
(elfcore_write_aarch_tls): New function.
(elfcore_write_aarch_hw_break): Likewise.
(elfcore_write_aarch_hw_watch): Likewise.
(elfcore_write_register_note): Call the new functions to handle the
corresponding pseudo sections.

binutils/

2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>

* readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
and NT_ARM_HW_WATCH.

11 years ago2013-01-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Jan 2013 16:42:23 +0000 (16:42 +0000)]
2013-01-08  Jeff Johnston  <jjohnstn@redhat.com>

        * MAINTAINERS: Add Richard Earnshaw as Arm co-maintainer
        and add Richard and Marcus Shawcroft as aarch64 maintainers.

11 years ago2013-01-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Jan 2013 21:39:26 +0000 (21:39 +0000)]
2013-01-07  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Remove license for mips/lsi33k-stub.h which no longer
        exists and replace the new bfin license in its location.

11 years ago2013-01-07 Steve Ellcey <sellcey@mips.com>
Jeff Johnston [Mon, 7 Jan 2013 21:29:39 +0000 (21:29 +0000)]
2013-01-07  Steve Ellcey  <sellcey@mips.com>

* libc/machine/mips/memcpy.S (memcpy): Check if _MIPS_SIM is set.

11 years ago* thread.cc (pthread_rwlock::lookup_reader): Remove parameter: always assume
Christopher Faylor [Mon, 7 Jan 2013 19:34:44 +0000 (19:34 +0000)]
* thread.cc (pthread_rwlock::lookup_reader): Remove parameter: always assume
that we're looking for the current thread.
(pthread_rwlock::tryrdlock): Eliminate self variable.  Accommodate change in
lookup_reader().
(pthread_rwlock::unlock): Ditto.
(pthread_rwlock::rdlock): Ditto.  Move add_reader call after writer tests to
more closely mimic old behavior.
(pthread_rwlock::wrlock): Accommodate change in lookup_reader().
* thread.h ((pthread_rwlock::lookup_reader): Eliminate argument.

11 years agoRemove "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS
H.J. Lu [Mon, 7 Jan 2013 18:25:13 +0000 (18:25 +0000)]
Remove "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS

* libstdc++-raw-cxx.m4 (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Remove
"-I" from LIBSTDCXX_RAW_CXX_LDFLAGS.

11 years agoAdd missing gas dependency
H.J. Lu [Mon, 7 Jan 2013 17:16:04 +0000 (17:16 +0000)]
Add missing gas dependency

PR gas/14899
* Makefile.def (dependencies): Make all-binutils, all-gprof,
all-ld and all-gold depend on all-gas.
* Makefile.in: Regenerated.

11 years agoSync config.guess and config.sub with GCC
H.J. Lu [Mon, 7 Jan 2013 17:13:22 +0000 (17:13 +0000)]
Sync config.guess and config.sub with GCC

11 years ago* thread.cc (pthread_rwlock::add_reader): Perform new operation here and return
Christopher Faylor [Mon, 7 Jan 2013 16:01:10 +0000 (16:01 +0000)]
* thread.cc (pthread_rwlock::add_reader): Perform new operation here and return
pointer to allocated RWLOCK_READER structure.
(pthread_rwlock::rdlock): Reorganize to reflect new add_reader functionality.
(pthread_rwlock::tryrdlock): Ditto.  Remove unneeded call to lookup_reader().
* thread.h (pthread_rwlock::RWLOCK_READER::RWLOCK_READER): New constructor.
(pthread_rwlock::add_reader): Reflect new functionality.

11 years ago (make_instruction): Rename to cr16_make_instruction.
Nick Clifton [Mon, 7 Jan 2013 15:09:07 +0000 (15:09 +0000)]
(make_instruction): Rename to cr16_make_instruction.
(match_opcode): Rename to cr16_match_opcode.

11 years ago * archures.c: Add support for MIPS r5900
Nick Clifton [Fri, 4 Jan 2013 17:22:50 +0000 (17:22 +0000)]
* archures.c: Add support for MIPS r5900
* bfd-in2.h: Add support for MIPS r5900
* config.bfd: Add support for Sony Playstation 2
* cpu-mips.c: Add support for MIPS r5900
* elfxx-mips.c: Add support for MIPS r5900 (extension of r4000)

* config/tc-mips.c: Add support for MIPS r5900
Add M_LQ_AB and M_SQ_AB to support large values for instructions lq and sq.
* config/tc-mips.c (can_swap_branch_p, get_append_method): Detect some conditional short loops to fix a bug on the r5900 by NOP in the branch delay slot.
* config/tc-mips.c (M_MUL): Support 3 operands in multu on r5900.
* config/tc-mips.c (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
* config/tc-mips.c (s_mipsset): Force 32 bit floating point on r5900.
* configure.in: Detect CPU type when target string contains r5900 (e.g. mips64r5900el-linux-gnu).

* config/tc-mips.c (mips_ip): Check parameter range of instructions mfps and mtps on r5900.

* elf/mips.h: Add MIPS machine variant number for r5900 which is compatible with old Playstation 2 software.
* opcode/mips.h: Add support for r5900 instructions including lq and sq.

* configure.tgt: Support ELF files for Sony Playstation 2 (for ps2dev and ps2sdk).
* emulparams/elf32lr5900n32.sh: Create linker script for Sony Playstation 2 ELF files using MIPS ABI n32.
* emulparams/elf32lr5900.sh: Create linker script for Sony Playstation 2 ELF files using MIPS ABI o32.
* Makefile.am: Add linker scripts for Sony Playstation 2 ELF files.

* opcodes/mips-dis.c: Add names for CP0 registers of r5900.
* opcodes/mips-opc.c: Add M_SQ_AB and M_LQ_AB to support larger range for instructions sq and lq.

* opcodes/mips-opc.c: Add support for MIPS r5900 CPU.
Add support for 128 bit MMI (Multimedia Instructions).
Add support for EE instructions (Emotion Engine).
Disable unsupported floating point instructions (64 bit and undefined compare operations).
Enable instructions of MIPS ISA IV which are supported by r5900.
Disable 64 bit co processor instructions.
Disable 64 bit multiplication and division instructions.
Disable instructions for co-processor 2 and 3, because these are not supported (preparation for later VU0 support (Vector Unit)).
Disable cvt.w.s because this behaves like trunc.w.s and the correct execution can't be ensured on r5900.
Add trunc.w.s using the opcode encoding of cvt.w.s on r5900. This will confuse less developers and compilers.

11 years ago* globals.cc (exit_states): Renumber so that ES_EXIT_STARTING is first, as
Christopher Faylor [Fri, 4 Jan 2013 02:21:03 +0000 (02:21 +0000)]
* globals.cc (exit_states): Renumber so that ES_EXIT_STARTING is first, as
intended.
* sigproc.cc (wait_sig): Only stop accepting signals after exit_state >
ES_EXIT_STARTING.

11 years ago* sigproc.cc (exit_thread): Set thread signal mask so that no signals are sent
Christopher Faylor [Thu, 3 Jan 2013 05:05:10 +0000 (05:05 +0000)]
* sigproc.cc (exit_thread): Set thread signal mask so that no signals are sent
to an exiting thread.

11 years ago* sigproc.cc (no_signals_available): Remove exit_state test since signals are
Christopher Faylor [Thu, 3 Jan 2013 03:33:18 +0000 (03:33 +0000)]
* sigproc.cc (no_signals_available): Remove exit_state test since signals are
available in a limited fashion when exiting.
(sig_dispatch_pending): Ditto.
(sig_send): Ditto.
(exit_thread): Rearrange to avoid an unnecessary DuplicateProcess when exiting.
(wait_sig): Allow special signals when exiting.

11 years agoupdate copyright
Christopher Faylor [Wed, 2 Jan 2013 18:48:21 +0000 (18:48 +0000)]
update copyright

11 years ago* DevNotes: Add entry cgf-000020, relating to previous checkin.
Christopher Faylor [Wed, 2 Jan 2013 18:46:55 +0000 (18:46 +0000)]
* DevNotes: Add entry cgf-000020, relating to previous checkin.

11 years ago* cygtls.h (_cygtls::signal_exit): Delete from class.
Christopher Faylor [Wed, 2 Jan 2013 18:34:06 +0000 (18:34 +0000)]
* cygtls.h (_cygtls::signal_exit): Delete from class.
* exception.h (cygwin_exception): New class.
(cygwin_exception::dumpstack): Declare new function.
(cygwin_exception::context): Ditto.
(cygwin_exception::dump_exception): Ditto.
* exceptions.cc (cygwin_exception::dump_exception): Move into cygwin_exception
class.  Accommodate new variable names.
(cygwin_exception::dumpstack): Ditto stackdump -> dumpstack.
(exception::handle): Move andreas processing earlier.  Defer signal processing
decisions to the signal thread where they belong.  Pass exception information
to sig_send via new siginfo_t si_cyg field.
(ctrl_c_handler): Wait for SIGHUP signal to be processed since it could cause a
process exit and we don't want races with thread exit lock.
(signal_exit): Move back here from sigproc.cc.  Modify arguments and remove
from sigpacket class.  Decide when to dump core based on signal type.
(sigpacket::process): Handle exiting signals in context of threads rather than
in the signal thread.  Signal debugger on non-Windows signals.  Remove
setup_signal_exit call.
* sigproc.cc (no_signals_available): Remove argument.
(signal_exit_code): Delete.
(close_my_readsig): Ditto.
(_cygtls::signal_exit): Move to exceptions.cc.
(sigproc_terminate): Don't attempt to terminate signal thread.
(setup_signal_exit): Delete.
(exit_thread): Use new si_cyg entry in siginfo_t.
(sig_send): Just use empty initializer for si.  Accommodate change in
no_signals_available argument.
(wait_sig): Remove attempt to "go asynchronous" on process exit.  Delete
__SIGEXIT handling.  Don't ever exit.
* sigproc.h: Remove __SIGEXIT from signal enum.  Renumber.
* include/cygwin/signal.h (siginfo_t): Add si_cyg entry.

11 years ago * arm.h (ARMV7PEMAGIC): Define.
Nick Clifton [Wed, 2 Jan 2013 13:20:50 +0000 (13:20 +0000)]
* arm.h (ARMV7PEMAGIC): Define.
(ARMBADMAG): Update.

11 years agoopcodes/ChangeLog
Nick Clifton [Wed, 2 Jan 2013 13:13:36 +0000 (13:13 +0000)]
opcodes/ChangeLog
* cr16-dis.c (match_opcode,make_instruction: Remove static declaration.
(dwordU,wordU): Moved typedefs to opcode/cr16.h
(cr16_words,cr16_allWords,cr16_currInsn): Added prefix 'cr16_'

bfd/Changelog
* config.bfd (cr16*-*-uclinux*): New target support.

include/opcode/ChangeLog
* cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c
(make_instruction,match_opcode): Added function prototypes.
(cr16_words,cr16_allWords,cr16_currInsn): Declare as extern.

11 years agoUpdate years in copyright notice for the GDB files.
Joel Brobecker [Tue, 1 Jan 2013 06:41:30 +0000 (06:41 +0000)]
Update years in copyright notice for the GDB files.

Two modifications:
  1. The addition of 2013 to the copyright year range for every file;
  2. The use of a single year range, instead of potentially multiple
     year ranges, as approved by the FSF.

11 years ago* sigproc.cc (wait_sig): Remove spurious extern.
Christopher Faylor [Mon, 31 Dec 2012 19:07:03 +0000 (19:07 +0000)]
* sigproc.cc (wait_sig): Remove spurious extern.

11 years ago* dtable.cc (dtable::dup3): Fix bounds checking for valid newfd.
Christopher Faylor [Mon, 31 Dec 2012 18:31:49 +0000 (18:31 +0000)]
* dtable.cc (dtable::dup3): Fix bounds checking for valid newfd.
* syscalls.cc (dup2): Ditto.
* winsup.h (events_terminate): Delete obsolete function declaration.

11 years ago* DevNotes: Add entry cgf-000019.
Christopher Faylor [Fri, 28 Dec 2012 18:06:17 +0000 (18:06 +0000)]
* DevNotes: Add entry cgf-000019.
* dcrt0.cc (do_exit): Just set exit_state to ES_EVENTS_TERMINATE and nuke call
to events_terminate which just set a superfluous flag.
* sigproc.cc (signal_exit_code): New variable.
(setup_signal_exit): Define new function.
(_cygtls::signal_exit): Remove accommodations for closing the signal pipe
handle.
(exit_thread): Just sleep if we're exiting.
(wait_sig): If signal_exit_code is set, just handle bookkeeping signals and
exit ReadFile loop if there is nothing more to process.  Call signal_exit at
end if signal_exit_code is non-zero.
* sigproc.h (setup_signal_exit): Declare new function.
* exceptions.cc (sigpacket::process): Use setup_signal_exit to control exiting
due to a signal.
(exception::handle): Ditto.  Query exit_state rather than defunct exit_already
to determine if we are exiting.
* globals.cc (ES_SIGNAL_EXIT): New enum.
* sync.h (lock_process::release): New function for explicitly unlocking muto.
(lock_process::~lock_process): Use release method.

11 years ago* fork.cc (child_info::prefork): Fix error message formatting.
Christopher Faylor [Thu, 27 Dec 2012 17:25:17 +0000 (17:25 +0000)]
* fork.cc (child_info::prefork): Fix error message formatting.

11 years agoFix tid comment.
Christopher Faylor [Sat, 22 Dec 2012 23:37:33 +0000 (23:37 +0000)]
Fix tid comment.

11 years ago* select.h (select_stuff): Remove variable names from parameter declarations.
Christopher Faylor [Sat, 22 Dec 2012 19:35:41 +0000 (19:35 +0000)]
* select.h (select_stuff): Remove variable names from parameter declarations.
(select_info): Ditto.
(select_record::dump_select_record): Declare new debugging-only function.
(select_info): Zero all fields.
(select_pipe_info): Ditto.
(select_socket_info): Ditto.
(select_serial_info): Ditto.
(select_mailslot_info): Ditto.
* select.cc (select_record::dump_select_record): Define new debugging-only
function.
(select_stuff::test_and_set): Call dump_select_record when debugging.
* thread.cc (pthread_mutex::unlock): Revert setting of tid to NULL since, in
this context, it is a number, not a pointer.
(pthread_spinlock::unlock): Ditto.

11 years agoBack out prematurely checked-in change.
Christopher Faylor [Sat, 22 Dec 2012 03:16:43 +0000 (03:16 +0000)]
Back out prematurely checked-in change.

11 years ago* sigproc.cc (exit_thread): undef ExitThread or suffer recursion. Attempt to
Christopher Faylor [Sat, 22 Dec 2012 03:14:37 +0000 (03:14 +0000)]
* sigproc.cc (exit_thread): undef ExitThread or suffer recursion.  Attempt to
lock process prior to calling sig_send.

11 years agoRevert the reversion and go with implementation described in cgf-000017, with
Christopher Faylor [Fri, 21 Dec 2012 21:30:56 +0000 (21:30 +0000)]
Revert the reversion and go with implementation described in cgf-000017, with
some modifications.
* init.cc (dll_entry): Revert previous change.
* miscfuncs.cc: Include sigproc.h for exit_thread declaration.
* winsup.h (ExitThread): Define as 'exit_thread' to ensure no accidental use.
* sigproc.cc (exit_thread): New function.
(wait_sig): Handle __SIGTHREADEXIT case.  Don't just block rather than
returning from this function.
* sigproc.h (__SIGTHREADEXIT): New enum.
(exit_thread): Declare.
* sync.cc (muto::release): Accept a tls command-line argument.
* sync.h (muto::release): Accept a tls command-line parameter.  Default to
&_my_tls.
* cygerrno.h (__set_errno): Define as extern so that no function code is ever
emitted.
* cygserver_ipc.h (cygserver_ipc.h): Ditto.
* miscfuncs.h (transform_chars): Ditto.
* path.h (has_attribute): Ditto.
* security.h (privilege_luid): Ditto.
* winsup.h (flush_file_buffers): Ditto.

11 years ago* DevNotes: Add entry cgf-000018.
Christopher Faylor [Fri, 21 Dec 2012 19:32:43 +0000 (19:32 +0000)]
* DevNotes: Add entry cgf-000018.
* init.cc (dll_entry): Grab process lock before exiting to ensure that thread
doesn't exit before parent if parent is exiting.
* _cygtls.cc (_cygtls::call2): Revert previous 2012-12-21 change.
* miscfuncs.cc (thread_wrapper): Ditto.
* thread.cc (pthread::exit): Ditto.
* sigproc.cc (exit_thread): Ditto.
(wait_sig): Ditto.
* sync.cc (muto::release): Ditto.
* sync.h (muto::release): Ditto.
* sigproc.h (__SIGTHREADEXIT): Delete enum.
(exit_thread): Delete declaration.

11 years ago* DevNotes: Add entry cgf-000017.
Christopher Faylor [Fri, 21 Dec 2012 18:52:00 +0000 (18:52 +0000)]
* DevNotes: Add entry cgf-000017.
* _cygtls.cc (_cygtls::call2): Use new exit_thread function in place of
ExitThread.
* miscfuncs.cc (thread_wrapper): Ditto.
* thread.cc (pthread::exit): Ditto.
(pthread_mutex::unlock): Set tid to NULL rather than 0.
(pthread_spinlock::unlock): Ditto.
* pinfo.cc (commune_process): Actually call lock_process constructor.
* sigproc.cc (exit_thread): New function.
(wait_sig): Handle __SIGTHREADEXIT case.  Don't just block rather than
returning from this function.
* sigproc.h (__SIGTHREADEXIT): New enum.
(exit_thread): Declare.
* sync.cc (muto::release): Accept a tls command-line argument.
* sync.h (muto::release): Accept a tls command-line parameter.  Default to
&_my_tls.

11 years ago * Makefile.def (install-target-libgo): Depend on
Jan-Benedict Glaw [Thu, 20 Dec 2012 21:59:17 +0000 (21:59 +0000)]
* Makefile.def (install-target-libgo): Depend on
install-target-libatomic. Merged from GCC repo.
* Makefile.in: Regenerate.

11 years ago2012-12-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 20 Dec 2012 21:10:27 +0000 (21:10 +0000)]
2012-12-20  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 2.0.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 2.0.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.in: Regenerated.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_2.0

11 years ago * pathnames.sgml (pathnames-at): Drop confusing description on
Corinna Vinschen [Thu, 20 Dec 2012 16:47:26 +0000 (16:47 +0000)]
* pathnames.sgml (pathnames-at): Drop confusing description on
"embedded double quotes".

11 years ago * dcrt0.cc (build_argv): Allow quoted filenames in @ expression.
Corinna Vinschen [Thu, 20 Dec 2012 13:39:34 +0000 (13:39 +0000)]
* dcrt0.cc (build_argv): Allow quoted filenames in @ expression.

11 years agoAdd missing file.
Christopher Faylor [Wed, 19 Dec 2012 22:07:14 +0000 (22:07 +0000)]
Add missing file.

11 years ago* select.h (select_stuff::select_stuff): Make default constructor always zero
Christopher Faylor [Wed, 19 Dec 2012 21:15:54 +0000 (21:15 +0000)]
* select.h (select_stuff::select_stuff): Make default constructor always zero
everything while constructor with int arg just zeroes next.
* select.cc (select_stuff::test_and_set): Revert to using default constructor.

11 years ago* select.cc (select_stuff::wait): Add windows error number to error message.
Christopher Faylor [Wed, 19 Dec 2012 18:44:40 +0000 (18:44 +0000)]
* select.cc (select_stuff::wait): Add windows error number to error message.

11 years ago * libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.
Corinna Vinschen [Wed, 19 Dec 2012 10:16:00 +0000 (10:16 +0000)]
* libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.

11 years ago2012-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 18 Dec 2012 22:41:53 +0000 (22:41 +0000)]
2012-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h: Remove the log2f macro.

11 years ago2012-12-18 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Tue, 18 Dec 2012 21:20:51 +0000 (21:20 +0000)]
2012-12-18  Craig Howland  <howland@LGSInnovations.com>

        * libc/include/math.h: Add recognition of values 1 and 2 for
        FLT_EVAL_METHOD.

11 years agomerge from gcc
DJ Delorie [Tue, 18 Dec 2012 17:41:27 +0000 (17:41 +0000)]
merge from gcc

11 years ago* select.cc (select_stuff::test_and_set): Remove workaround and use proper
Christopher Faylor [Tue, 18 Dec 2012 17:32:45 +0000 (17:32 +0000)]
* select.cc (select_stuff::test_and_set): Remove workaround and use proper
constructor.

11 years ago* select.cc (select_stuff::test_and_set): Work around problem of new() not
Christopher Faylor [Tue, 18 Dec 2012 16:41:38 +0000 (16:41 +0000)]
* select.cc (select_stuff::test_and_set): Work around problem of new() not
returning zeroed memory.

11 years ago * libc/stdio/puts.c (_puts_r): Fix typo in previous patch. Add local
Corinna Vinschen [Tue, 18 Dec 2012 08:54:10 +0000 (08:54 +0000)]
* libc/stdio/puts.c (_puts_r): Fix typo in previous patch.  Add local
variable fp for better readability.

11 years ago2012-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 17 Dec 2012 22:44:09 +0000 (22:44 +0000)]
2012-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/puts.c: Add fp locking and use _stdout_r macro
        to refer to the stream rather than stdout.

11 years ago2012-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 17 Dec 2012 17:46:09 +0000 (17:46 +0000)]
2012-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Add license for bfin libgloss.

11 years ago2012-12-17 Stuart Henderson <shenders@gcc.gnu.org>
Jeff Johnston [Mon, 17 Dec 2012 17:44:38 +0000 (17:44 +0000)]
2012-12-17  Stuart Henderson  <shenders@gcc.gnu.org>

* bfin/Makefile.in: Add BF60x support.
* bfin/basiccrt.S: Add core1 support.
* bfin/bf606.ld: New file.
* bfin/bf606c0.ld: New file.
* bfin/bf606c1.ld: New file.
* bfin/bf606m.ld: New file.
* bfin/bf607.ld: New file.
* bfin/bf607c0.ld: New file.
* bfin/bf607c1.ld: New file.
* bfin/bf607m.ld: New file.
* bfin/bf608.ld: New file.
* bfin/bf608c0.ld: New file.
* bfin/bf608c1.ld: New file.
* bfin/bf608m.ld: New file.
* bfin/bf609.ld: New file.
* bfin/bf609c0.ld: New file.
* bfin/bf609c1.ld: New file.
* bfin/bf609m.ld: New file.
* bfin/bfin-common-mc0.ld: New file.
* bfin/include/cdefBF606.h : New file.
* bfin/include/cdefBF607.h : New file.
* bfin/include/cdefBF608.h : New file.
* bfin/include/cdefBF609.h : New file.
* bfin/include/defBF606.h : New file.
* bfin/include/defBF607.h : New file.
* bfin/include/defBF608.h : New file.
* bfin/include/defBF609.h : New file.
* bfin/include/sys/_adi_platform.h: Add BF60x support.
* bfin/include/sys/anomaly_macros_rtl.h : Clean up.

11 years agoAdd copyright notices
Nick Clifton [Mon, 17 Dec 2012 16:56:03 +0000 (16:56 +0000)]
Add copyright notices

11 years ago * configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.
Thomas Schwinge [Sun, 16 Dec 2012 07:10:07 +0000 (07:10 +0000)]
* configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.
* configure: Regenerate.

11 years ago2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
Jeff Johnston [Fri, 14 Dec 2012 20:45:51 +0000 (20:45 +0000)]
2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>

        * libc/machine/aarch64/machine/_types.h: New file; define _ssize_t
        as long.

11 years ago * utils.sgml (mount): Document sparse mount option.
Corinna Vinschen [Fri, 14 Dec 2012 11:11:17 +0000 (11:11 +0000)]
* utils.sgml (mount): Document sparse mount option.

11 years ago * new-features.sgml (ov-new1.7.18): Add sparse change.
Corinna Vinschen [Fri, 14 Dec 2012 11:10:29 +0000 (11:10 +0000)]
* new-features.sgml (ov-new1.7.18): Add sparse change.
* pathnames.sgml (mount-table): Document sparse mount option.

11 years ago*** empty log message ***
Corinna Vinschen [Fri, 14 Dec 2012 10:52:34 +0000 (10:52 +0000)]
*** empty log message ***

11 years ago * fhandler.cc (fhandler_base::write): Don't attempt to sparsify
Corinna Vinschen [Fri, 14 Dec 2012 10:45:29 +0000 (10:45 +0000)]
* fhandler.cc (fhandler_base::write): Don't attempt to sparsify
an already sparse file.  Drop check for FILE_SUPPORTS_SPARSE_FILES
flag.  Explicitely set FILE_ATTRIBUTE_SPARSE_FILE attribute in
cached attributes.
(fhandler_base::lseek): Only set did_lseek if sparseness is supported.
* fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Don't attempt
to sparsify an already sparse file.  Explicitely set
FILE_ATTRIBUTE_SPARSE_FILE attribute in cached attributes.
* mount.cc (oopt): Add "sparse" flag.
(fillout_mntent): Ditto.
* path.h (enum path_types): Add PATH_SPARSE.
(path_conv::support_sparse): New method.
(path_conv::fs_flags): Constify.
(path_conv::fs_name_len): Ditto.
include/sys/mount.h: Replace unused MOUNT_MIXED flag with MOUNT_SPARSE.

11 years agoAdd --with-build-config=bootstrap-asan support
H.J. Lu [Wed, 12 Dec 2012 13:52:58 +0000 (13:52 +0000)]
Add --with-build-config=bootstrap-asan support

* Makefile.def (target_modules): Add bootstrap=true and
raw_cxx=true to libsanitizer.
* configure.ac (bootstrap_target_libs): Add libsanitizer.
* Makefile.in: Regenerated.
* configure: Likewise.

11 years agoAdd libstdc++-raw-cxx.m4
H.J. Lu [Wed, 12 Dec 2012 13:47:14 +0000 (13:47 +0000)]
Add libstdc++-raw-cxx.m4

* libstdc++-raw-cxx.m4: New file.

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