summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* sim: bfin: tweak run-tests for parallel usageMike Frysinger2013-06-172-6/+34
|
* sim: bfin: add helpful info for generating test tablesMike Frysinger2013-06-172-0/+23
|
* sim: bfin: drop RET[ENI] setupMike Frysinger2013-06-172-3/+4
| | | | | | | | | | Since these insns run in usermode, there should be no need to setup RET[ENI] to safe values. They won't be dereferenced, and any insn that returns via them are valid only in supervisor mode. Since this is in the main exception code path, saving any insn at all is good as it gets multiplied quickly (as in O(n^2) times). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sim: bfin: add flush/HWERR todoMike Frysinger2013-06-172-0/+8
|
* gdb: ignore generated gcoreMike Frysinger2013-06-172-0/+5
|
* *** empty log message ***gdbadmin2013-06-171-1/+1
|
* daily updateAlan Modra2013-06-171-1/+1
|
* daily updateAlan Modra2013-06-161-1/+1
|
* *** empty log message ***gdbadmin2013-06-161-1/+1
|
* gas/testsuite/Richard Sandiford2013-06-152-0/+5
| | | | * gas/mips/loc-swap-3.d: Require -32.
* daily updateAlan Modra2013-06-151-1/+1
|
* *** empty log message ***gdbadmin2013-06-151-1/+1
|
* gold/Cary Coutant2013-06-147-87/+425
| | | | | | | | | | | | | * resolve.cc (Symbol::override_base): Don't override st_type from plugin placeholder symbols. (Symbol_table::resolve): Likewise. (Symbol_table::should_override): Don't complain about TLS mismatch if the TO symbol is a plugin placeholder. * testsuite/Makefile.am (plugin_test_tls): New test. * testsuite/Makefile.in: Regenerate. * testsuite/plugin_test_tls.sh: New test script. * testsuite/two_file_test_2_tls.cc: New test source. * testsuite/two_file_test_tls.cc: New test source.
* * rx-decode.opc (rx_decode_opcode): Bit operations onDJ Delorie2013-06-143-81/+103
| | | | | registers are 32-bit operations, not 8-bit operations. * rx-decode.c: Regenerate.
* bfd/Yufeng Zhang2013-06-145-6/+42
| | | | | | | | | | | | | * elf64-aarch64.c (elf64_aarch64_final_link_relocate): Call aarch64_resolve_relocation and bfd_elf_aarch64_put_addend to handle the relocations of R_AARCH64_JUMP26, R_AARCH64_CALL26, R_AARCH64_LD64_GOT_LO12_NC, R_AARCH64_ADR_GOT_PAGE and R_AARCH64_GOT_LD_PREL19. ld/testsuite/ * ld-aarch64/aarch64-elf.exp: Add 'ifunc-7c'. * ld-aarch64/ifunc-7c.d: New test.
* ld/Yufeng Zhang2013-06-149-10/+24
| | | | | | | | | | | | | | | * emulparams/aarch64elf.sh: Add IREL_IN_PLT. ld/testsuite/ * ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset with regexp. * ld-aarch64/ifunc-1.d: Likewise. * ld-aarch64/ifunc-2-local.d: Likewise. * ld-aarch64/ifunc-2.d: Likewise. * ld-aarch64/ifunc-3a.d: Likewise. * ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo global.
* gas/Richard Sandiford2013-06-148-19/+87
| | | | | | | | | | | | | * dwarf2dbg.h (dwarf2_move_insn): Declare. * dwarf2dbg.c (line_subseg): Add pmove_tail. (get_line_subseg): Add create_p argument. Initialize pmove_tail. (dwarf2_gen_line_info_1): Update call accordingly. (dwarf2_move_insn): New function. * config/tc-mips.c (append_insn): Use dwarf2_move_insn. gas/testsuite/ * gas/mips/loc-swap-3.d, gas/mips/loc-swap-3.s: New test. * gas/mips/mips.exp: Run it.
* gas/Richard Sandiford2013-06-142-47/+29
| | | | | | | | | | | | | | | Revert: 2011-09-05 Richard Sandiford <rdsandiford@googlemail.com> PR gas/13024 * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables. (dwarf2_gen_line_info_1): Delete. (dwarf2_push_line, dwarf2_flush_pending_lines): New functions. (dwarf2_gen_line_info, dwarf2_emit_label): Use them. (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines. (dwarf2_directive_loc): Push previous .locs instead of generating them immediately.
* *** empty log message ***gdbadmin2013-06-141-1/+1
|
* daily updateAlan Modra2013-06-141-1/+1
|
* * dwarf2read.c (try_open_dwop_file): Work around behaviour ofDoug Evans2013-06-132-7/+21
| | | | OPF_TRY_CWD_FIRST to not search path if the file contains a '/'.
* 2013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2013-06-134-2/+42
| | | | | | * gas/mips/micromips@virt.d: New file. * gas/mips/micromips@virt64.d: New file. * gas/mips/mips.exp: Enable virt and virt64 tests for micromips.
* 2013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2013-06-133-0/+38
| | | | | | | | | | * micromips-opc.c (IVIRT): New define. (IVIRT64): New define. (micromips_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0, tlbginv, tlbginvf, tlbgp, tlbgr, tlbgwi, tlbgwr VIRT instructions. * mips-dis.c (print_insn_micromips): Handle mfgc0, mtgc0, dmfgc0, dmtgc0 to print cp0 names.
* 2013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2013-06-132-2/+10
| | | | | * config/tc-mips.c (ISA_SUPPORTS_VIRT_ASE): Support micromips. (ISA_SUPPORTS_VIRT64_ASE): Support 64-bit micromips.
* PR ld/15302Nick Clifton2013-06-139-4/+86
| | | | | | | | | | | | | | * elf32-arm.c (allocate_dynrelocs_for_symbol): Transform ST_BRANCH_TO_ARM into ST_BRANCH_TO_THUMB if the target only supports thumb instructions. PR ld/15302 * ld-arm/branch-lks-sym.ld: New script. * ld-arm/thumb-b-lks-sym.s: New test. * ld-arm/thumb-b-lks-sym.d: Expected disassembly. * ld-arm/thumb-bl-lks-sym.s: New test. * ld-arm/thumb-bl-lks-sym.d: Expected disassembly. * ld-arm/arm-elf.exp: Run the new tests.
* PR gas/15602Nick Clifton2013-06-133-0/+28
| | | | | | | * config/tc-m68k.h (TC_CHECK_ADJUSTED_BROKEN_DOT_WORD): Define. * config/tc-m68k.c (tc_m68k_check_adjusted_broken_word): New function. Generates an error if the adjusted offset is out of a 16-bit range.
* *** empty log message ***gdbadmin2013-06-131-1/+1
|
* daily updateAlan Modra2013-06-131-1/+1
|
* 2013-06-12 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore2013-06-125-1/+16
| | | | | | | | | | | gas/ * config/tc-nios2.c (md_apply_fix): Mask constant BFD_RELOC_NIOS2_HIADJ16 value to 16 bits. gas/testsuite/ * gas/nios2/movia.s: Add additional test case with negative constant value. * gas/nios2/movia.d: Likewise.
* 2013-06-12 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore2013-06-124-3/+10
| | | | | | | | include/opcode/ * nios2.h (OP_MATCH_ERET): Correct eret encoding. gas/testsuite/ * gas/nios2/tret.d: Correct eret encoding.
* [GDBserver] Fix gdb.threads/siginfo-threads.exp, gdb.base/siginfo-obj.exp ↵Pedro Alves2013-06-122-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regressions. This fixes the regressions reported at <http://sourceware.org/ml/gdb-patches/2013-06/msg00280.html>: $ runtest-gdbserver gdb.base/siginfo-obj.exp gdb.base/siginfo-thread.exp gdb.threads/siginfo-threads.exp Running ./gdb.base/siginfo-thread.exp ... FAIL: gdb.base/siginfo-thread.exp: p ssi_addr Running ./gdb.threads/siginfo-threads.exp ... FAIL: gdb.threads/siginfo-threads.exp: signal 0 si_pid FAIL: gdb.threads/siginfo-threads.exp: signal 1 si_pid FAIL: gdb.threads/siginfo-threads.exp: signal 2 si_pid FAIL: gdb.threads/siginfo-threads.exp: signal 3 si_pid Running ./gdb.base/siginfo-obj.exp ... FAIL: gdb.base/siginfo-obj.exp: p ssi_addr FAIL: gdb.base/siginfo-obj.exp: p ssi_addr The multi-arch patch made GDBserver do the the wrong siginfo layout conversion, because most uses of `linux_is_elf64' were removed, and it ended up never set. A global really is the wrong thing to use as elf64-ness is a per-process property; `linux_is_elf64' was just accidentally left behind. Tested on x86_64 Fedora 17. gdb/gdbserver/ 2013-06-12 Pedro Alves <palves@redhat.com> * linux-x86-low.c (linux_is_elf64): Delete global. (x86_siginfo_fixup): Replace reference to `linux_is_elf64' global with local linux_pid_exe_is_elf_64_file use.
* 2013-06-12 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2013-06-122-11/+15
| | | | * stack.c (backtrace_command_1): Fix indentation.
* oops - omittedNick Clifton2013-06-121-1/+3
|
* * ldcref.c (output_one_cref): Place common definitions afterNick Clifton2013-06-122-3/+21
| | | | ordinary definitions but before references.
* daily updateAlan Modra2013-06-121-1/+1
|
* *** empty log message ***gdbadmin2013-06-121-1/+1
|
* * elf32-rl78.c (rl78_elf_relocate_section): Fix OPsub math.DJ Delorie2013-06-112-4/+11
|
* Lazily allocate 'struct regsets_info'::disabled_regsets.Pedro Alves2013-06-113-14/+39
| | | | | | | | | | | | | | | | | | | | | There's no need for every arch to pre-allocate disabled_regsets. Chances are the array won't be used. (I have a hunch that with some more work we could dispense with initialize_regsets_info.) Tested on x86_64 Fedora 17 w/ -lmcheck. gdb/gdbserver/ 2013-06-11 Pedro Alves <palves@redhat.com> * linux-low.c (regset_disabled, disable_regset): New functions. (regsets_fetch_inferior_registers) (regsets_store_inferior_registers): Use them. (initialize_regsets_info); Don't allocate the disabled_regsets array here. * linux-low.h (struct regsets_info) <disabled_regsets>: Extend comment.
* Fix regression from multi-arch patch.Pedro Alves2013-06-112-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the regression reported at <http://sourceware.org/ml/gdb-patches/2013-06/msg00185.html>. GDBserver was reaching: static int regsets_fetch_inferior_registers (struct regsets_info *regsets_info, struct regcache *regcache) { struct regset_info *regset; int saw_general_regs = 0; int pid; struct iovec iov; regset = regsets_info->regsets; pid = lwpid_of (get_thread_lwp (current_inferior)); while (regset->size >= 0) { void *buf, *data; int nt_type, res; if (regset->size == 0 || regsets_info->disabled_regsets[regset - regsets_info->regsets]) { >>>>>>> regset ++; <<<<<<< HERE continue; } Because info->disabled_regsets[] was not being initialized, and that causes all sorts of wrong. gdb/gdbserver/ 2013-06-11 Pedro Alves <palves@redhat.com> * linux-low.c (initialize_regsets_info): Use xcalloc instead of xmalloc.
* [GDBserver] Initialize the x32 avx target description.Pedro Alves2013-06-112-0/+6
| | | | | | | | | | All target descriptions must be initialized at startup, but this one was forgotten. gdb/gdbserver/ 2013-06-11 Pedro Alves <palves@redhat.com> * linux-x86-low.c (initialize_low_arch): Call init_registers_x32_avx_linux.
* windows-nat.c:thread_rec: Add missing empty line after var declaration.Joel Brobecker2013-06-112-0/+6
| | | | | | | gdb/ChangeLog: * window-nat.c (thread_rec): Add missing empty line after local variable declaration.
* [windows] Fix accidental change of %u -> %d in SuspendThread warning.Joel Brobecker2013-06-112-1/+6
| | | | | | | | | | | While enhancing the warning printed in when SuspendThread fails, I accidently changed the format used to print the error code from %u to %d. This patch reverts it back. gdb/ChangeLog: * windows-nat.c (thread_rec): Revert format used to print error code returned by SuspendThread from %d back to %u.
* windows: Prefix thread ID values with "0x" in debug tracesJoel Brobecker2013-06-112-10/+16
| | | | | | | | | | | | | | | | | | The windows-nat.c debug traces print the thread ID in base 16, but give no indication of it. So, in a trace like the following... gdb: kernel event for pid=4816 tid=720 code=CREATE_THREAD_DEBUG_EVENT) ... where tid is "720", it's easy to be confused and think that the thread ID is 720 rather than 0x720. This patch avoids the confusion by adding the usual "0x" prefix used for hexadecimal values. gdb/ChangeLog: * windows-nat.c (windows_continue): Add "0x" prefix for thread ID in debug trace. (get_windows_debug_event): Likewise, for all debug traces.
* windows: Add thread ID in SuspendThread error warning message.Joel Brobecker2013-06-112-2/+8
| | | | | | | | | | | | | | | | | | | | This patch adds the thread ID to a warning printed when a call to SuspendThread fails. It will help investigate issues, particularly when correlated with the various debug traces provided by the windows-nat module. For the record, the output has been changed from... warning: SuspendThread failed. (winerr 6) ... to ... warning: SuspendThread (tid=0x720) failed. (winerr 6) gdb/ChangeLog: * window-nat.c (thread_rec): Add thread ID in SuspendThread warning message.
* bfd/elf64-aarch64.c: Use ELF64_R_SYM instead of ELF32_R_SYM.Will Newton2013-06-112-3/+8
| | | | | | | | | | | Fix incorrect usage of ELF32_R_SYM introduced in ifunc changes. bfd/ChangeLog: 2013-06-11 Will Newton <will.newton@linaro.org> * elf64-aarch64.c (elf_aarch64_get_local_sym_hash): Use ELF64_R_SYM instead of ELF32_R_SYM.
* * elf32-rl78.c (rl78_elf_finish_dynamic_sections): Onlly runNick Clifton2013-06-112-10/+20
| | | | | checks if the dynamic sections have been created and relaxation has not been performed.
* daily updateAlan Modra2013-06-111-1/+1
|
* *** empty log message ***gdbadmin2013-06-111-1/+1
|
* gas/Maciej W. Rozycki2013-06-108-8/+79
| | | | | | | | | | | | | | | | | | * config/tc-mips.c (append_insn): Don't do branch relaxation for MIPS-3D instructions either. (md_convert_frag): Update the COPx branch mask accordingly. * config/tc-mips.c (md_show_usage): Document --[no-]relax-branch option. * doc/as.texinfo (Overview): Add --relax-branch and --no-relax-branch. * doc/c-mips.texi (MIPS Opts): Document --relax-branch and --no-relax-branch. gas/testsuite/ * gas/mips/relax-bc1any.l: New test. * gas/mips/relax-bc1any.s: New test source. * gas/mips/mips.exp: Run the new test.
* PR ld/15598Nick Clifton2013-06-102-2/+7
| | | | * ld.texinfo (Source Code Reference): Fix typos.
OpenPOWER on IntegriCloud