aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2012-10-21bfd/Alan Modra3-0/+31
* compress.c (bfd_cache_section_contents): New function. * bfd-in2.h: Regenerate. binutils/ * objdump.c (load_specific_debug_section): Use bfd_cache_section_contents.
2012-10-21Correct last entryHans-Peter Nilsson1-1/+1
2012-10-21 * linker.c (_bfd_generic_link_output_symbols): Handle aHans-Peter Nilsson2-0/+11
no-longer-global symbol entered as a BFD_PLUGIN.
2012-10-20daily updateAlan Modra1-1/+1
2012-10-20 * compress.c: Reinstate 2012-10-19 change.Alan Modra2-20/+23
(bfd_get_full_section_contents): Don't free unless we alloc. Use proper decompress size. Delete some vars, rename others.
2012-10-19daily updateAlan Modra1-1/+1
2012-10-19 * compress.c: Revert previous patch.Tom Tromey2-7/+12
2012-10-19 * compress.c (bfd_get_full_section_contents): Don't cacheTom Tromey2-8/+12
decompressed contents.
2012-10-18daily updateAlan Modra1-1/+1
2012-10-18ChangeLog bfdKai Tietz13-18/+156
2012-10-18 Kai Tietz <ktietz@redhat.com> PR binutils/14067 * coff-i386.c (bfd_target): Add section flag SEC_EXCLUDE. Allow BFD_COMPRESS and BFD_DECOMPRESS flags. * coff-x86_64.c: Likewise. * coffcode.h (DOT_ZDEBUG): New define. (sec_to_styp_flags): Check for .zdebug. (styp_to_sec_flags): Likewise. * coffgen.c (make_a_section): Handle .debug_* section compression/decompression flags. * cofflink.c (mark_relocs): Ignore relocations for a section, which isn't marked as used. (_bfd_coff_link_input_bfd): Add support of compressed debug sections. * compress.c (decompress_contents): Loop as long as there is input available and there is room for output. * bfd/pe-arm.c: Add .zdebug_ partial match entry. * pe-i386.c: Likewise. * pe-x86_64.c: Likewise. * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't clear all data-directories as this might destroy content. * coff-i386.c (_bfd_generic_find_nearest_line_discriminator): define as coff_find_nearest_line_discriminator. * libcoff-in.h (coff_find_nearest_line_discriminator): New * libcoff.h: Regenerated. * coff-x86_64.c: Likewise. * coffgen.c (coff_find_nearest_line_discriminator): New function. prototype. ChangeLog binutils 2012-10-18 Kai Tietz <ktietz@redhat.com> * objdump.c (dump_bfd): Call dump headers after call of slurp_symtab. ChangeLog ld 2012-10-18 Kai Tietz <ktietz@redhat.com> PR binutils/14067 * NEWS: Menition new feature. * scripttempl/pep.sc: Add zdebug sections. * scripttempl/pe.sc: L
2012-10-17daily updateAlan Modra1-1/+1
2012-10-16daily updateAlan Modra1-1/+1
2012-10-16Add missing ChangeLog entry for previous commit:Joel Brobecker1-0/+6
2012-10-16 Joel Brobecker <brobecker@adacore.com> * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (aix5coff64_vec): Likewise.
2012-10-16dangling pointer in coff64-rs6000 archive cache.Joel Brobecker1-2/+2
bfd/ChangeLog: * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (aix5coff64_vec): Likewise.
2012-10-16Dangling bfd pointer in archive cache.Joel Brobecker2-2/+8
This dandling pointer eventually leads to a crash when trying to run on ppc-aix a program using threading... bfd/ChangeLog: * coff-rs6000.c (rs6000coff_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (pmac_xcoff_vec): Likewise.
2012-10-16 Fixed AArch64 TLS relocation resolution.Yufeng Zhang2-8/+19
bfd/ * elf64-aarch64.c (elf64_aarch64_tls_howto_table): Fix shift value for R_AARCH64_TLSIE_LD_GOTTPREL_PREL19, R_AARCH64_TLSLE_MOVW_TPREL_G2, R_AARCH64_TLSLE_MOVW_TPREL_G1, R_AARCH64_TLSLE_MOVW_TPREL_G1_NC, R_AARCH64_TLSLE_ADD_TPREL_HI12. (elf64_aarch64_tlsdesc_howto_table): Fix shift value for R_AARCH64_TLSDESC_LD64_PREL19 and R_AARCH64_TLSDESC_OFF_G1. (elf64_aarch64_final_link_relocate): Add signed_addend when resolving AARCH64_TLSLE_*_TPREL_* relocations. ld/testsuite/ * ld-aarch64/tlsle-symbol-offset.s: New file. * ld-aarch64/tlsle-symbol-offset.d: New file. * ld-aarch64/aarch64-elf.exp: Add tlsle-symbol-offset test.
2012-10-16 * elf32-xtensa.c (free_section_cache): Renamed fromAlan Modra2-6/+13
clear_section_cache. Don't zero cache. (section_cache_section): Remove ineffectual zero of cache. Call init_section_cache instead.
2012-10-15daily updateAlan Modra1-1/+1
2012-10-15 * elf.c (special_sections_d): Add comment.Doug Evans2-0/+7
2012-10-14daily updateAlan Modra1-1/+1
2012-10-13daily updateAlan Modra1-1/+1
2012-10-13Replace -ldl with @lt_cv_dlopen_libs@H.J. Lu5-4/+15
* Makefile.am (LIBDL): Replace -ldl with @lt_cv_dlopen_libs@. * configure.in (lt_cv_dlopen_libs): AC_SUBST. * Makefile.in: Regenerated. * configure: Likewise.
2012-10-12daily updateAlan Modra1-1/+1
2012-10-11daily updateAlan Modra1-1/+1
2012-10-10daily updateAlan Modra1-1/+1
2012-10-09daily updateAlan Modra1-1/+1
2012-10-08daily updateAlan Modra1-1/+1
2012-10-07 PR binutils/14662Alan Modra2-38/+24
* elf.c (_bfd_elf_make_section_from_shdr): Treat .gdb_index as SEC_DEBUGGING.
2012-10-07daily updateAlan Modra1-1/+1
2012-10-06daily updateAlan Modra1-1/+1
2012-10-06daily updateAlan Modra1-1/+1
2012-10-05daily updateAlan Modra1-1/+1
2012-10-04daily updateAlan Modra1-1/+1
2012-10-03daily updateAlan Modra1-1/+1
2012-10-02daily updateAlan Modra1-1/+1
2012-10-01daily updateAlan Modra1-1/+1
2012-09-30daily updateAlan Modra1-1/+1
2012-09-29daily updateAlan Modra1-1/+1
2012-09-28daily updateAlan Modra1-1/+1
2012-09-27daily updateAlan Modra1-1/+1
2012-09-26daily updateAlan Modra1-1/+1
2012-09-25daily updateAlan Modra1-1/+1
2012-09-24daily updateAlan Modra1-1/+1
2012-09-23daily updateAlan Modra1-1/+1
2012-09-22daily updateAlan Modra1-1/+1
2012-09-21daily updateAlan Modra1-1/+1
2012-09-20Fix computation of got relocations for .got sections greater thanWalter Lee3-4/+22
0x8000 bytes.
2012-09-20daily updateAlan Modra1-1/+1
2012-09-192012-09-19 Steve Ellcey <sellcey@mips.com>Steve Ellcey2-1/+5
* config.bfd: Add mips*-mti-elf* target.
2012-09-19Properly handle common symbol and weak functionH.J. Lu4-7/+33
bfd/ PR ld/14591 * elf-bfd.h (_bfd_elf_merge_symbol): Add an argument to return if the old symbol is weak. * elf32-sh-symbian.c (sh_symbian_relocate_section): Update _bfd_elf_merge_symbol call. * elflink.c (_bfd_elf_merge_symbol): Add an argument to return if the old symbol is weak. (_bfd_elf_add_default_symbol): Update _bfd_elf_merge_symbol call. (elf_link_add_object_symbols): Don't update symbol type from a weak definition. Update symbol type from a common symbol when overriding a weak symbol. ld/testsuite/ PR ld/14591 * ld-elf/comm-data.exp (run_ld_link_tests): Add comm-data3a and comm-data3b tests. * ld-ifunc/ifunc.exp (run_ld_link_exec_tests): New. * ld-elf/comm-data3.sd: New file. * ld-elf/comm-data3a.s: Likewise. * ld-elf/comm-data3b.s: Likewise. * ld-ifunc/ifunc-17a-i386.d: Likewise. * ld-ifunc/ifunc-17a-x86-64.d: Likewise. * ld-ifunc/ifunc-17a.s: Likewise. * ld-ifunc/ifunc-17b-i386.d: Likewise. * ld-ifunc/ifunc-17b-x86-64.d: Likewise. * ld-ifunc/ifunc-17b.s: Likewise. * ld-ifunc/ifunc-common-1.out: Likewise. * ld-ifunc/ifunc-common-1a.c: Likewise. * ld-ifunc/ifunc-common-1b.c: Likewise.