aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2010-07-28daily updateAlan Modra1-1/+1
2010-07-27 * elfxx-mips.h: Include "elf/mips.h".Maciej W. Rozycki5-6/+23
(gprel16_reloc_p): New static inline function. * elfxx-mips.c (_bfd_mips_elf_check_relocs) [R_MIPS16_GOT16, R_MIPS_GOT16, R_MIPS_GOT_HI16, R_MIPS_GOT_LO16]: Use got16_reloc_p. (_bfd_mips_elf_relocate_section)[bfd_reloc_overflow]: Use gprel16_reloc_p. * elf32-mips.c (mips_info_to_howto_rel): Likewise. * elfn32-mips.c (mips_info_to_howto_rel): Likewise.
2010-07-27Fix up last ChangeLog entry in gas/ and bfd/.Maciej W. Rozycki1-0/+15
2010-07-27 * elf64-mips.c (mips_elf64_howto_table_rela)Maciej W. Rozycki2-20/+20
[R_MIPS_TLS_DTPMOD64]: Clear partial_inplace. [R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise. [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise. [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise. [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise. * elfn32-mips.c (elf_mips_howto_table_rela) [R_MIPS_TLS_DTPMOD32]: Likewise. [R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise. [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise. [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise. [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
2010-07-26daily updateAlan Modra1-1/+1
2010-07-25daily updateAlan Modra1-1/+1
2010-07-24daily updateAlan Modra1-1/+1
2010-07-23Add support for v850E2 and v850E2V3Nick Clifton8-152/+852
2010-07-23daily updateAlan Modra1-1/+1
2010-07-22 * archive.c (_bfd_archive_bsd44_construct_extended_name_table):Alan Modra2-1/+6
Correct format specifier.
2010-07-22 * ecoff.c: Don't include aout/ranlib.h.Alan Modra2-8/+15
(_bfd_ecoff_slurp_armap): Use correct struct for ardata->symdefs. (_bfd_ecoff_write_armap): Output ar_date and ar_size using _bfd_ar_spacepad.
2010-07-22 * aoutx.h (some_aout_object_p): Don't set EXEC_P for files withAlan Modra2-1/+8
relocs.
2010-07-22daily updateAlan Modra1-1/+1
2010-07-21daily updateAlan Modra1-1/+1
2010-07-20include/elf/Alan Modra2-15/+20
* internal.h (ELF_TBSS_SPECIAL): New macro, extracted from.. (ELF_SECTION_SIZE): ..here. (ELF_SECTION_IN_SEGMENT_1): Add "strict" arg. (ELF_SECTION_IN_SEGMENT_STRICT): New macro. bfd/ * elf.c (assign_file_positions_for_load_sections): Check that zero size sections are allocated in segments too. (assign_file_positions_for_non_load_sections): Warn if zero size alloc sections are found here. (copy_elf_program_header): Don't drop zero size sections from segment map. (copy_private_bfd_data): Check for changes in zero size sections. binutils/ * readelf.c (process_program_headers): Don't ignore all zero size sections. ld/testsuite/ * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.r: Update.
2010-07-20daily updateAlan Modra1-1/+1
2010-07-19daily updateAlan Modra1-1/+1
2010-07-18daily updateAlan Modra1-1/+1
2010-07-17 * elf.c (_bfd_elf_map_sections_to_segments): Force new segmentAlan Modra2-5/+25
for sections with overlapping LMAs. (assign_file_positions_for_load_sections): Catch overlap for sections that wrap around the address space. Replace a warning that duplicates ld's --check-sections error with a warning that lma has been adjusted for overlapping sections.
2010-07-17daily updateAlan Modra1-1/+1
2010-07-16daily updateAlan Modra1-1/+1
2010-07-15daily updateAlan Modra1-1/+1
2010-07-14 PR ld/11817Cary Coutant2-56/+43
* dwarf2.c (read_section): Revert patch for compressed debug sections. (find_line): Likewise. (read_and_uncompress_section): Remove.
2010-07-14Don't allocate .got.plt section if there are no GOT nor PLT entries.H.J. Lu3-0/+42
bfd/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * elf32-i386.c (elf_i386_size_dynamic_sections): Don't allocate .got.plt section if there are no GOT nor PLT entries. * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise. ld/testsuite/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * ld-elf/exclude3b.d: Don't run on ia64-*-*. Replace .got with .dynamic. * ld-elf/exclude3d.d: New. * ld-i386/nogot1.d: Likewise. * ld-i386/nogot1.s: Likewise. * ld-x86-64/nogot1.d: Likewise. * ld-x86-64/nogot1.s: Likewise. * ld-i386/i386.exp: Run nogot1. * ld-x86-64/x86-64.exp: Likewise.
2010-07-14daily updateAlan Modra1-1/+1
2010-07-13Support garbage collection against STT_GNU_IFUNC symbols.H.J. Lu4-4/+92
bfd/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11791 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support garbage collection against STT_GNU_IFUNC symbols. * elf32-i386.c (elf_i386_get_local_sym_hash): Don't set elf.plt.offset/elf.got.offset to -1. (elf_i386_tls_transition): Skip TLS transition for functions. (elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols. * elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set elf.plt.offset/elf.got.offset to -1. (elf64_x86_64_tls_transition): Skip TLS transition for functions. (elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols. ld/testsuite/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11791 * ld-ifunc/ifunc-10-i386.d: New. * ld-ifunc/ifunc-10-i386.s: Likewise. * ld-ifunc/ifunc-10-x86-64.d: Likewise. * ld-ifunc/ifunc-10-x86-64.s: Likewise. * ld-ifunc/ifunc-11-i386.d: Likewise. * ld-ifunc/ifunc-11-i386.s: Likewise. * ld-ifunc/ifunc-11-x86-64.d: Likewise. * ld-ifunc/ifunc-11-x86-64.s: Likewise.
2010-07-13daily updateAlan Modra1-1/+1
2010-07-12Re-indent elf32-i386.c.H.J. Lu2-4/+8
2010-07-12 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_check_relocs): Re-indent. (elf_i386_relocate_section): Likewise.
2010-07-12daily updateAlan Modra1-1/+1
2010-07-11daily updateAlan Modra1-1/+1
2010-07-10daily updateAlan Modra1-1/+1
2010-07-09daily updateAlan Modra1-1/+1
2010-07-08daily updateAlan Modra1-1/+1
2010-07-07daily updateAlan Modra1-1/+1
2010-07-06Initialize prev_line.H.J. Lu2-0/+5
2010-07-06 H.J. Lu <hongjiu.lu@intel.com> * dwarf2.c (add_line_info): Initialize prev_line.
2010-07-06bfd/Alan Modra2-6/+17
* elf32-ppc.c (ppc_elf_relax_section): Insert branch around trampolines only for .init and .fini sections. ld/testsuite/ * ld-powerpc/relax.s: Add branch back to _start. * ld-powerpc/relax.d: Update. * ld-powerpc/relaxr.d: Update.
2010-07-06daily updateAlan Modra1-1/+1
2010-07-05 * elf32-ppc.c: Formatting.Alan Modra2-24/+29
(ppc_elf_finish_dynamic_sections): Don't make plt_entry var static.
2010-07-05daily updateAlan Modra1-1/+1
2010-07-04daily updateAlan Modra1-1/+1
2010-07-03bfd/ChangeLog:Cary Coutant3-37/+64
* compress.c (bfd_uncompress_section_contents): Add ATTRIBUTE_UNUSED. * dwarf2.c (read_and_uncompress_section): New function. (read_section): Call it. (find_line): Likewise. binutils/ChangeLog: * objdump.c (load_specific_debug_section): Decompress section contents before applying relocations. * readelf.c (load_specific_debug_section): Update section size after decompression. gas/ChangeLog: * Makefile.am: Add compress-debug.c and compress-debug.h. * Makefile.in: Regenerate. * config.in: Add HAVE_ZLIB_H. * configure.in: Check for zlib.h. * configure: Regenerate. * as.c (parse_args): Add --compress-debug-sections and --nocompress-debug-sections. * as.h (flag_compress_debug): New variable. * compress-debug.c: New file. * compress-debug.h: New file. * write.c: Include compress-debug.h. (compress_frag): New function. (compress_debug): New function. (write_object_file): Compress debug sections if requested.
2010-07-03daily updateAlan Modra1-1/+1
2010-07-02daily updateAlan Modra1-1/+1
2010-07-01 * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_CALLS_LOCAL ratherAlan Modra2-3/+9
than SYMBOL_REFERENCES_LOCAL. (ppc64_elf_relocate_section): Likewise.
2010-07-01 * elf64-ppc.c (ppc64_elf_edit_toc): Keep toc entries for ifuncs.Alan Modra2-2/+14
2010-07-01daily updateAlan Modra1-1/+1
2010-06-30daily updateAlan Modra1-1/+1
2010-06-29remove maxq-coff portAlan Modra14-585/+42
2010-06-29daily updateAlan Modra1-1/+1
2010-06-28 * compress.c (bfd_uncompress_section_contents): Use ATTRIBUTE_UNUSEDAlan Modra2-5/+8
to silence gcc warning.