aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2001-12-04fix typoNick Clifton1-1/+1
2001-12-03 * reloc.c (bfd_install_relocation): Correct reloc address test.Alan Modra3-7/+10
(bfd_perform_relocation): Formatting fix. * bfd-in2.h: Regenerate for 2001-12-02 reloc.c change.
2001-12-03daily updateAlan Modra1-1/+1
2001-12-03Import new turkish translations from Translation Project's website.Nick Clifton4-2/+2117
2001-12-03 * elf32-hppa.c (hppa_get_stub_entry): Remove debug message thatAlan Modra2-31/+37
happens to trigger on undefined symbols. (final_link_relocate): Return bfd_reloc_undefined for undefined stubs. (elf32_hppa_relocate_section): Don't say we can't handle a reloc if we have already warned about an undefined symbol.
2001-12-02 * elf32-mips.c (NEWABI_P): New define.Thiemo Seufer2-65/+619
(USE_REL): Remove, replaced by (elf_backend_may_use_rel_p): New define. (elf_backend_may_use_rela_p): Likewise. (elf_backend_default_use_rela_p): Likewise. (elf_mips_howto_table): Rename to elf_mips_howto_table_rel. Fix some relocation definitions. (elf_mips_howto_table_rela): New RELA relocation definitions for NewABI support. (mips32_64bit_reloc): Use the renamed elf_mips_howto_table_rel. (bfd_elf32_bfd_reloc_type_lookup): Likewise. (mips_rtype_to_howto): Likewise. (_bfd_mips_elf_relocate_section): Likewise. (_bfd_mips_elf_object_p): Typo. (elf_backend_sign_extend_vma): Reordered together with many other defines nearby to resemble the order of declaration in the header file.
2001-12-02 * coff-mips.c (mips_bfd_reloc_type_lookup): ReplaceThiemo Seufer6-15/+17
BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. * pe-mips.c (mips_bfd_reloc_type_lookup): Likewise. * elf32-mips.c (mips_reloc_map): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. * elf64-mips.c (mips_reloc_map): Likewise. * reloc.c (BFD_RELOC_MIPS_GPREL): Remove. (BFD_RELOC_MIPS_GPREL32): Remove. * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. (load_address): Likewise. (macro): Likewise. (md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. (s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. (tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. *config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
2001-12-01daily updateAlan Modra1-1/+1
2001-11-30daily updateAlan Modra1-1/+1
2001-11-302001-11-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-214/+261
* elflink.h (elf_add_default_symbol): New. (elf_link_add_object_symbols): Call elf_add_default_symbol () to create an indirect symbol from the default for the symbol with the default version if needed.
2001-11-29daily updateAlan Modra1-1/+1
2001-11-29Do not overwite the core signal if it has already been set by another thread.Nick Clifton2-2/+13
2001-11-28daily updateAlan Modra1-1/+1
2001-11-28 * elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.Jakub Jelinek3-16/+112
(elf64_alpha_relocate_section): Translate local_got_entries for STT_SECTION symbol to SHF_MERGE section the first time we see it. * elfxx-ia64.c (struct elfNN_ia64_local_hash_entry): Add sec_merge_done. (get_local_sym_hash): New, extracted from get_dyn_sym_info. (get_dyn_sym_info): Use it. (elfNN_ia64_relocate_section): Translate local dyn entries for STT_SECTION symbol to SHF_MERGE section the first time we see it. * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used in reloc if it has non-zero addend. * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check. * config/tc-sparc.c (md_apply_fix3): Likewise.
2001-11-28Add .cvsignore files to skip .gmo filesNick Clifton1-0/+1
2001-11-27daily updateAlan Modra1-1/+1
2001-11-272001-11-27 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+8
* elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't ELF.
2001-11-26daily updateAlan Modra1-1/+1
2001-11-26 * stabs.c (_bfd_discard_section_stabs): Use PARAMS in functionJeff Law2-1/+6
prototypes.
2001-11-25daily updateAlan Modra1-1/+1
2001-11-24daily updateAlan Modra1-1/+1
2001-11-24 * elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stubAlan Modra2-10/+17
group sizes to accomodate c++.
2001-11-23daily updateAlan Modra1-1/+1
2001-11-23 * elf32-sparc.c (elf32_sparc_relocate_section): Don't clearJakub Jelinek3-2/+25
relocations in non-alloced sections against global symbols defined in shared library being built. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2001-11-23 * elf.c (_bfd_elf_rela_local_sym): New.Jakub Jelinek33-84/+219
* elflink.h (elf_link_input_bfd): Don't consider empty merged sections as removed in relocation tests. * elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype. * elf32-i386.c (elf_i386_relocate_section): Handle relocs against STT_SECTION symbol of SHF_MERGE section. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Call _bfd_elf_rela_local_sym. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-fr30.c (fr30_final_link_relocate): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elf-hppa.h (elf_hppa_relocate_section): Likewise. * elf-m10200.c (mn10200_elf_relocate_section): Likewise. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise for !partial_inplace relocs. Handle relocs against STT_SECTION symbol of SHF_MERGE for partial_inplace relocs. * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test. * write.c (adjust_reloc_syms): Don't handle relocs against SEC_MERGE section symbols specially. (fixup_segment): Likewise.
2001-11-22daily updateAlan Modra1-1/+1
2001-11-22Move SRC-POTFILES.in and BLD-POTFILES.in to maintainer-clean target.Nick Clifton2-2/+7
2001-11-21daily updateAlan Modra1-1/+1
2001-11-21 * elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx ratherAlan Modra2-38/+45
than sym_sec->output_section to detect relocs against discarded sections.
2001-11-21daily updateAlan Modra1-1/+1
2001-11-202001-11-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+7
* elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when discarding relocations.
2001-11-19daily updateAlan Modra1-1/+1
2001-11-19Define and use bfd_is_const_section().Nick Clifton4-7/+42
2001-11-19 * elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount.Alan Modra2-0/+6
2001-11-19 * elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefinedAlan Modra2-1/+5
millicode syms as candidates for import stubs.
2001-11-19 * elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.Alan Modra2-59/+63
(allocate_PIC_calls): Rename to allocate_plt_static. (allocate_dynrelocs): Move most of code handling .plt entries to.. (allocate_plt_static): ..here. Don't drop plabel entries.
2001-11-19 * mmo.c: Adjust documentation tags to use texinfo 4 features.Hans-Peter Nilsson2-6/+10
2001-11-18daily updateAlan Modra1-1/+1
2001-11-17daily updateAlan Modra1-1/+1
2001-11-16daily updateAlan Modra1-1/+1
2001-11-16 * elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs againstDaniel Jacobowitz2-2/+6
local syms from discarded sections. Update comment.
2001-11-15daily updateAlan Modra1-1/+1
2001-11-15 * po/SRC-POTFILES.in: Regenerate.Alan Modra2-30/+36
2001-11-15 * elflink.h (elf_link_input_bfd): Complain about all relocsAlan Modra2-49/+50
against local syms from discarded sections. (elf_reloc_symbol_deleted_p): Don't try to swap in external syms.
2001-11-15* elf64-sparc.c (sparc64_elf_relocate_section): DisregardAlexandre Oliva2-0/+15
overflows in the .stab section.
2001-11-152001-11-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz11-2/+593
* bfd-in.h (bfd_elf32_discard_info): Add prototype. (bfd_elf64_discard_info): Likewise. * bfd-in2.h: Regenerate. * elf-bfd.h (struct elf_reloc_cookie): New. (struct elf_backend_data): Add elf_backend_discard_info, elf_backend_ignore_discarded_relocs, and elf_backend_write_section. (_bfd_elf32_reloc_symbol_deleted_p): Add prototype. (_bfd_elf64_reloc_symbol_deleted_p): Likewise. * elf32-mips.c (_bfd_elf32_mips_discard_info): New. (_bfd_elf32_mips_ignore_discarded_relocs): New. (_bfd_elf32_mips_write_section): New. (elf_backend_discard_info): Define. (elf_backend_ignore_discarded_relocs): Define. (elf_backend_write_section): Define. * elfcode.h (elf_bfd_discard_info): Define. (elf_reloc_symbol_deleted_p): Define. * elflink.h (elf_link_input_bfd): Check elf_section_ignore_discarded_relocs. Call bed->elf_backend_write_section if available. (elf_reloc_symbol_deleted_p): New. (elf_bfd_discard_info): New. (elf_section_ignore_discarded_relocs): New. * elfxx-target.h (elf_backend_discard_info): Define. (elf_backend_ignore_discarded_relocs): Define. (elf_backend_write_section): Define. (elfNN_bed): Add elf_backend_discard_info, elf_backend_ignore_discarded_relocs, and elf_backend_write_section. * libbfd-in.h (_bfd_discard_section_stabs): Add prototype. * libbfd.h: Regenerate. * stabs.c (_bfd_discard_section_stabs): New. 2001-11-11 Daniel Jacobowitz <drow@mvista.com> * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. (struct ld_emulation_xfer_struct): Use it.
2001-11-14daily updateAlan Modra1-1/+1
2001-11-14 * elf32-s390.c (elf_s390_relocate_section): Use the "unresolved_reloc"Martin Schwidefsky3-86/+10
scheme to get rid of an ugly complicated test. * elf64-s390.c (elf_s390_relocate_section): Likewise.
2001-11-14 * cpu-i386.c (bfd_x86_64_arch_intel_syntax,bfd_x86_64_arch): UseAndreas Jaeger2-4/+9
x86-64 for display.
2001-11-14 * dwarf2.c (struct line_head) [total_length]: Change type toJakub Jelinek2-22/+121
bfd_vma. (struct dwarf2_debug): Add dwarf_str_buffer and dwarf_str_size. (struct comp_unit): Add stash and offset_size. (read_8_bytes): Return bfd_vma. (read_indirect_string): New. (read_attribute): Handle DW_FORM_strp. (decode_line_info): Support 64-bit DWARF format. (_bfd_dwarf2_find_nearest_line): Likewise. (parse_comp_unit): Set offset_size and stash.