aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-06-17sim: bfin: add flush/HWERR todoMike Frysinger2-0/+8
2013-06-17gdb: ignore generated gcoreMike Frysinger2-0/+5
2013-06-17*** empty log message ***gdbadmin1-1/+1
2013-06-17daily updateAlan Modra1-1/+1
2013-06-16daily updateAlan Modra1-1/+1
2013-06-16*** empty log message ***gdbadmin1-1/+1
2013-06-15gas/testsuite/Richard Sandiford2-0/+5
* gas/mips/loc-swap-3.d: Require -32.
2013-06-15daily updateAlan Modra1-1/+1
2013-06-15*** empty log message ***gdbadmin1-1/+1
2013-06-14gold/Cary Coutant7-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.
2013-06-14* rx-decode.opc (rx_decode_opcode): Bit operations onDJ Delorie3-81/+103
registers are 32-bit operations, not 8-bit operations. * rx-decode.c: Regenerate.
2013-06-14bfd/Yufeng Zhang5-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.
2013-06-14ld/Yufeng Zhang9-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.
2013-06-14gas/Richard Sandiford8-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.
2013-06-14gas/Richard Sandiford2-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.
2013-06-14*** empty log message ***gdbadmin1-1/+1
2013-06-14daily updateAlan Modra1-1/+1
2013-06-13 * dwarf2read.c (try_open_dwop_file): Work around behaviour ofDoug Evans2-7/+21
OPF_TRY_CWD_FIRST to not search path if the file contains a '/'.
2013-06-132013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu4-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-132013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu3-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-132013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>Chao-ying Fu2-2/+10
* config/tc-mips.c (ISA_SUPPORTS_VIRT_ASE): Support micromips. (ISA_SUPPORTS_VIRT64_ASE): Support 64-bit micromips.
2013-06-13 PR ld/15302Nick Clifton9-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.
2013-06-13 PR gas/15602Nick Clifton3-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.
2013-06-13*** empty log message ***gdbadmin1-1/+1
2013-06-13daily updateAlan Modra1-1/+1
2013-06-122013-06-12 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore5-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-122013-06-12 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore4-3/+10
include/opcode/ * nios2.h (OP_MATCH_ERET): Correct eret encoding. gas/testsuite/ * gas/nios2/tret.d: Correct eret encoding.
2013-06-12[GDBserver] Fix gdb.threads/siginfo-threads.exp, gdb.base/siginfo-obj.exp ↵Pedro Alves2-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-122013-06-12 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-11/+15
* stack.c (backtrace_command_1): Fix indentation.
2013-06-12oops - omittedNick Clifton1-1/+3
2013-06-12 * ldcref.c (output_one_cref): Place common definitions afterNick Clifton2-3/+21
ordinary definitions but before references.
2013-06-12daily updateAlan Modra1-1/+1
2013-06-12*** empty log message ***gdbadmin1-1/+1
2013-06-11* elf32-rl78.c (rl78_elf_relocate_section): Fix OPsub math.DJ Delorie2-4/+11
2013-06-11Lazily allocate 'struct regsets_info'::disabled_regsets.Pedro Alves3-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.
2013-06-11Fix regression from multi-arch patch.Pedro Alves2-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.
2013-06-11[GDBserver] Initialize the x32 avx target description.Pedro Alves2-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.
2013-06-11windows-nat.c:thread_rec: Add missing empty line after var declaration.Joel Brobecker2-0/+6
gdb/ChangeLog: * window-nat.c (thread_rec): Add missing empty line after local variable declaration.
2013-06-11[windows] Fix accidental change of %u -> %d in SuspendThread warning.Joel Brobecker2-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.
2013-06-11windows: Prefix thread ID values with "0x" in debug tracesJoel Brobecker2-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.
2013-06-11windows: Add thread ID in SuspendThread error warning message.Joel Brobecker2-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.
2013-06-11bfd/elf64-aarch64.c: Use ELF64_R_SYM instead of ELF32_R_SYM.Will Newton2-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.
2013-06-11 * elf32-rl78.c (rl78_elf_finish_dynamic_sections): Onlly runNick Clifton2-10/+20
checks if the dynamic sections have been created and relaxation has not been performed.
2013-06-11daily updateAlan Modra1-1/+1
2013-06-11*** empty log message ***gdbadmin1-1/+1
2013-06-10 gas/Maciej W. Rozycki8-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.
2013-06-10 PR ld/15598Nick Clifton2-2/+7
* ld.texinfo (Source Code Reference): Fix typos.
2013-06-10sim: bfin: only regen linux-fixed-code.h in maintainer modeMike Frysinger2-1/+6
Since many people don't have a Blackfin toolchain available, only try to regenerate the header file when in maintainer mode. This file rarely changes, and when it does, we commit the generated output, so there's almost never a need to run directly on an end system.
2013-06-102013-06-09 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore7-4/+30
opcodes/ * nios2-opc.c (nios2_builtin_opcodes): Give "trap" a type-"b" argument. gas/ * config/tc-nios2.c (nios2_parse_args): Allow trap argument to omitted. gas/testsuite/ * gas/nios2/trap.s: Add additional test cases for optional argument. * gas/nios2/trap.d: Likewise.
2013-06-10*** empty log message ***gdbadmin1-1/+1