aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-23Support for dedicated output section for some ARM veneer typesThomas Preud'homme6-39/+193
2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com> bfd/ * bfd-in.h (bfd_elf32_arm_keep_private_stub_output_sections): Declare bfd hook. * bfd-in2.h: Regenerate. * elf32-arm.c (arm_dedicated_stub_output_section_required): New function. (arm_dedicated_stub_output_section_required_alignment): Likewise. (arm_dedicated_stub_output_section_name): Likewise. (arm_dedicated_stub_input_section_ptr): Likewise. (elf32_arm_create_or_find_stub_sec): Add stub type parameter and function description comment. Add support for dedicated output stub section to given stub types. (elf32_arm_add_stub): Add a stub type parameter and pass it down to elf32_arm_create_or_find_stub_sec. (elf32_arm_create_stub): Pass stub type down to elf32_arm_add_stub. (elf32_arm_size_stubs): Pass stub type when calling elf32_arm_create_or_find_stub_sec for Cortex-A8 erratum veneers. (bfd_elf32_arm_keep_private_stub_output_sections): New function. ld/ * emultempl/armelf.em (arm_elf_before_allocation): Call bfd_elf32_arm_keep_private_stub_output_sections before generic before_allocation function.
2016-05-23Search for libutil-freebsd as alternative to libutilJon Boden3-2/+9
GDB needs kinfo_getvmmap() on GNU/kFreeBSD systems same as on pure FreeBSD. However on these systems the FreeBSD version of libutil is renamed to libutil-freebsd. 2016-05-23 Jon Boden <jon@ubuntubsd.org> * configure.ac: Search for libutil-freebsd as alternative to libutil. * configure: Re-generated.
2016-05-23tic54x: use concat moreTrevor Saunders2-6/+9
gas/ChangeLog: 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2016-05-23spu: make some constants unsignedTrevor Saunders2-1/+5
The field in spu_opcode is unsigned, and for some values of opcode we can end up shifting into the high bit. So avoid possibly creating a negative number and then assigning it to a unsigned field by shifting an unsigned constant. gas/ChangeLog: 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2016-05-23tic54x: rename typedef of struct symbol_Trevor Saunders7-34/+55
generic gas code has a struct symbol, and tic54x typedefs a struct to symbol. This seems at least rather confusing, and it seems like target specific headers shouldn't put such generic names in the global namespace preventing other generic code from using them. opcodes/ChangeLog: 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * tic54x-dis.c (sprint_mmr): Adjust. * tic54x-opc.c: Likewise. gas/ChangeLog: 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-tic54x.c (tic54x_mmregs): Adjust. (md_begin): Likewise. (encode_condition): Likewise. (encode_cc3): Likewise. (encode_cc2): Likewise. (encode_operand): Likewise. (tic54x_undefined_symbol): Likewise. include/ChangeLog: 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * opcode/tic54x.h (struct symbol_): typedef to tic54x_symbol instead of plain symbol.
2016-05-23Automatic date update in version.inGDB Administrator1-1/+1
2016-05-22Automatic date update in version.inGDB Administrator1-1/+1
2016-05-21Automatic date update in version.inGDB Administrator1-1/+1
2016-05-20Don't check R_386_GOT32 when setting need_convert_loadH.J. Lu2-1/+6
Since we no longer convert R_386_GOT32, don't check R_386_GOT32 when setting need_convert_load. * elf32-i386.c (elf_i386_check_relocs): Don't check R_386_GOT32 when setting need_convert_load.
2016-05-20MIPS: Add support for P6600Matthew Fortune3-1/+9
gas/ * config/tc-mips.c (mips_cpu_info_table): Update comment. Add p6600 entry. * doc/c-mips.texi: Document p6600 -march option.
2016-05-20Preserve addend for R_386_GOT32 and R_X86_64_GOT32H.J. Lu8-5/+64
We should preserve addend for R_386_GOT32 and R_X86_64_GOT32 as in "movl $foo@GOT + 4, %eax" and "movq $foo@GOT + 4, %rax". PR gas/19600 * config/tc-i386.c (md_apply_fix): Preserve addend for BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32. * testsuite/gas/i386/addend.d: New file. * testsuite/gas/i386/addend.s: Likewise. * testsuite/gas/i386/x86-64-addend.d: Likewise. * testsuite/gas/i386/x86-64-addend.s: Likewise. * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend. * testsuite/gas/i386/reloc32.d: Updated.
2016-05-20MIPS: Fix the encoding of immediates with microMIPS JALXMaciej W. Rozycki18-3/+300
The microMIPS JALX instruction shares the R_MICROMIPS_26_S1 relocation with microMIPS J/JAL/JALS instructions, however unlike the latters its encoded immediate argument is unusually shifted left by 2 rather than 1 in calculating the value used for the operation requested. We already handle this exception in `mips_elf_calculate_relocation' in LD, in a scenario where JALX is produced as a result of relaxing JAL for the purpose of making a cross-mode jump. We also get it right in the disassembler in `decode_micromips_operand'. What we don't correctly do however is processing microMIPS JALX produced by GAS from an assembly source, where a non-zero constant argument or a symbol reference with a non-zero in-place addend has been used. In this case the same calculation is made as for microMIPS J/JAL/JALS, causing the wrong encoding to be produced by GAS on making an object file, and then again by LD in the final link. The latter in particular causes the calculation, where the addend fits in the relocatable field, to produce different final addresses for the same source code depending on whether REL or RELA relocations are used. Correct these issues by special-casing microMIPS JALX in the places that have been previously missed. bfd/ * elfxx-mips.c (mips_elf_read_rel_addend): Adjust the addend for microMIPS JALX. gas/ * config/tc-mips.c (append_insn): Correct the encoding of a constant argument for microMIPS JALX. (tc_gen_reloc): Correct the encoding of an in-place addend for microMIPS JALX. * testsuite/gas/mips/jalx-addend.d: New test. * testsuite/gas/mips/jalx-addend-n32.d: New test. * testsuite/gas/mips/jalx-addend-n64.d: New test. * testsuite/gas/mips/jalx-imm.d: New test. * testsuite/gas/mips/jalx-imm-n32.d: New test. * testsuite/gas/mips/jalx-imm-n64.d: New test. * testsuite/gas/mips/jalx-addend.s: New test source. * testsuite/gas/mips/jalx-imm.s: New test source. * testsuite/gas/mips/mips.exp: Run the new tests. ld/ * testsuite/ld-mips-elf/jalx-addend.d: New test. * testsuite/ld-mips-elf/jalx-addend-n32.d: New test. * testsuite/ld-mips-elf/jalx-addend-n64.d: New test. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2016-05-20MIPS/GAS: Correct tab-after-space formatting mistakesMaciej W. Rozycki2-11/+16
* config/tc-mips.c: Correct tab-after-space formatting mistakes throughout.
2016-05-20Automatic date update in version.inGDB Administrator1-1/+1
2016-05-19Don't allow COPY relocations for protected symbols.Cary Coutant13-92/+265
gold/ PR gold/19823 * copy-relocs.cc (Copy_relocs::make_copy_reloc): Add object parameter; check for protected symbol. * copy-relocs.h (Copy_relocs::make_copy_reloc): Add object parameter. * mips.cc (Mips_copy_relocs): Adjust call to make_copy_reloc. * symtab.cc (Symbol::init_fields): Initialize is_protected_. (Symbol_table::add_from_dynobj): Mark protected symbols. * symtab.h (Symbol::is_protected): New method. (Symbol::set_is_protected): New method. (Symbol::is_protected_): New data member. * testsuite/Makefile.am (copy_test_protected): New test. * testsuite/Makefile.in: Regenerate. * testsuite/copy_test.cc (main): Add legal reference to protected symbol. * testsuite/copy_test_v1.cc (main): Likewise. * testsuite/copy_test_2.cc (ip): Add protected symbol. * testsuite/copy_test_protected.cc: New test source file. * testsuite/copy_test_protected.sh: New test script.
2016-05-19Fix non-deterministic behavior when generating MIPS GOT.Vladimir Radosavljevic2-52/+106
* mips.cc (Mips_got_entry::Mips_got_entry): Remove object argument for global got symbols, and set addend to 0. (Mips_got_entry::hash): Change hash algorithm. (Mips_got_entry::equals): Refactor. (Mips_got_entry::object): Return input object for local got symbols from union d. (Mips_got_entry::addend): Change return of the relocation addend. (Mips_got_entry::addend_): Move from union d. (Mips_got_entry::object_): Move into union d. (class Mips_symbol_hash): New class. (Mips_got_info::Global_got_entry_set): New type. (Mips_got_info::global_got_symbols): Change return type to Global_got_entry_set. (Mips_got_info::global_got_symbols_): Change type to Global_got_entry_set. (Mips_symbol::hash): New method. (Mips_output_data_la25_stub::symbols_): Change type to std::vector. (Mips_output_data_mips_stubs::Mips_stubs_entry_set): New type. (Mips_output_data_mips_stubs::symbols_): Change type to Mips_stubs_entry_set. (Mips_got_info::record_global_got_symbol): Don't pass object argument when creating global got symbol. (Mips_got_info::record_got_entry): Remove find before inserting got entries. (Mips_got_info::add_reloc_only_entries): Change type of iterator to Global_got_entry_set. (Mips_got_info::count_got_symbols): Likewise. (Mips_output_data_la25_stub::create_la25_stub): Use push_back for adding entries to symbols_. (Mips_output_data_la25_stub::do_write): Change type of iterator to std::vector. (Mips_output_data_mips_stubs::set_lazy_stub_offsets): Change type of iterator to Mips_stubs_entry_set. (Mips_output_data_mips_stubs::set_needs_dynsym_value): Likewise. (Mips_output_data_mips_stubs::do_write): Likewise.
2016-05-19Don't convert R_386_GOT32 relocationH.J. Lu7-19/+45
Don't convert R_386_GOT32 since we can't tell if it is applied to "mov $foo@GOT, %reg" which isn't a load via GOT. bfd/ PR ld/20117 * elf32-i386.c (elf_i386_convert_load_reloc): Don't check R_386_GOT32X. (elf_i386_convert_load): Don't convert R_386_GOT32. ld/ PR ld/20117 * testsuite/ld-i386/i386.exp: Run pr20117. * testsuite/ld-i386/pr19609-1i.d: Updated. * testsuite/ld-i386/pr20117.d: New file. * testsuite/ld-i386/pr20117.s: Likewise.
2016-05-20Set sh_entsize for .init_array and similar.Alan Modra2-3/+12
PR gas/20118 * elf.c (elf_fake_sections): Set sh_entsize for SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
2016-05-19Fix invalid implicit conversions from void *Andreas Schwab4-42/+88
* ia64-libunwind-tdep.c (libunwind_descr): Add cast from void *. (libunwind_frame_set_descr): Likewise. (libunwind_frame_cache): Likewise. (libunwind_frame_dealloc_cache): Likewise. (libunwind_frame_sniffer): Likewise. (libunwind_search_unwind_table): Likewise. (libunwind_sigtramp_frame_sniffer): Likewise. (libunwind_get_reg_special): Likewise. (libunwind_load): Likewise. * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. (ia64_linux_store_register): Likewise. (ia64_linux_xfer_partial): Likewise. * ia64-tdep.c (ia64_access_reg): Likewise. (ia64_access_fpreg): Likewise. (ia64_access_rse_reg): Likewise. (ia64_access_rse_fpreg): Likewise.
2016-05-19[ARC] Fixed-linker-related-testsuite-for-ARCClaudiu Zissulescu15-15/+34
ld/ 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com> * testsuite/ld-elf/compressed1d.d: Removed from notarget. * testsuite/ld-elf/group8a.d: Likewise. * testsuite/ld-elf/group8b.d: Likewise. * testsuite/ld-elf/group9a.d: Likewise. * testsuite/ld-elf/group9b.d: Likewise. * testsuite/ld-elf/pr12851.d: Likewise. * testsuite/ld-elf/pr12975.d: Likewise. * testsuite/ld-elf/pr13177.d: Likewise. * testsuite/ld-elf/pr13195.d: Likewise. * testsuite/ld-elf/pr17615.d: Likewise. * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail. * testsuite/ld-elf/group3b.d: Likewise. * testsuite/ld-srec/srec.exp: Likewise. * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC as supporting gc. (check_shared_lib_support): Mark ARC as supporting.
2016-05-19[ARC] Emulation and default script template changes.Claudiu Zissulescu4-183/+438
2016-05-19 Cupertino Miranda <cmiranda@synopsys.com> * emulparams/arcelf.sh: Changed. * emulparams/arclinux.sh: Likewise. * scripttempl/arclinux.sc: Moved to a more standard implementation similar to elf.sc.
2016-05-19[ARC] BFD fixes.Claudiu Zissulescu2-75/+118
2016-05-19 Cupertino Miranda <cmiranda@synopsys.com> * elf32-arc.c (arc_elf_final_write_processing): Changed. (debug_arc_reloc): Likewise. (elf_arc_relocate_section): Likewise. (elf_arc_check_relocs): Likewise. (elf_arc_adjust_dynamic_symbol): Likewise. (elf_arc_add_symbol_hook): Likewise.
2016-05-19LD/testsuite: Fix `ft32-*-*' position in `check_shared_lib_support'Maciej W. Rozycki2-1/+6
ld/ * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder `ft32-*-*' behind `frv-*-*'.
2016-05-19Remove unsupported `am34-*-linux*' target tripletMaciej W. Rozycki4-3/+10
The `am34-*-linux*' target cannot be configured for, `am34' is not a CPU name recognized by `config.sub'. It has never been, required code has not been contributed to GNU config, neither before nor since the addition of the target triplet to our configury with commit bfff16424942 ("Add MN10300 linker relaxation support for symbol differences") back in 2007. Also there is no difference in actual tool configuration between the `am34-*-linux*' and `am33_2.0-*-linux*' targets, except from a different executable prefix and tooldir name. Given the above remove the target triplet from our configuration. bfd/ * config.bfd: Remove `am34-*-linux*' support. ld/ * configure.tgt: Remove `am34-*-linux*' support.
2016-05-19Correct "Fix powerpc subis range"Alan Modra2-1/+5
* ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi.
2016-05-19Fix powerpc subis rangeAlan Modra2-12/+26
* ppc-opc.c: Formatting. (NSISIGNOPT): Define. (powerpc_opcodes <subis>): Use NSISIGNOPT.
2016-05-19Hack crossref tests for powerpc64Alan Modra8-16/+19
A different set of hacks to make the crossref tests pass on powerpc64 and powerpc64le. * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack. * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement. * testsuite/ld-scripts/cross3.t: Likewise. * testsuite/ld-scripts/cross4.t: Likewise. * testsuite/ld-scripts/cross5.t: Likewise. * testsuite/ld-scripts/cross6.t: Likewise. * testsuite/ld-scripts/cross7.t: Likewise.
2016-05-19ld-elf/shared.exp mix_pic_and_non_picAlan Modra2-15/+18
Tweaks to make it easier to re-run these testcases by hand. * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in exe name rather than constructing testname. Fix typo in sub-test name. Log copying. Use -rpath rather than -R.
2016-05-19Allocate ppc64 got and dynrelocs before pltAlan Modra2-139/+145
The idea being to make undefined weak syms dynamic, before deciding whether a sym needs a plt entry. Fixes pr19719 ld testcase. * elf64-ppc.c (allocate_dynrelocs): Allocate got and other dynamic relocs before plt relocs.
2016-05-19Fix ppc64le S-record test failAlan Modra2-0/+6
Segfaults on --defsym symbol (__stack_chk_fail in this instance). * elf64-ppc.c (ppc64_elf_branch_reloc): Check for NULL owner before dereferencing.
2016-05-19Automatic date update in version.inGDB Administrator1-1/+1
2016-05-18gas/arc: Make member of arc_flags constAndrew Burgess3-2/+8
By making the flgp field of struct arc_flags constant we can remove a place where we cast away the const-ness of a variable. Also, given that the value assigned to this field almost always comes from compile-time constant data, having the field non-constant is probably a bad thing. gas/ChangeLog: * config/tc-arc.c (find_opcode_match): Remove casting away of const. * config/tc-arc.h (struct arc_flags): Make flgp field const.
2016-05-18gas/arc: Use BFD_VMA_FMT for printf format specifierAndrew Burgess2-2/+10
Some debug code has the wrong printf format specifier for some types that are (ultimately) bfd_vma. Fixed by using BFD_VMA_FMT string. This only becomes an issue when building the tc-arc.c file with -DDEBUG=1 to build in the debug code. gas/ChangeLog: * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where appropriate. (md_convert_frag): Likewise.
2016-05-18gas/arc: Fix array overrun when checking opcode arrayAndrew Burgess5-2/+16
The opcode array iterator mechanism can, in some situations, result in reading memory outside of the opcode array. When using the iterator-next mechanism to find the next possible arc_opcode, if we find an opcode where the name field is NULL, or the name does not match, then the cached opcode pointer is not set to NULL. The result is that another call to iterator-next will again increment the opcode pointer (which might now point outside the opcode array) and attempt to access the name field of this undefined opcode. Fixed in this commit by clearing the cached opcode pointer. I've added a test case, which currently shows the bug, however, this will only expose this bug while the opcode used (dsp_fp_cmp) is the last opcode in the table. gas/ChangeLog: * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set cached opcode to NULL when we reach a non-matching opcode. * testsuite/gas/arc/asm-errors-2.d: New file. * testsuite/gas/arc/asm-errors-2.err: New file. * testsuite/gas/arc/asm-errors-2.s: New file.
2016-05-18gas/arc: Add guard against operand array overflow.Andrew Burgess4-5/+17
Currently supplying an input file with too many operands to an instruction will cause the assembler to overflow and array and trigger undefined behaviour. This change checks that we don't access outside the limits of the operand array. gas/ChangeLog: * config/tc-arc.c (tokenize_arguments): Add checks for array overflow. * testsuite/gas/arc/asm-errors.s: Addition test line added. * testsuite/gas/arc/asm-errors.err: Update expected results.
2016-05-18Fix build failure with GCC 4.1.Tom Tromey2-1/+6
2016-05-18 Tom Tromey <tom@tromey.com> * rust-lang.c (rust_subscript): Initialize "high".
2016-05-18Prevent a run time segmentation fault when stripping a corrupt binary.Nick Clifton2-1/+9
PR 20096 * objcopy.c (copy_relocations_in_section): Also check for the symbol pointed to by sym_ptr_ptr being NULL.
2016-05-18Add mi-threads-interrupt.exp test (PR 20039)Simon Marchi3-0/+135
Add a new test for PR 20039. The test spawns new threads, then tries to interrupt, continue, and interrupt again. This use case was fixed by commit 5fe966540d6b748f825774868463003700f0c878 in master, but gdb 7.11 is affected (so if you try it on the gdb-7.11-branch right now, the test will fail). New in v2, the test now handles mi-async on mode properly. The failure was specific to mi-async off, but I don't think it's bad to test the same thing under async on mode. I added a little hack when running in async mode to work around bug 20045. I also removed one continue/interrupt pair, as a single one was enough to trigger the problem. gdb/testsuite/ChangeLog: * gdb.mi/mi-threads-interrupt.c: New file. * gdb.mi/mi-threads-interrupt.exp: New file.
2016-05-18Fix double prompt output after run control MI commands with mi-async on (PR ↵Simon Marchi2-1/+7
20045) When you use a run control command (-exec-run, -exec-continue, -exec-next, ...) with mi-async on, an extra (gdb) prompt is displayed: -exec-continue ^running *running,thread-id="all" (gdb) (gdb) It doesn't seem to be a big problem for front-ends, since this behavior started in gdb 7.9 and we haven't heard anything about that. However, it caused me some trouble while writing a test for PR 20039 [1]. The problem comes from an extra (gdb) prompt that we write when running in mi-async off mode to emulate a past buggy behavior. When executing a run control command synchronously, previous gdbs always printed a prompt right away, even though they are not ready to accept new MI commands until the target stops. Only at this time should they display a prompt. But to keep backwards compatibility apparently, we print it anyway. Since commit 198297aaf, the condition that decides whether we should print that "bogus" prompt or not has become true, even when running with mi-async on. Since we already print a prompt at the end of the asynchronous command execution, it results in two prompts for one command. The proposed fix is to call target_can_async_p instead of target_is_async_p, to make the condition: if (!target_can_async_p () || sync_execution) ... show prompt ... That shows the prompt if we are emulating a synchronous command on top of an asynchronous target (sync_execution) or if the target simply can't run asynchronously (!target_can_async_p ()). Note that this code is changed and this bug fixed by Pedro's separate console series, but I think it would be nice to have it fixed in the mean time. I ran the gdb.mi directory of the testsuite with mi-async on and off, I didn't see any regressions. gdb/ChangeLog: * mi/mi-main.c (mi_on_resume): Call target_can_async_p instead of target_is_async_p. [1] https://sourceware.org/ml/gdb-patches/2016-05/msg00075.html
2016-05-18MIPS/opcodes: Correct mixed MIPS16 and microMIPS disassemblyMaciej W. Rozycki6-17/+98
Mixing MIPS16 and microMIPS code in a single binary isn't usually supported but GAS happily produces such code if requested. However it is not correctly disassembled even if a symbol table is available and function symbols are correctly anotated with the ISA mode. This is because the ELF-header global microMIPS ASE flag takes precedence over MIPS16 function annotation, causing them to be treated as regular MIPS code. Correct the problem by respecting function symbol anotation regardless of the ELF-header flag. binutils/ * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test. * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test source. * testsuite/binutils-all/mips/mips.exp: Run the new test. opcodes/ * mips-dis.c (is_compressed_mode_p): Add `micromips_p' operand, replacing references to `micromips_ase' throughout. (_print_insn_mips): Don't use file-level microMIPS annotation to determine the disassembly mode with the symbol table.
2016-05-18Updated Swedish translations for bfd and binutilsNick Clifton4-1857/+5285
2016-05-18rx: make field type enumTrevor Saunders2-1/+6
gas/ChangeLog: 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-rx.c (struct cpu_type): Change the type of a field from int to enum rx_cpu_types.
2016-05-18change the type of some fields to bfd_reloc_code_real_typeTrevor Saunders3-2/+9
gas/ChangeLog: 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-dlx.c (struct machine_it): change the type of a field from int to bfd_reloc_code_real_type. * config/tc-tic4x.c: Likewise.
2016-05-18commit ChangeLog for previous commitTrevor Saunders1-0/+6
2016-05-18Change type of v850_target_arch to enum bfd_architectureTrevor Saunders2-2/+2
gas/ChangeLog: 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-v850.c (v850_target_arch): change type to enum bfd_architecture. * config/tc-v850.h (v850_target_arch): Likewise.
2016-05-18Fix lots of linker testsuite failures for the FT32 target.Nick Clifton14-19/+45
* scripttempl/ft32.sc: Use fixed constants for memory region lengths. Include DWARF debug sections. (.data .bss): Do not assign locations during relocatable links. * testsuite/ld-elf/compressed1d.d: Skip for FT32. * testsuite/ld-elf/sec-to-seg.exp: Likewise. * testsuite/ld-elf/sec64k.exp: Likewise. * testsuite/ld-elf/init-fini-array.d: XFail for FT32. * testsuite/ld-elf/merge.d: Likewise. * testsuite/ld-elf/orphan-region.d: Likewise. * testsuite/ld-elf/orphan.s: Likewise. * testsuite/ld-elf/orphan3.d: Likewise. * testsuite/ld-elf/pr349.d: Likewise. * testsuite/ld-elf/warn2.d: Likewise. * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note that the FT32 does not support shared libraries.
2016-05-18elf32-arm.c build breakageAlan Modra2-1/+15
* elf32-arm.c (elf32_arm_size_stubs): Free or cache local syms for each BFD. Don't goto error_ret_free_local from outside loop.
2016-05-18MIPS/readelf: Use the `d_val' dynamic entry member with the relevant tagsMaciej W. Rozycki2-1/+11
binutils/ * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION> <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO> <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO> <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO> <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO> <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the `d_val' rather than `d_ptr' member of the dynamic entry.
2016-05-18PPC_OPERAND_SIGNOPT range.Alan Modra4-9/+14
Commit b84bf58a accidentally extended the range of allowed negative numbers. * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT allowed negative range. * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256. * testsuite/gas/ppc/power9.d: Update.
2016-05-18Automatic date update in version.inGDB Administrator1-1/+1