aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2001-12-06Fixes to improve the ability to translate messages in the binutils toolsNick Clifton2-8/+20
2001-12-06 * configure: Regenerate.Hans-Peter Nilsson3-188/+180
* Makefile.in: Regenerate.
2001-12-05daily updateAlan Modra1-1/+1
2001-12-05 * Makefile.am: split up BFD_LIBS like statements in BFD32_LIBS andThiemo Seufer7-230/+299
BFD64_LIBS, make the latter depending on the availability of BFD64. Add archive64.c source file. * archive64.c: New file implementing bfd_elf64_archive_slurp_armap and bfd_elf64_archive_write_armap, code from elf64-mips.c * archive.c (bfd_slurp_armap): Add ELF64 archive support. * config.bfd (mips*-*-irix6*): Allow with BFD64 only. (mips64*el-*-linux*): Likewise. (mips*el-*-linux*): Likewise. Reorder entries. * configure.in (bfd_libs): Define in dependency of BFD64 and AC_SUBST it. * elf64-mips.c (mips_elf64_slurp_armap): Remove, use bfd_elf64_archive_slurp_armap instead. (mips_elf64_write_armap): Remove, use bfd_elf64_archive_write_armap instead.
2001-12-04daily updateAlan Modra1-1/+1
2001-12-04 * config.bfd: Remove trailing blanks.Thiemo Seufer3-3/+8
* elf32-mips.c (gprel16_with_gp): Remove superfluous casts. * strings.c (get_char): Initialize value. * config/tc-mips.c (mips_cpreturn_offset): Better comment. (load_register): Better error message. Cast away signedness mismatches. Add casts needed for varargs. (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl. Remove superfluous casts. (macro): Cast away signedness mismatches. Remove superfluous casts. (s_cpload): Fix wrong comment. (s_mips_weakext): Standardize output message. (get_number): Likewise.
2001-12-04* elf32-d10v.c (elf_d10v_howto_table): Adjust bit-size ofAlexandre Oliva2-33/+40
R_D10V_10_PCREL_L, R_D10V_10_PCREL_R, R_D10V_18, R_D10V_18_PCREL. Check 10_PCREL relocations as signed. Disable pointless overflow checking of NONE and 32.
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