aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2004-12-20daily updateAlan Modra1-1/+1
2004-12-20 * Makefile.am: Use $(SHELL) whenever we run move-if-change.Ian Lance Taylor3-44/+49
* Makefile.in: Rebuild.
2004-12-19 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.Alan Modra2-20/+35
(opd_entry_value): Use opd_relocs if available. (ppc64_elf_relocate_section): Don't set reloc_done. Instead copy .opd relocations to opd_relocs. (ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.
2004-12-19daily updateAlan Modra1-1/+1
2004-12-18daily updateAlan Modra1-1/+1
2004-12-17daily updateAlan Modra1-1/+1
2004-12-16daily updateAlan Modra1-1/+1
2004-12-16include/elf/Richard Sandiford5-177/+238
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc. bfd/ * reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type. * elf32-v850.c (v850_elf_howto_table): Add entry for R_V850_LO16_SPLIT_OFFSET. (v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET. (v850_elf_perform_lo16_relocation): New function, extracted from... (v850_elf_perform_relocation): ...here. Use it to handle R_V850_LO16_SPLIT_OFFSET. (v850_elf_check_relocs, v850_elf_final_link_relocate): Handle R_V850_LO16_SPLIT_OFFSET. * libbfd.h, bfd-in2.h: Regenerate. gas/ * config/tc-v850.c (handle_lo16): New function. (v850_reloc_prefix): Use it to check lo(). (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET. gas/testsuite/ * gas/v850/split-lo16.{s,d}: New test. * gas/v850/v850.exp: Run it. ld/testsuite/ * ld-v850: New directory.
2004-12-16Add support for s390x-ibm-tpf targetNick Clifton2-0/+7
2004-12-15daily updateAlan Modra1-1/+1
2004-12-14daily updateAlan Modra1-1/+1
2004-12-142004-12-14 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+6
* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *' to prototype, to make hash info available. Prevent wrapped symbols from being adjusted twice.
2004-12-142004-12-14 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-8/+34
* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *' to prototype, to make hash info available. Prevent wrapped symbols from being adjusted twice.
2004-12-14 * elfxx-mips.c (mips_elf_calculate_relocation): Don't report anRichard Sandiford2-1/+7
overflow for calls to undefined weak symbols.
2004-12-13daily updateAlan Modra1-1/+1
2004-12-12daily updateAlan Modra1-1/+1
2004-12-11daily updateAlan Modra1-1/+1
2004-12-11bfd/Alan Modra2-4/+7
* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that canonical sections syms have a name. gas/testsuite/ Update for changed section syms. ld/testsuite/ Update for changed section syms.
2004-12-11 * elf64-ppc.c (opd_entry_value): Don't use cached relocs if theyAlan Modra2-6/+32
have been adjusted for output. (ppc64_elf_relocate_section): Mark sections with reloc_done.
2004-12-10daily updateAlan Modra1-1/+1
2004-12-10 * elf.c (bfd_elf_sym_name): Add symtab_hdr param.Alan Modra6-10/+13
(group_signature): Update call. * elf-bfd.h (bfd_elf_sym_name): Update. * elf32-ppc.c (ppc_elf_relocate_section): Update. * elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc) (ppc64_elf_relocate_section): Update * elflink.c (elf_link_input_bfd): Update.
2004-12-10 * elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name.Alan Modra6-8/+18
(group_signature): Update calls. * elf-bfd.h (bfd_elf_sym_name): Update. * elf32-ppc.c (ppc_elf_relocate_section): Update. * elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc) (ppc64_elf_relocate_section): Update * elflink.c (elf_link_input_bfd): Update.
2004-12-10 * elf.c (bfd_elf_local_sym_name): Avoid crashes with invalidJakub Jelinek2-1/+9
st_shndx on STT_SECTION sections.
2004-12-09daily updateAlan Modra1-1/+1
2004-12-09 * elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalizeDaniel Jacobowitz2-5/+6
ELF section symbols.
2004-12-09 * elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,Ian Lance Taylor2-4/+40
return a real value, unless it is a PLT symbol. (mips_elf_perform_relocation): On the RM9000, turn a jal into a bal if possible.
2004-12-09 * elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask ofIan Lance Taylor2-1/+4
R_MIPS_JALR entry to 0.
2004-12-09 * archures.c: Define bfd_mach_mips9000.Ian Lance Taylor6-0/+23
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000. (mips_set_isa_flags): Handle bfd_mach_mips9000. * cpu-mips.c (I_mips9000): Define. (arch_info_struct): Add case for bfd_mach_mips9000. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000. * bfd-in2.h: Regenerate.
2004-12-08daily updateAlan Modra1-1/+1
2004-12-08 * elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26Ian Lance Taylor2-1/+9
overflow.
2004-12-07daily updateAlan Modra1-1/+1
2004-12-07 * netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.Ben Elliston2-1/+6
2004-12-07 Suggested by Fergal Daly <fergal@esatclear.ie>:Daniel Jacobowitz2-1/+21
* simple.c (simple_dummy_multiple_definition): New function. (bfd_simple_get_relocated_section_contents): Use it.
2004-12-06daily updateAlan Modra1-1/+1
2004-12-05daily updateAlan Modra1-1/+1
2004-12-04daily updateAlan Modra1-1/+1
2004-12-03daily updateAlan Modra1-1/+1
2004-12-03bfd/Jan Beulich2-3/+34
2004-12-03 Jan Beulich <jbeulich@novell.com> * elf.c (elf_find_function): Don't use the last file symbol ever, seen, but the last one seen prior to the symbol being reported. Don't report a filename at all for global symbols when that might be ambiguous/wrong.
2004-12-02daily updateAlan Modra1-1/+1
2004-12-022004-12-01 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+14
* elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI. (elf32_arm_post_process_headers): Set EI_OSABI depending on ABI version.
2004-12-012004-12-01 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+11
bfd/ * elflink.c (elf_link_add_object_symbols): Make symbols from discarded sections undefined. ld/testsuite/ * ld-elf/group1.d: New test. * ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.
2004-12-01daily updateAlan Modra1-1/+1
2004-11-30daily updateAlan Modra1-1/+1
2004-11-302004-11-30 Paul Brook <paul@codesourcery.com>Paul Brook4-82/+37
bfd/ * elf32-arm.c (struct elf32_arm_link_hash_table): Remove no_pipeline_knowledge (elf32_arm_link_hash_table_create): Ditto. (bfd_elf32_arm_process_before_allocation): Ditto. (elf32_arm_final_link_relocate): Ditto. Remove oabi relocation handling. * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update prototype. * bfd-in2.h: Regenerate. ld/ * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
2004-11-30 * elf32-hppa.c (elf32_hppa_grok_prstatus): New function.Alan Modra2-0/+70
(elf32_hppa_grok_psinfo): New function. (elf_backend_grok_prstatus): Define. (elf_backend_grok_psinfo): Define.
2004-11-29daily updateAlan Modra1-1/+1
2004-11-28daily updateAlan Modra1-1/+1
2004-11-27daily updateAlan Modra1-1/+1
2004-11-26daily updateAlan Modra1-1/+1
2004-11-25daily updateAlan Modra1-1/+1