aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06daily updateAlan Modra1-1/+1
2009-01-05daily updateAlan Modra1-1/+1
2009-01-04daily updateAlan Modra1-1/+1
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.