aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2009-01-032009-01-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-3/+10
* coff-ppc.c: Add 2009 to Copyright. * elf32-cris.c: Likewise. * elflink.c: Likewise.
2009-01-03 * elf32-cris.c (elf_cris_finish_dynamic_symbol): RenameHans-Peter Nilsson2-9/+20
gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
2009-01-03daily updateAlan Modra1-1/+1
2009-01-02bfd/H.J. Lu2-37/+74
2009-01-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/9679 * elflink.c (elf_merge_st_other): New. (_bfd_elf_merge_symbol): Use it on skipped weak definitions and hide them if needed. (elf_link_add_object_symbols): Updated. ld/testsuite/ 2009-01-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/9679 * ld-elf/pr9679-1.c: New. * ld-elf/pr9679-2.c: Likewise. * ld-elf/pr9679.rd: Likewise. * ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
2009-01-02bfd/H.J. Lu3-3380/+3403
2009-01-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/9676 * elflink.c (elf_link_add_object_symbols): Update def_dynamic, ref_dynamic and dynamic_def fields when setting def_regular to 1. ld/testsuite/ 2009-01-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/9676 * ld-elf/pr9676-1.c: New. * ld-elf/pr9676-2.c: Likewiswe. * ld-elf/pr9676-3.c: Likewiswe. * ld-elf/pr9676-4.c: Likewiswe. * ld-elf/pr9676.rd: Likewiswe. * ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a, libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and libpr9676-4a.so. * lib/ld-lib.exp (ar_simple_create): New. (run_ld_link_tests): Support archive. (run_cc_link_tests): Likewiswe.
2009-01-02PR 9682Nick Clifton2-3/+9
* coff-ppc.c (dump_toc): Fix up calls to fprintf without a string literal.
2009-01-02daily updateAlan Modra1-1/+1
2009-01-01daily updateAlan Modra1-1/+1
2008-12-31daily updateAlan Modra1-1/+1
2008-12-30daily updateAlan Modra1-1/+1
2008-12-29Fix copy-paste bug that caused z80-objdump to issue warnings about stabs ↵Arnold Metselaar2-1/+6
debugging symbols rather than to show them.
2008-12-29daily updateAlan Modra1-1/+1
2008-12-28daily updateAlan Modra1-1/+1
2008-12-27daily updateAlan Modra1-1/+1
2008-12-26daily updateAlan Modra1-1/+1
2008-12-25daily updateAlan Modra1-1/+1
2008-12-24daily updateAlan Modra1-1/+1
2008-12-23Add LM32 port.Nick Clifton13-0/+3047
2008-12-232008-12-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+20
PR ld/7036 * elfxx-ia64.c (elfNN_ia64_relax_section): Assume linker will always insert 32byte between the .plt and .text sections after the the first relaxation pass.
2008-12-23 PR 7093Nick Clifton2-0/+10
* elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF object files.
2008-12-232008-12-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-16/+133
* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name .eh_frame for __TEXT.__eh_frame so that it is recognized by gdb. Use shorter sections name for well known sections. (bfd_mach_o_scan_read_dylinker): Only put dylinker name in the section content. (bfd_mach_o_scan_read_segment): Use shorter sections name for well known segments. (bfd_mach_o_scan_read_command): Ignore some new commands. (bfd_mach_o_openr_next_archived_file): Use more descriptive names for members filename. (bfd_mach_o_fat_extract): New function to easily extract members of a fat binary. * mach-o.h (bfd_mach_o_load_command_type): Add new constants. (bfd_mach_o_dylinker_command): Fix comment and reindent. (bfd_mach_o_fat_extract): New prototype.
2008-12-23 * coffcode.h (coff_write_object_contents): Always initialiseNick Clifton2-0/+7
section.s_page. * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
2008-12-23* elf32-m68k.c (elf_m68k_discard_copies): Use SYMBOL_CALLS_LOCAL.Andreas Schwab2-29/+22
(elf_m68k_relocate_section): Use SYMBOL_CALLS_LOCAL and SYMBOL_REFERENCES_LOCAL. (elf_m68k_relocate_section): Likewise.
2008-12-23Remove STT_IFUNC support.Nick Clifton10-202/+45
2008-12-23daily updateAlan Modra1-1/+1
2008-12-22daily updateAlan Modra1-1/+1
2008-12-21Add missing ChangeLog entries for my last commit.Ralf Wildenhues1-0/+4
2008-12-21daily updateAlan Modra1-1/+1
2008-12-20 * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.Hans-Peter Nilsson5-6/+43
(cris_reloc_map): Similarly. (cris_elf_relocate_section, cris_elf_gc_sweep_hook) (cris_elf_check_relocs): Handle R_CRIS_32_IE. * reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE. * bfd-in2.h, libbfd.h: Regenerate.
2008-12-20daily updateAlan Modra1-1/+1
2008-12-19daily updateAlan Modra1-1/+1
2008-12-18 Backport link test fix from upstream Libtool:Ralf Wildenhues1-39/+54
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): Add cache variables to tests that require the linker to work. For shlibpath_overrides_runpath, this also changes the semantics to let the result from the C compiler take precedence. compiler take precedence. binutils/ * configure: Regenerate. opcodes/ * configure: Regenerate. bfd/ * configure: Regenerate. gas/ * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate.
2008-12-18daily updateAlan Modra1-1/+1
2008-12-17 (cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missingHans-Peter Nilsson2-1/+3
gate h != NULL for h->def_regular test.
2008-12-17 * elf32-cris.c (elf_cris_copy_indirect_symbol): Return withoutHans-Peter Nilsson2-0/+10
action for symbols other than bfd_link_hash_indirect.
2008-12-17daily updateAlan Modra1-1/+1
2008-12-16daily updateAlan Modra1-1/+1
2008-12-15 * elf32-cris.c (elf_cris_copy_indirect_symbol): New function.Hans-Peter Nilsson2-0/+34
(elf_backend_copy_indirect_symbol): Define to above.
2008-12-15 * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New memberHans-Peter Nilsson2-68/+140
r_type. Fix formatting. (cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL> <R_CRIS_32_PCREL>: Also break early if the symbol doesn't get emitted as a dynamic one. (cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork from PCREL relocs code and simplify; don't fall through. <R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for pcrel only. For non-local or overridable symbols in a DSO, always keep count of relocs, not just when -Bsymbolic. Don't emit message nor mark as TEXTREL here. (elf_cris_discard_excess_dso_dynamics): Emit warning and mark as TEXTREL here, if there are nondiscarded pcrel relocs.
2008-12-15 * elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: InitializeHans-Peter Nilsson2-1/+9
using ibfd, not abfd.
2008-12-15daily updateAlan Modra1-1/+1
2008-12-14daily updateAlan Modra1-1/+1
2008-12-13daily updateAlan Modra1-1/+1
2008-12-12daily updateAlan Modra1-1/+1
2008-12-11 PR 7041Alan Modra2-2/+8
* elf64-ppc.c (func_desc_adjust): Correct logic making fake function descriptors. Similarly correct making function descriptors dynamic.
2008-12-11daily updateAlan Modra1-1/+1
2008-12-10bfd/Alan Modra3-73/+114
* elf32-spu.h (struct spu_elf_params): Add num_regions. * elf32-spu.c (spu_elf_auto_overlay): Handle multiple overlay regions. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NUM_REGIONS): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions. (PARSE_AND_LIST_ARGS_CASES): Handle --num-regions.
2008-12-10bfd/Alan Modra3-231/+253
* elf32-spu.g (struct spu_elf_params, enum _ovly_flavour): New. (spu_elf_setup): Declare. (spu_elf_create_sections, spu_elf_size_stubs): Update prototype. (spu_elf_build_stubs, spu_elf_check_vma): Likewise. * elf32-spu.c (struct spu_link_hash_table): Add "params". Remove various other fields now in "params". Adjust code throughout. (struct call_info, struct function_info): Move earlier in file. (struct spu_elf_stack_info): Likewise. (spu_elf_setup): New function. (spu_elf_create_sections): Remove args other than "info". (spu_elf_size_stubs, spu_elf_build_stubs, spu_elf_check_vma): Likewise. (maybe_needs_stubs): Remove "output_bfd" arg. Adjust all calls. (interesting_section): Similarly with "obfd" arg. (needs_ovl_stub): Adjust output_section test. (allocate_spuear_stubs): Likewise. (OVL_STUB_SIZE): Don't define. (ovl_stub_size): New function, use in place of OVL_STUB_SIZE. (build_stub): Test params->ovly_flavour rather than OVL_STUB_SIZE. (spu_elf_auto_overlay): Remove args other than "info". Make use of size returned from spu_elf_load_ovl_mgr. (spu_elf_stack_analysis): Remove args other than "info". (spu_elf_relocate_section): Tidy setting of "ea". ld/ * emultempl/spuelf.em (params): New var, used instead of various others. Adjust use throughout file. (spu_after_open): Call spu_elf_setup. (spu_place_special_section): Tidy. (spu_elf_load_ovl_mgr): Return total size of sections loaded. Move code setting overlay section alignment to.. (spu_before_allocation): ..here.
2008-12-10 * elf32-spu.c (define_ovtab_symbol): Don't abort on symbolsAlan Modra2-12/+24
defined in linker scripts. (discover_functions): Consider STT_SECTION symbols too. (collect_lib_sections): Don't cut short call tree traversal when function size is too large.
2008-12-10 * elf32-spu.c (find_function_stack_adjust): Don't limit numberAlan Modra2-12/+58
of insns scanned. Correct sp tests. Handle "fsmbi" and "andbi". (mark_detached_root): New function. (build_call_tree): Call it. (sort_calls): Don't do void* arithmetic.