summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
...
* bfd/Richard Sandiford2011-03-142-164/+198
| | | | | | | | | | | | | | | * elf32-arm.c (elf32_arm_check_relocs): Use call_reloc_p, may_need_local_target_p and may_become_dynamic_p to classify the relocation type. Don't check info->symbolic or h->def_regular when deciding whether to record a potential dynamic reloc. Don't treat potential dynamic relocs as PLT references. (elf32_arm_gc_sweep_hook): Update to match. Assert that we don't try to make the PLT reference count go negative. ld/testsuite/ * ld-arm/arm-lib-plt-2a.s, ld-arm/arm-lib-plt-2b.s, ld-arm/arm-lib-plt-2.dd, ld-arm/arm-lib-plt-2.rd: New tests. * ld-arm/arm-elf.exp: Run them.
* bfd/Richard Sandiford2011-03-142-80/+69
| | | | | | | | | | | | | | | | * elf32-arm.c (elf32_arm_final_link_relocate): Always fill in the GOT entry here, rather than leaving it to finish_dynamic_symbol. Only create a dynamic relocation for local references if info->shared. (allocate_dynrelocs_for_symbol): Update dynamic relocation allocation accordingly. (elf32_arm_finish_dynamic_symbol): Don't initialise the GOT entry here. ld/testsuite/ * ld-arm/exec-got-1a.s, ld-arm/exec-got-1b.s, ld-arm/exec-got-1.d, ld-arm/unresolved-1.s, ld-arm/unresolved-1.d, ld-arm/unresolved-1-dyn.d: New tests. * ld-arm/arm-elf.exp: Run them.
* bfd/Richard Sandiford2011-03-142-47/+75
| | | | | | | | | | | | | * elf32-arm.c (elf32_arm_allocate_dynrelocs): New function. (elf32_arm_add_dynreloc): Likewise. (elf32_arm_adjust_dynamic_symbol): Use elf32_arm_allocate_dynrelocs to allocate dynamic relocations. (elf32_arm_size_dynamic_sections): Likewise. (allocate_dynrelocs): Likewise. Rename to allocate_dynrelocs_for_symbol. (elf32_arm_final_link_relocate): Use elf32_arm_add_dynreloc to create dynamic relocations. (elf32_arm_finish_dynamic_symbol): Likewise.
* daily updateAlan Modra2011-03-131-1/+1
|
* daily updateAlan Modra2011-03-121-1/+1
|
* Support TLS x32 GD->IE, GD->LE and LD->LE transitions.H.J. Lu2011-03-122-20/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2011-03-12 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS x32 GD->IE and GD->LE transitions. (elf_x86_64_relocate_section): Supprt TLS x32 GD->IE, GD->LE and LD->LE transitions. ld/testsuite/ 2011-03-12 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/tlsgd4.dd: New. * ld-x86-64/tlsgd4.s: Likewise. * ld-x86-64/tlsgd5.dd: Likewise. * ld-x86-64/tlsgd5a.s: Likewise. * ld-x86-64/tlsgd5b.s: Likewise. * ld-x86-64/tlsgd6.dd: Likewise. * ld-x86-64/tlsgd6a.s: Likewise. * ld-x86-64/tlsgd6b.s: Likewise. * ld-x86-64/tlsld2.dd: Likewise. * ld-x86-64/tlsld2.s: Likewise. * ld-x86-64/x86-64.exp (x86_64tests): Add tlsgd4, libtlsgd5.so, tlsgd5, libtlsgd6.so, tlsgd6 and tlsld2.
* daily updateAlan Modra2011-03-111-1/+1
|
* daily updateAlan Modra2011-03-101-1/+1
|
* * elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offsetAlan Modra2011-03-102-3/+8
| | | | for LO_DS error message and correct multiple.
* * elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.Alan Modra2011-03-102-12/+85
| | | | | | | (ppc64_elf_link_just_syms): New function. (opd_entry_value): Don't assume big-endian host. (get_r2off): New function. (ppc_build_one_stub, ppc_size_one_stub): Use it here.
* daily updateAlan Modra2011-03-091-1/+1
|
* daily updateAlan Modra2011-03-081-1/+1
|
* daily updateAlan Modra2011-03-071-1/+1
|
* daily updateAlan Modra2011-03-061-1/+1
|
* 2011-03-05 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-062-0/+5
| | | | * compress.c (bfd_compress_section_contents): Check for out of mem.
* 2011-03-06 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-062-1/+5
| | | | | * elf64-x86-64.c (elf_x86_64_relocate_section): Document that case statement falls through intentionally.
* 2011-03-06 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-062-1/+5
| | | | * elf32-i386.c (elf_i386_relocate_section): Document fall through.
* daily updateAlan Modra2011-03-051-1/+1
|
* daily updateAlan Modra2011-03-041-1/+1
|
* * archive.c (bsd_write_armap): Don't call stat in deterministicAlan Modra2011-03-042-16/+18
| | | | mode, and don't use st_mtime if stat returns error.
* 2011-03-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-042-12/+2
| | | | * elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.
* 2011-03-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-032-1/+3
| | | | * coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.
* 2011-03-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-032-1/+5
| | | | | * aoutx.h (aout_final_link): Use sizeof int not sizeof int*. (aout_link_write_other_symbol): Missing break statement.
* 2011-03-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-032-1/+3
| | | | * dwarf2.c (scan_unit_for_symbols): Stop memory leak.
* 2011-03-03 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-032-1/+7
| | | | * archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
* daily updateAlan Modra2011-03-031-1/+1
|
* Supprt TLS x32 IE->LE transition.H.J. Lu2011-03-032-8/+36
| | | | | | | | | | | | | | | | | | | bfd/ 2011-03-03 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS x32 IE->LE transition. (elf_x86_64_relocate_section): Likewise. ld/testsuite/ 2011-03-03 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/tlsie4.dd: New. * ld-x86-64/tlsie4.s: Likewise. * ld-x86-64/x86-64.exp (x86_64tests): Add tlsie4.
* daily updateAlan Modra2011-03-021-1/+1
|
* * elflink.c (is_reloc_section): Remove function.Bernd Schmidt2011-03-022-31/+11
| | | | (get_dynamic_reloc_section_name): Construct string manually.
* daily updateAlan Modra2011-03-011-1/+1
|
* daily updateAlan Modra2011-02-281-1/+1
|
* ChangeLog libiberty/Kai Tietz2011-02-289-21/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> * filename_cmp.c (filename_ncmp): New function. * functions.texi: Regenerated. ChangeLog include/ 2011-02-28 Kai Tietz <kai.tietz@onevision.com> * filenames.h (filename_ncmp): New prototype. ChangeLog bfd/ 2011-02-28 Kai Tietz <kai.tietz@onevision.com> * archive.c (_bfd_find_nested_archive): Use filename_(n)cmp. (adjust_relative_path): Likewise. (_bfd_construct_extended_name_table): Likewise. * corefile.c (generic_core_file_matches_executable_p): Likewise. * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-spu.c (sort_bfds): Likewise. (spu_elf_auto_overlay): Likewise. * syms.c (_bfd_stab_section_find_nearest_line): Likewise. * xcofflink.c (xcoff_set_import_path): Likewise. * xtensa-isa.c (xtensa_regfile_lookup): Likewise. (xtensa_regfile_lookup_shortname): Likewise.
* PR 12513Alan Modra2011-02-282-14/+25
| | | | | | * archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and stringsize. Properly sanity check symdef_count. Remove redundant bfd_release.
* daily updateAlan Modra2011-02-271-1/+1
|
* daily updateAlan Modra2011-02-261-1/+1
|
* 2011-02-25 Rafael Ávila de Espíndola <respindola@mozilla.com>Rafael Ávila de Espíndola2011-02-262-3/+24
| | | | | * plugin.c (bfd_plugin_object_p): Correctly set the filesize and handle claim_file seeking. Only try to load the plugin once.
* daily updateAlan Modra2011-02-251-1/+1
|
* daily updateAlan Modra2011-02-241-1/+1
|
* daily updateAlan Modra2011-02-231-1/+1
|
* daily updateAlan Modra2011-02-221-1/+1
|
* * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GDAndreas Schwab2011-02-222-1/+11
| | | | relocation read the value from the second GOT slot.
* daily updateAlan Modra2011-02-211-1/+1
|
* daily updateAlan Modra2011-02-201-1/+1
|
* daily updateAlan Modra2011-02-191-1/+1
|
* daily updateAlan Modra2011-02-181-1/+1
|
* daily updateAlan Modra2011-02-171-1/+1
|
* Revert the last change to elf64-x86-64.c.H.J. Lu2011-02-172-8/+0
|
* daily updateAlan Modra2011-02-161-1/+1
|
* Don't check relocation overflow for x32.H.J. Lu2011-02-162-0/+8
| | | | | | | | 2011-02-16 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_x86_64_check_relocs): Check relocation overflow only for ABI_64_P. (elf_x86_64_relocate_section): Likewise.
* daily updateAlan Modra2011-02-151-1/+1
|