summaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)Author
2016-02-25Automatic date update in version.inGDB Administrator
2016-02-24Automatic date update in version.inGDB Administrator
2016-02-23Automatic date update in version.inGDB Administrator
2016-02-22Automatic date update in version.inGDB Administrator
2016-02-21Automatic date update in version.inGDB Administrator
2016-02-20Automatic date update in version.inGDB Administrator
2016-02-19Automatic date update in version.inGDB Administrator
2016-02-18Automatic date update in version.inGDB Administrator
2016-02-17Automatic date update in version.inGDB Administrator
2016-02-16Automatic date update in version.inGDB Administrator
2016-02-15Automatic date update in version.inGDB Administrator
2016-02-14Automatic date update in version.inGDB Administrator
2016-02-13Automatic date update in version.inGDB Administrator
2016-02-12Automatic date update in version.inGDB Administrator
2016-02-11Automatic date update in version.inGDB Administrator
2016-02-10Set development mode to "off" by default.Joel Brobecker
bfd/ChangeLog: * development.sh (development): Set to false.
2016-02-10Automatic date update in version.inGDB Administrator
2016-02-09Fix compile time warnings building the binutils with a gcc6 compiler.Nick Clifton
include * opcode/metag.h (metag_scondtab): Mark as possibly unused. * opcode/nds32.h (nds32_r45map): Likewise. (nds32_r54map): Likewise. * opcode/visium.h (gen_reg_table): Likewise. (fp_reg_table, cc_table, opcode_table): Likewise. bfd * oasys.c (oasys_archive_p): Fix indentation. * elf32-nds32.c (nds32_elf_relax_section): Use an unsigned constant for left shifting.
2016-02-09Add a more helpful warning message to explain why some AArch64 relocations ↵Nick Clifton
can overflow. bfd * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more helpful warning message to explain why certain AArch64 relocs might overflow. ld * testsuite/ld-aarch64/reloc-overflow-bad.d: New test. * testsuite/ld-aarch64/reloc-overflow-1.s: New source file. * testsuite/ld-aarch64/reloc-overflow-2.s: New source file. * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2016-02-09Revert "Add a more helpful warning message to explain why some AArch64 ↵Walfred Tedeschi
relocations can overflow." This reverts commit 2ea53e003163338a403d5afbb2046cafb8f3abe9.
2016-02-09Add a more helpful warning message to explain why some AArch64 relocations ↵Nick Clifton
can overflow. bfd * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more helpful warning message to explain why certain AArch64 relocs might overflow. ld * testsuite/ld-aarch64/reloc-overflow-bad.d: New test. * testsuite/ld-aarch64/reloc-overflow-1.s: New source file. * testsuite/ld-aarch64/reloc-overflow-2.s: New source file. * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2016-02-09Automatic date update in version.inGDB Administrator
2016-02-08Automatic date update in version.inGDB Administrator
2016-02-07Automatic date update in version.inGDB Administrator
2016-02-06Automatic date update in version.inGDB Administrator
2016-02-05Fix formatting of pe-mips.c file.Simon Marchi
* pe-mips.c (coff_mips_reloc): Fix formatting.
2016-02-05Change the default architecture value for ARC bfds so that they have the ↵Cupertino Miranda
lowest possible value, and hence can be merged with other ARC binaries wihtout changing their architecture value. bfd * cpu-arc.c: Change default archure from bfd_mach_arc_arcv2 to bfd_mach_arc_arc600. binutils * testsuite/binutils-all/objdump.exp: Update expected default architecture value for ARC binaries.
2016-02-05Automatic date update in version.inGDB Administrator
2016-02-04Automatic date update in version.inGDB Administrator
2016-02-04Fix "PowerPC64 ELFv2 entry code" for big-endianAlan Modra
bfd/ * elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch for big-endian. gold/ * powerpc.cc (relocate): Adjust last patch for big-endian.
2016-02-03Automatic date update in version.inGDB Administrator
2016-02-02Fix typos in bfd/ChangeLog and bfd/elf64-x86-64.cH.J. Lu
2016-02-02Store estimated istrances in compressed_sizeH.J. Lu
elf_x86_64_convert_load is very time consuming since it is called on each input section and has a loop over input text sections to estimate the branch distrance. We can store the estimated distrances in the compressed_size field of the output section, which is only used to decompress the compressed input section. Before the patch, linking clang 3.9 takes 52 seconds. After the patch, it only takes 2.5 seconds. PR ld/19542 * elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated distrances in the compressed_size field of the output section.
2016-02-02PowerPC64 ELFv2 entry codeAlan Modra
This tightens the condition under which ld optimizes PIC entry code to non-PIC. bfd/ * elf64-ppc.c (ppc64_elf_relocate_section): Further restrict ELFv2 entry optimization. gold/ * powerpc.cc (relocate): Further restrict ELFv2 entry optimization.
2016-02-02Clear HAS_RELOC if there are no relocationsH.J. Lu
The HAS_RELOC bit should be cleared when relocations are removed from relocatable files. bfd/ PR binutils/19547 * elf.c (assign_section_numbers): Clear HAS_RELOC if there are no relocations in relocatable files. binutils/ PR binutils/19547 * testsuite/binutils-all/objcopy.exp (objcopy_test_without_global_symbol): New proc. Run objcopy_test_without_global_symbol. * testsuite/binutils-all/pr19547.c: New file.
2016-02-02Automatic date update in version.inGDB Administrator
2016-02-01Don't add DT_NEEDED for unmatched symbolH.J. Lu
Don't add DT_NEEDED if a symbol from a library loaded via DT_NEEDED doesn't match the symbol referenced by regular object. bfd/ PR ld/19553 * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED if a symbol from a library loaded via DT_NEEDED doesn't match the symbol referenced by regular object. ld/testsuite/ PR ld/19553 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553. * testsuite/ld-elf/pr19553.map: New file. * testsuite/ld-elf/pr19553.map: Likewise. * testsuite/ld-elf/pr19553a.c: Likewise. * testsuite/ld-elf/pr19553b.c: Likewise. * testsuite/ld-elf/pr19553b.out: Likewise. * testsuite/ld-elf/pr19553c.c: Likewise. * testsuite/ld-elf/pr19553c.out: Likewise. * testsuite/ld-elf/pr19553d.c: Likewise. * testsuite/ld-elf/pr19553d.out: Likewise.
2016-02-01Add support for importing data from ILF images.Nathaniel Smith
* peicode.h (pe_ILF_build_a_bfd): Create an import symbol for both CODE and DATA.
2016-02-01x86 synthetic plt symbolsAlan Modra
Changing "pushq $1" in the following to "pushq $too_big" results in an abort. BFD shouldn't abort on (deliberately) bad user input. 400480: ff 25 9a 0b 20 00 jmpq *0x200b9a(%rip) 400486: 68 01 00 00 00 pushq $0x1 40048b: e9 d0 ff ff ff jmpq 400460 <_init+0x20> * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on an out of range reloc_index. * elf32-i386.c (elf_i386_get_plt_sym_val): Likewise.
2016-02-01Fix NetBSD build with BSD and GNU make(1).Kamil Rytarowski
* Makefile.am (OPTIONAL_BACKENDS): Add netbsd-core.lo. (OPTIONAL_BACKENDS_CFILES): Add netbsd-core.c. * Makefile.in: Regenerated.
2016-02-01elf64-s390.c: Fix -Werror=misleading-indentationJan Kratochvil
../../bfd/elf64-s390.c: In function 'elf_s390_reloc_name_lookup': ../../bfd/elf64-s390.c:340:5: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0) ^~ ../../bfd/elf64-s390.c:333:3: note: ...this 'for' clause, but it is not for (i = 0; ^~~ bfd/ * elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation.
2016-02-01Automatic date update in version.inGDB Administrator
2016-01-31Fix /usr/bin/ld: final link failed: File truncated error on hppa.John David Anglin
2016-01-30Check reloc against IFUNC symbol only with dynamic symbolsH.J. Lu
There is no need to check relocation IFUNC symbol if there are no dynamic symbols. bfd/ PR ld/19539 * elf32-i386.c (elf_i386_reloc_type_class): Check relocation against STT_GNU_IFUNC symbol only with dynamic symbols. * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise. ld/ PR ld/19539 * testsuite/ld-elf/pr19539.d: New file. * testsuite/ld-elf/pr19539.s: Likewise. * testsuite/ld-elf/pr19539.t: Likewise.
2016-01-31Automatic date update in version.inGDB Administrator
2016-01-30Automatic date update in version.inGDB Administrator
2016-01-29Automatic date update in version.inGDB Administrator
2016-01-28Set BFD_DECOMPRESS to decompress debug sectionsH.J. Lu
We should set BFD_DECOMPRESS to decompress debug sections when reading in DWARF debug sections. bfd/ PR binutils/19523 * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to decompress debug sections. binutils/ PR binutils/19523 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to runtest. * Makefile.in: Regenerated. * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New proc. Run test_gnu_debuglink for native ELF build.
2016-01-28Automatic date update in version.inGDB Administrator
2016-01-27Automatic date update in version.inGDB Administrator