1. 12 Jan, 2013 1 commit
  2. 11 Jan, 2013 9 commits
  3. 10 Jan, 2013 9 commits
    • H.J. Lu's avatar
      Build gmp before configuring gcc · 780cf190
      H.J. Lu authored
      	* Makefile.def (configure-gcc): Depend on all-gmp.
      	(all-gcc): Remove dependency on all-gmp.
      	* Makefile.in: Regenerated.
    • Corinna Vinschen's avatar
      * path.h (path_conv::fs_type): New method. · 34ce8088
      Corinna Vinschen authored
      	* syscalls.cc (rename): Check for cross-device situation before
      	touching anything.  Explain why.  Workaround NFS bug in call to
    • Marcus Shawcroft's avatar
      2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org> · 211f1ec7
      Marcus Shawcroft authored
              * 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.
    • Marcus Shawcroft's avatar
      2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org> · ba8f05bc
      Marcus Shawcroft authored
              * 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.
    • Marcus Shawcroft's avatar
      2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org> · 82c3d37d
      Marcus Shawcroft authored
              * 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.
    • Marcus Shawcroft's avatar
      2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org> · a8907bda
      Marcus Shawcroft authored
      	* 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.
    • Marcus Shawcroft's avatar
      2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org> · 2edd1035
      Marcus Shawcroft authored
      	* 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.
    • Marcus Shawcroft's avatar
      2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org> · 080e96f5
      Marcus Shawcroft authored
      	    * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
      	    memcpy.c memcpy-stub.c memset.S memset-stub.c strcmp.S
      	    * 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.
    • Nick Clifton's avatar
      * common.h: Fix case of "Meta". · c9b45dfb
      Nick Clifton authored
      	* 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.
  4. 09 Jan, 2013 2 commits
  5. 08 Jan, 2013 3 commits
    • Jan-Benedict Glaw's avatar
      * config.guss: Update from config repo. · 7dadae9f
      Jan-Benedict Glaw authored
      	* config.sub: Dito.
    • Yufeng Zhang's avatar
      include/elf/ · 7af4ad81
      Yufeng Zhang authored
      2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>
      	* common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New macro
      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.
      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.
    • Jeff Johnston's avatar
      · 2fadaa7a
      Jeff Johnston authored
      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.
  6. 07 Jan, 2013 8 commits
    • Jeff Johnston's avatar
      · 0c2c3ac8
      Jeff Johnston authored
      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.
    • Jeff Johnston's avatar
      · a3f10f13
      Jeff Johnston authored
      2013-01-07  Steve Ellcey  <sellcey@mips.com>
      	* libc/machine/mips/memcpy.S (memcpy): Check if _MIPS_SIM is set.
    • Christopher Faylor's avatar
      * thread.cc (pthread_rwlock::lookup_reader): Remove parameter: always assume · 98f16610
      Christopher Faylor authored
      that we're looking for the current thread.
      (pthread_rwlock::tryrdlock): Eliminate self variable.  Accommodate change in
      (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.
    • H.J. Lu's avatar
      Remove "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS · d5446858
      H.J. Lu authored
      	* libstdc++-raw-cxx.m4 (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Remove
    • H.J. Lu's avatar
      Add missing gas dependency · 24b70a72
      H.J. Lu authored
      	PR gas/14899
      	* Makefile.def (dependencies): Make all-binutils, all-gprof,
      	all-ld and all-gold depend on all-gas.
      	* Makefile.in: Regenerated.
    • H.J. Lu's avatar
      Sync config.guess and config.sub with GCC · b3a2ca7b
      H.J. Lu authored
    • Christopher Faylor's avatar
      * thread.cc (pthread_rwlock::add_reader): Perform new operation here and return · 8f3f61eb
      Christopher Faylor authored
      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.
    • Nick Clifton's avatar
      (make_instruction): Rename to cr16_make_instruction. · 6cb6ea9c
      Nick Clifton authored
      	(match_opcode): Rename to cr16_match_opcode.
  7. 04 Jan, 2013 2 commits
    • Nick Clifton's avatar
      * archures.c: Add support for MIPS r5900 · bb8fa932
      Nick Clifton authored
      	* 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.
    • Christopher Faylor's avatar
      * globals.cc (exit_states): Renumber so that ES_EXIT_STARTING is first, as · 0fd830ef
      Christopher Faylor authored
      * sigproc.cc (wait_sig): Only stop accepting signals after exit_state >
  8. 03 Jan, 2013 2 commits
  9. 02 Jan, 2013 4 commits
    • Christopher Faylor's avatar
      update copyright · 19aef3fa
      Christopher Faylor authored
    • Christopher Faylor's avatar
    • Christopher Faylor's avatar
      * cygtls.h (_cygtls::signal_exit): Delete from class. · ca77b848
      Christopher Faylor authored
      * 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.
    • Nick Clifton's avatar
      * arm.h (ARMV7PEMAGIC): Define. · 74f8546d
      Nick Clifton authored
      	(ARMBADMAG): Update.