aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-09-19daily updateAlan Modra1-1/+1
2012-09-18Ignore discarded section when converting mov to leaH.J. Lu3-4/+12
* elf32-i386.c (elf_i386_convert_mov_to_lea): Ignore discarded section. * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
2012-09-18daily updateAlan Modra1-1/+1
2012-09-17Replace return FALSE with abort in x86 finish_dynamic_symbolH.J. Lu3-2/+8
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Replace return FALSE with abort. * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
2012-09-17Remove unused got_base variable.Walter Lee3-12/+6
* elf32-tilepro.c (tilepro_elf_relocate_section): Remove unused got_base variable. * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto.
2012-09-17Fix computation of got relocations for when .got.plt section is mergedWalter Lee3-4/+10
with .got. * elf32-tilepro.c (tilepro_elf_relocate_section): Fix computation of got relocations for when .got.plt section is merged with .got. * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto.
2012-09-17daily updateAlan Modra1-1/+1
2012-09-16daily updateAlan Modra1-1/+1
2012-09-15 * configure: Regenerate.David Edelsohn2-2/+7
2012-09-15daily updateAlan Modra1-1/+1
2012-09-14daily updateAlan Modra1-1/+1
2012-09-13Bi-endian patches for moxieAnthony Green6-7/+24
2012-09-13Really commit regenerated files.Richard Earnshaw2-0/+8
2012-09-13daily updateAlan Modra1-1/+1
2012-09-122012-09-12 Doug Kwan <dougkwan@google.com>Doug Kwan2-6/+13
* elf64-ppc.c (ppc64_elf_relocate_section): Use pre-adjusted relocation for stub lookup.