1. 17 Aug, 2016 1 commit
  2. 04 Jul, 2016 1 commit
  3. 30 Jun, 2016 4 commits
  4. 29 Jun, 2016 15 commits
    • Yao Qi's avatar
      Add copyright header in gdb.base/return.c · e5653468
      Yao Qi authored
      gdb/testsuite:
      
      2016-06-29  Yao Qi  <yao.qi@linaro.org>
      
      	* gdb.base/return.c: Add copyright header.
      e5653468
    • H.J. Lu's avatar
      Default to --enable-compressed-debug-sections=gas for Linux/x86 · 4e3e1fdf
      H.J. Lu authored
      --enable-compressed-debug-sections=gas added to binutils 2.26.  Make it
      default for Linux/x86 targets in 2.27.
      
      	* NEWS: Mention --enable-compressed-debug-sections=gas is the
      	default for Linux/x86 targets.
      	* configure.tgt (ac_default_compressed_debug_sections): Default
      	to yes for Linux/x86 targets.
      4e3e1fdf
    • Tom Tromey's avatar
      Fix PR python/20129 - use of non-existing variable · 803b47e5
      Tom Tromey authored
      PR python/20129 concerns the error message one gets from a command
      like "disable frame-filter global NoSuchFilter".  Currently this
      throws a second, unexpected, exception due to the use of a
      non-existing variable named "name".
      
      This patch adds regression tests and fixes a couple of spots to use
      the correct variable name.
      
      Built and regtested on x86-64 Fedora 23.
      
      2016-06-29  Tom Tromey  <tom@tromey.com>
      
      	PR python/20129:
      	* python/lib/gdb/command/frame_filters.py (_do_enable_frame_filter)
      	(SetFrameFilterPriority._set_filter_priority): Use "frame_filter",
      	not "name".
      
      2016-06-29  Tom Tromey  <tom@tromey.com>
      
      	PR python/20129:
      	* gdb.python/py-framefilter.exp: Add tests for setting priority
      	and disabling of non-existent frame filter.
      803b47e5
    • Tom Tromey's avatar
      PR gdb/17210 - fix possible memory leak in read_memory_robust · 9d78f827
      Tom Tromey authored
      PR gdb/17210 concerns a possible memory leak in read_memory_robust.
      The bug can happen because read_memory_robust allocates memory, does
      not install any cleanups, and invokes QUIT.  Similarly, target_read
      calls QUIT, so it too can potentially throw.
      
      The fix is to install cleanups to guard the allocated memory.
      
      Built and regtested on x86-64 Fedora 23.  I couldn't think of a way to
      test this, so no new test; and of course this means it should have
      more careful review.
      
      2016-06-29  Tom Tromey  <tom@tromey.com>
      
      	PR gdb/17210:
      	* target.c (free_memory_read_result_vector): Take a pointer to the
      	VEC as an argument.
      	(read_memory_robust): Install a cleanup for "result".
      	* mi/mi-main.c (mi_cmd_data_read_memory_bytes): Update.
      9d78f827
    • H.J. Lu's avatar
      gold: Support 386 TLS code sequences without PLT · b287eca3
      H.J. Lu authored
      There are extensions to 386 psABI:
      
      https://groups.google.com/forum/#!topic/ia32-abi/awsRSvJOJfs
      
      to call tls_get_addr via GOT:
      
      call *___tls_get_addr@GOT(%reg)
      
      where EBX register isn't required as GOT base.
      
      Since direct call is 4-byte long and indirect call, is 5-byte long, the
      extra one byte must be handled properly.
      
      For general dynamic model, 7-byte lea instruction before call
      instruction is replaced by 6-byte one to make room for indirect call.
      For local dynamic model, we simply use 5-byte indirect call.
      
      TLS linker optimization is updated to recognize new instruction
      patterns.  For local dynamic model to local exec model transition,
      we generate a 6-byte lea instruction as nop, instead of a 1-byte nop
      plus a 4-byte lea instruction.
      
      	PR gold/20308
      	* i386.cc (Target_i386::Relocate::relocate): Allow
      	R_386_GOT32X relocation against ___tls_get_addr.
      	(Target_i386::Relocate::tls_gd_to_ie): Support indirect
      	call to __tls_get_addr.
      	(Target_i386::Relocate::tls_gd_to_le): Likewise.
      	(Target_i386::Relocate::tls_ld_to_le): Likewise.
      	* testsuite/Makefile.am (check_PROGRAMS): Add pr20308a_test,
      	pr20308b_test, pr20308c_test, pr20308d_test, pr20308e_test.
      	(pr20308a_test_SOURCES): New.
      	(pr20308a_test_DEPENDENCIES): Likewise.
      	(pr20308a_test_CFLAGS): Likewise.
      	(pr20308a_test_LDFLAGS): Likewise.
      	(pr20308a_test_LDADD): Likewise.
      	(pr20308b_test_SOURCES): Likewise.
      	(pr20308b_test_DEPENDENCIES): Likewise.
      	(pr20308b_test_CFLAGS): Likewise.
      	(pr20308b_test_LDFLAGS): Likewise.
      	(pr20308b_test_LDADD): Likewise.
      	(pr20308c_test_SOURCES): Likewise.
      	(pr20308c_test_DEPENDENCIES): Likewise.
      	(pr20308c_test_CFLAGS): Likewise.
      	(pr20308c_test_LDFLAGS): Likewise.
      	(pr20308c_test_LDADD): Likewise.
      	(pr20308d_test_SOURCES): Likewise.
      	(pr20308d_test_DEPENDENCIES): Likewise.
      	(pr20308d_test_CFLAGS): Likewise.
      	(pr20308d_test_LDFLAGS): Likewise.
      	(pr20308d_test_LDADD): Likewise.
      	(pr20308e_test_SOURCES): Likewise.
      	(pr20308e_test_DEPENDENCIES): Likewise.
      	(pr20308e_test_CFLAGS): Likewise.
      	(pr20308e_test_LDFLAGS): Likewise.
      	(pr20308e_test_LDADD): Likewise.
      	(pr20308a.so): Likewise.
      	(pr20308b.so): Likewise.
      	(pr20308_gd.o): Likewise.
      	(pr20308_ld.o): Likewise.
      	(MOSTLYCLEANFILES): Add pr20308a.so pr20308b.so.
      	* testsuite/Makefile.in: Regenerated.
      	* testsuite/pr20308_def.c: New file.
      	* testsuite/pr20308_gd.S: Likewise.
      	* testsuite/pr20308_ld.S: Likewise.
      	* testsuite/pr20308_main.c: Likewise.
      b287eca3
    • H.J. Lu's avatar
      gold: Support x86-64 TLS code sequences without PLT · ad961eab
      H.J. Lu authored
      There are extensions to x86-64 psABI:
      
      https://groups.google.com/forum/#!topic/x86-64-abi/de5_KnLHxtI
      
      to call tls_get_addr via GOT:
      
      call *__tls_get_addr@GOTPCREL(%rip)
      
      Since direct call is 4-byte long and indirect call, is 5-byte long, the
      extra one byte must be handled properly.
      
      For general dynamic model, one 0x66 prefix before call instruction is
      removed to make room for indirect call.  For local dynamic model, we
      simply use 5-byte indirect call.
      
      TLS linker optimization is updated to recognize new instruction
      patterns.  For local dynamic model to local exec model transition, we
      generate 4 0x66 prefixes, instead of 3, before mov instruction in 64-bit
      and generate a 5-byte nop, instead of 4-byte, before mov instruction in
      32-bit.
      
      	PR gold/20216
      	* configure.ac (DEFAULT_TARGET_X86_64_OR_X32): New
      	AM_CONDITIONAL.
      	* configure: Regenerated.
      	* x86_64.cc (Target_x86_64<size>::Relocate::relocate): Allow
      	R_X86_64_GOTPCRELX relocation against __tls_get_addr.
      	(Target_x86_64<size>::Relocate::tls_gd_to_ie): Support indirect
      	call to __tls_get_addr.
      	(Target_x86_64<size>::Relocate::tls_gd_to_le): Likewise.
      	(Target_x86_64<size>::Relocate::tls_ld_to_le): Likewise.
      	* testsuite/Makefile.am (check_PROGRAMS): Add pr20216a_test,
      	pr20216b_test, pr20216c_test, pr20216d_test, pr20216e_test.
      	(pr20216a_test_SOURCES): New.
      	(pr20216a_test_DEPENDENCIES): Likewise.
      	(pr20216a_test_CFLAGS): Likewise.
      	(pr20216a_test_LDFLAGS): Likewise.
      	(pr20216a_test_LDADD): Likewise.
      	(pr20216b_test_SOURCES): Likewise.
      	(pr20216b_test_DEPENDENCIES): Likewise.
      	(pr20216b_test_CFLAGS): Likewise.
      	(pr20216b_test_LDFLAGS): Likewise.
      	(pr20216b_test_LDADD): Likewise.
      	(pr20216c_test_SOURCES): Likewise.
      	(pr20216c_test_DEPENDENCIES): Likewise.
      	(pr20216c_test_CFLAGS): Likewise.
      	(pr20216c_test_LDFLAGS): Likewise.
      	(pr20216c_test_LDADD): Likewise.
      	(pr20216d_test_SOURCES): Likewise.
      	(pr20216d_test_DEPENDENCIES): Likewise.
      	(pr20216d_test_CFLAGS): Likewise.
      	(pr20216d_test_LDFLAGS): Likewise.
      	(pr20216d_test_LDADD): Likewise.
      	(pr20216e_test_SOURCES): Likewise.
      	(pr20216e_test_DEPENDENCIES): Likewise.
      	(pr20216e_test_CFLAGS): Likewise.
      	(pr20216e_test_LDFLAGS): Likewise.
      	(pr20216e_test_LDADD): Likewise.
      	(pr20216a.so): Likewise.
      	(pr20216b.so): Likewise.
      	(pr20216_gd.o): Likewise.
      	(pr20216_ld.o): Likewise.
      	(MOSTLYCLEANFILES): Add pr20216a.so pr20216b.so.
      	* testsuite/Makefile.in: Regenerated.
      	* testsuite/pr20216_def.c: New file.
      	* testsuite/pr20216_gd.S: Likewise.
      	* testsuite/pr20216_ld.S: Likewise.
      	* testsuite/pr20216_main.c: Likewise.
      ad961eab
    • Manish Goregaokar's avatar
      Initialize strtok_r's saveptr to NULL · 9bf74fb2
      Manish Goregaokar authored
      Building gdb with --enable-build-with-cxx=no trips on a warning:
      
       ../../binutils-gdb/gdb/rust-lang.c:173:15: error: saveptr may be used
       uninitialized in this function [-Werror=maybe-uninitialized]
           ret.name = concat (TYPE_NAME (type), "::", token, (char *) NULL);
      
      The problem is that gcc doesn't understand that "tail" can never be
      NULL in the call to strtok_r:
      
            name = xstrdup (TYPE_FIELD_NAME (type, 0));
            cleanup = make_cleanup (xfree, name);
            tail = name + strlen (RUST_ENUM_PREFIX);
      ...
            for (token = strtok_r (tail, "$", &saveptr);
      
      Fix this by always initializing saveptr.
      
      2016-06-29  Manish Goregaokar  <manish@mozilla.com>
      
      gdb/ChangeLog:
          * rust-lang.c (rust_get_disr_info): Initialize saveptr to NULL.
      9bf74fb2
    • Yao Qi's avatar
      Set unknown_syscall differently on arm linux · 28244707
      Yao Qi authored
      Currently, we use 123456789 as unknown or illegal syscall number, and
      expect program return ENOSYS.  Although 123456789 is an illegal syscall
      number on arm linux, kernel sends SIGILL rather than returns -ENOSYS.
      However, arm linux kernel returns -ENOSYS if syscall number is within
      0xf0001..0xf07ff, so we can use 0xf07ff for unknown_syscall in test.
      
      gdb/testsuite:
      
      2016-06-29  Yao Qi  <yao.qi@linaro.org>
      
      	* gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
      	0x0f07ff.
      28244707
    • Trevor Saunders's avatar
      sparc: make SPARC_OPCODE_ARCH_MAX part of its enum · 042c94de
      Trevor Saunders authored
      include/ChangeLog:
      
      2016-06-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
      
      	* opcode/sparc.h (enum sparc_opcode_arch_val): Move
      	SPARC_OPCODE_ARCH_MAX into the enum.
      042c94de
    • Manish Goregaokar's avatar
      Use strtok_r instead of strsep in rust_get_disr_info · a405c228
      Manish Goregaokar authored
      strsep doesn't exist on Windows.
      
      2016-06-29  Manish Goregaokar  <manish@mozilla.com>
      
      gdb/ChangeLog:
          * rust-lang.c (rust_get_disr_info): Use strtok_r instead of strsep.
      a405c228
    • Nick Clifton's avatar
      Preserve all mapping symbols in ARM and AArch64 object files. · d691934d
      Nick Clifton authored
      bfd	* elfnn-aarch64.c (is_aarch64_mapping_symbol): New function.
      	Returns TRUE for AArch64 mapping symbols.
      	(elfNN_aarch64_backend_symbol_processing): New function.  Marks
      	mapping symbols as precious in object files so that they will not
      	be stripped.
      	(elf_backend_symbol_processing): Define.
      
      	* elf32-arm.c (is_arm_mapping_symbol): New function.  Returns TRUE
      	for ARM mapping symbols.
      	(elf32_arm_backend_symbol_processing): Make use of the new function.
      d691934d
    • Nick Clifton's avatar
      Correct fix for typo · 6844c0cc
      Nick Clifton authored
      6844c0cc
    • Nick Clifton's avatar
      Fix typo · c8ec4434
      Nick Clifton authored
      c8ec4434
    • Maciej W. Rozycki's avatar
      GAS: Fix `abort' expansion in write.c · 6d44f09a
      Maciej W. Rozycki authored
      Remove an internal diagnostic regression introduced with the inclusion of
      "libbfd.h" from write.c, added with:
      
      commit e7ff5c73
      Author: Alan Modra <amodra@gmail.com>
      Date:   Fri Feb 16 03:40:17 2007 +0000
      
      That change made "libbfd.h" override the `abort' definition provided by
      "as.h" earlier on, making the message produced by any calls reached from
      write.c, which is a part of the GAS proper, look like they came from
      BFD, e.g.:
      
      .../gas/testsuite/gas/elf/type.s: Assembler messages:
      .../gas/testsuite/gas/elf/type.s:30: Error: symbol type "gnu_unique_object" is supported only by GNU targets
      ../as-new: BFD (GNU Binutils) 2.26.51.20160628 internal error, aborting at .../gas/write.c:608 in size_seg
      
      ../as-new: Please report this bug.
      
      vs:
      
      .../gas/testsuite/gas/elf/type.s: Assembler messages:
      .../gas/testsuite/gas/elf/type.s:30: Error: symbol type "gnu_unique_object" is supported only by GNU targets
      .../gas/testsuite/gas/elf/type.s: Internal ...
      6d44f09a
    • GDB Administrator's avatar
      Automatic date update in version.in · 2fafa20b
      GDB Administrator authored
      2fafa20b
  5. 28 Jun, 2016 19 commits
    • Alan Modra's avatar
      [GOLD] Modify script_test_12 · bebf0132
      Alan Modra authored
      Changes necessary to make this test pass on powerpc64.
      
      	* script_test_12.t: Delete .plt, specify 64k page size.
      	* script_test_12i.t: Likewise.
      bebf0132
    • Alan Modra's avatar
      [GOLD] alignment test · 1275dd72
      Alan Modra authored
      PowerPC gcc aligns char arrays to a word which results in the test
      failing since it expects a char alignment.  As the test already uses
      gcc attributes to assign variables to sections, we may as well use an
      attribute to align too.
      
      	* testsuite/plugin_layout_with_alignment.c: Explicitly align all
      	variables.
      1275dd72
    • Alan Modra's avatar
      [GOLD] Disable copy_test_protected on powerpc · 38ac44ac
      Alan Modra authored
      A target like powerpc64 that is PIC by default doesn't need copy relocs.
      
      	* testsuite/Makefile.am (copy_test_protected): Disable for powerpc.
      	* testsuite/Makefile.in: Regenerate.
      38ac44ac
    • Cary Coutant's avatar
    • Igor Kudrin's avatar
      Implement the R_AARCH64_NONE relocation. · 5627d875
      Igor Kudrin authored
      According to "ELF for the ARM(r) 64-bit Architecture (AArch64)",
      this relocation can be used "to prevent removal of sections that
      might otherwise appear to be unused."
      
      gold/
      	* aarch64-reloc.def (NONE): New relocation.
      	* aarch64.cc (Target_aarch64::Scan::local): Handle R_AARCH64_NONE.
      	(Target_aarch64::Scan::global): Likewise.
      	* testsuite/Makefile.am (aarch64_reloc_none): New test.
      	* testsuite/Makefile.in: Regenerate.
      	* testsuite/aarch64_reloc_none.s: New test source file.
      	* testsuite/aarch64_reloc_none.sh: New test script.
      5627d875
    • Sriraman Tallam's avatar
      Convert indirect calls to direct when possible. · 3a4f096e
      Sriraman Tallam authored
      Please see patch discussion:
      https://www.sourceware.org/ml/binutils/2016-05/msg00322.html
      
      2016-06-28  Sriraman Tallam  <tmsriram@google.com>
      
      	* x86_64.cc (Lazy_view): New class.
      	(can_convert_mov_to_lea): Templatize function.  Make the function
      	check for appropriate relocation types and use the view parameter
      	to get section contents.
      	(can_convert_callq_to_direct): New function.
      	(Target_x86_64<size>::Scan::global): Refactor.
      	(Target_x86_64<size>::Relocate::relocate): Refactor. Change any indirect
      	call via GOT that can be converted.
      	* testsuite/Makefile.am (x86_64_indirect_call_to_direct.sh): New test.
      	* testsuite/Makefile.in: Regenerate.
      	* testsuite/x86_64_indirect_call_to_direct1.s: New file.
      	* testsuite/x86_64_indirect_jump_to_direct1.s: New file.
      3a4f096e
    • Igor Kudrin's avatar
      Implement SORT_BY_INIT_PRIORITY. · 8032ac03
      Igor Kudrin authored
      2016-06-28  Igor Kudrin  <ikudrin@accesssoftek.com>
      
      gold/
      	PR gold/18098
      	* script-c.h (Sort_wildcard): Add SORT_WILDCARD_BY_INIT_PRIORITY.
      	* script-sections.cc (Input_section_sorter::get_init_priority): New method.
      	(Input_section_sorter::operator()): Handle SORT_WILDCARD_BY_INIT_PRIORITY.
      	(Output_section_element_input::print): Likewise.
      	* script.cc (script_keyword_parsecodes): Add entry SORT_BY_INIT_PRIORITY.
      	* yyscript.y (SORT_BY_INIT_PRIORITY): New token.
      	(wildcard_section): Handle SORT_BY_INIT_PRIORITY.
      
      	* testsuite/Makefile.am (script_test_14): New test.
      	* testsuite/Makefile.in: Regenerate.
      	* testsuite/script_test_14.s: New test source file.
      	* testsuite/script_test_14.sh: New test script.
      	* testsuite/script_test_14.t: New test linker script.
      8032ac03
    • Igor Kudrin's avatar
      Implement SORT_BY_INIT_PRIORITY. · f224a3c5
      Igor Kudrin authored
      2016-06-28  Igor Kudrin  <ikudrin@accesssoftek.com>
      
      gold/
      	PR gold/18098
      	* script-c.h (Sort_wildcard): Add SORT_WILDCARD_BY_INIT_PRIORITY.
      	* script-sections.cc (Input_section_sorter::get_init_priority): New method.
      	(Input_section_sorter::operator()): Handle SORT_WILDCARD_BY_INIT_PRIORITY.
      	(Output_section_element_input::print): Likewise.
      	* script.cc (script_keyword_parsecodes): Add entry SORT_BY_INIT_PRIORITY.
      	* yyscript.y (SORT_BY_INIT_PRIORITY): New token.
      	(wildcard_section): Handle SORT_BY_INIT_PRIORITY.
      
      	* testsuite/Makefile.am (script_test_14): New test.
      	* testsuite/Makefile.in: Regenerate.
      	* testsuite/script_test_14.s: New test source file.
      	* testsuite/script_test_14.sh: New test script.
      	* testsuite/script_test_14.t: New test linker script.
      f224a3c5
    • Walter Lee's avatar
      [TILEPro] Don't build gdb · 9abdce70
      Walter Lee authored
      In configure.ac, add gdb to noconfigdirs for TILEPro.
      
             * configure.ac (tilepro-*-*): Add gdb to noconfigdirs.
             * configure: Regenerate.
      9abdce70
    • Yao Qi's avatar
      [AArch64] Use int64_t for address offset · 2ac09a5b
      Yao Qi authored
      In AArch64 displaced stepping and fast tracepoint, GDB/GDBserver needs
      to check whether the offset can fit in the range.  We are using int32_t
      for offset, it is sufficient to get an offset from an instruction, but
      it is not enough to get an offset from two addresses.  For example,
      we have a BL in shared lib which is at 0x0000002000040774, and the
      scratch pad for displaced stepping is at 0x400698.  The offset can't
      fit in 28 bit imm.  However, since we are using int32_t for offset, GDB
      thinks the offset can fit it, and generate the B instruction with wrong
      offset.
      
      It fixes the following fail,
      
      -FAIL: gdb.base/dso2dso.exp: next over call to sub2
      
      gdb:
      
      2016-06-28  Yao Qi  <yao.qi@linaro.org>
      
      	* aarch64-tdep.c (aarch64_displaced_step_b): Use int64_t for
      	variable new_offset.
      
      gdb/gdbserver:
      
      2016-06-28  Yao Qi  <yao.qi@linaro.org>
      
      	* linux-aarch64-low.c (aarch64_ftrace_insn_reloc_b): Use int64_t
      	for variable new_offset.
      	(aarch64_ftrace_insn_reloc_b_cond): Likewise.
      	(aarch64_ftrace_insn_reloc_cb): Likewise.
      	(aarch64_ftrace_insn_reloc_tb): Likewise.
      	(aarch64_install_fast_tracepoint_jump_pad): Likewise.  Use
      	PRIx64 instead of PRIx32.
      2ac09a5b
    • Nick Clifton's avatar
      Fix typo in previous commit · bb95c51a
      Nick Clifton authored
      bb95c51a
    • H.J. Lu's avatar
      Skip version check for unreferenced and undefined symbol · f4ab0e2d
      H.J. Lu authored
      No need to check version if symbol is unreferenced and undefined.
      
      bfd/
      
      	PR ld/20306
      	* elflink.c (elf_link_check_versioned_symbol): Return false
      	for unreferenced undefined symbol.
      
      ld/testsuite/
      
      	* testsuite/ld-gc/gc.exp: Run pr20306 test.
      	* ld-gc/pr20306.c: New file.
      	* ld-gc/pr20306.d: Likewise.
      f4ab0e2d
    • Nick Clifton's avatar
      Fix more linker testsuite failures. · 1b857aee
      Nick Clifton authored
      bfin	* elf32-bfin.c (bfin_adjust_dynamic_symbol): Fail if a COPY reloc
      	is needed.
      
      ld	* testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
      	for bfin.
      	* testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
      	tests to fail for bfin.
      	* testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
      	nds32 and visium.
      	* testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
      	microblaze.
      	* testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
      	mcore-pe.
      1b857aee
    • Nick Clifton's avatar
      Relax previous restriction on running binutils ar tests for Alpha targets,... · 50c901ed
      Nick Clifton authored
      Relax previous restriction on running binutils ar tests for Alpha targets, allowing the tests to be run for ELF variants.
      
      	* testsuite/binutils-all/ar.exp: Relax previous restriction on
      	Alpha targets.  Allow ELF based Alpha targets.
      50c901ed
    • Maciej W. Rozycki's avatar
      Use `supports_gnu_unique' with the `unique_symbol' and `type' tests · eb9bb5b4
      Maciej W. Rozycki authored
      Complement commit a43942db ("LD/ELF: Unify STB_GNU_UNIQUE handling")
      and use `supports_gnu_unique' with the `unique_symbol' and `type' tests,
      fixing failures like:
      
      .../binutils/testsuite/binutils-all/unique.s: Assembler messages:
      .../binutils/testsuite/binutils-all/unique.s:2: Error: symbol type "gnu_unique_object" is supported only by GNU targets
      
      ERROR: .../binutils/testsuite/binutils-all/unique.s: assembly failed
      UNRESOLVED: ar unique symbol in archive
      .../binutils/ar -s -r -c tmpdir/artest.a tmpdir/unique.o
      Executing on host: .../binutils/ar -s -r -c tmpdir/artest.a tmpdir/unique.o   (timeout = 300)
      .../binutils/ar: tmpdir/unique.o: No such file or directory
      
      FAIL: ar unique symbol in archive
      
      and:
      
      .../gas/testsuite/gas/elf/type.s: Assembler messages:
      .../gas/testsuite/gas/elf/type.s:30: Error: symbol type "gnu_unique_object" is supported only by GNU targets
      ../as-new: BFD (GNU Binutils) 2.26.51.20160628 internal error, aborting...
      eb9bb5b4
    • Nick Clifton's avatar
      Mark ARM mapping symbols in object files are precious, so that strip will not remove them. · fca2a38f
      Nick Clifton authored
      	* elf32-arm.c (elf32_arm_backend_symbol_processing): New
      	function.  Marks mapping symbols in object files as precious, so
      	that strip will not remove them.
      	(elf_backend_symbol_processing): Define.
      fca2a38f
    • Nick Clifton's avatar
      Fix RX and M68HC11 linker testsuite failures. · 8b9a915d
      Nick Clifton authored
      ld	* testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
      	expect to fail this test.
      	* testsuite/ld-scripts/overlay-size.d: Skip the entire test for
      	RX.
      	* testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
      	fail for the RX.
      	* testsuite/ld-scripts/rgn-at11.d: Likewise.
      	* testsuite/ld-scripts/rgn-at2.d: Likewise.
      	* testsuite/ld-scripts/rgn-at6.d: Likewise.
      	* testsuite/ld-scripts/rgn-at7.d: Likewise.
      	* testsuite/ld-scripts/rgn-at8.d: Likewise.
      8b9a915d
    • Yao Qi's avatar
      Implement get_syscall_trapinfo for arm-linux · 79e7fd4f
      Yao Qi authored
      gdb/gdbserver:
      
      2016-06-28  Yao Qi  <yao.qi@linaro.org>
      
      	* linux-arm-low.c (arm_get_syscall_trapinfo): New function.
      	(the_low_target): Install arm_get_syscall_trapinfo.
      79e7fd4f
    • Yao Qi's avatar
      Implement get_syscall_trapinfo for aarch64-linux · 061fc021
      Yao Qi authored
      gdb/gdbserver:
      
      2016-06-28  Yao Qi  <yao.qi@linaro.org>
      
      	* linux-aarch64-low.c (aarch64_get_syscall_trapinfo): New
      	function.
      	(the_low_target): Install aarch64_get_syscall_trapinfo.
      061fc021