aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-12-27daily updateAlan Modra1-1/+1
2003-12-26daily updateAlan Modra1-1/+1
2003-12-25daily updateAlan Modra1-1/+1
2003-12-24daily updateAlan Modra1-1/+1
2003-12-23daily updateAlan Modra1-1/+1
2003-12-22daily updateAlan Modra1-1/+1
2003-12-21daily updateAlan Modra1-1/+1
2003-12-20daily updateAlan Modra1-1/+1
2003-12-19daily updateAlan Modra1-1/+1
2003-12-19oops - omitted from the previous checkin.Nick Clifton1-0/+14
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton8-52/+2843
2003-12-19Do not mark .reloc sections as containing debug info.Nick Clifton2-1/+10
2003-12-18daily updateAlan Modra1-1/+1
2003-12-18bfd/Richard Sandiford6-804/+451
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16, _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16, and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16. (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. (_bfd_mips_elf32_gprel16_reloc): Remove special case. (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise. * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change R_MIPS_HI16's rightshift to 16. (mips_elf64_howto_table_rela): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well. (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete. (mips_elf64_shift6_reloc): Remove special case. Use _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue. * elfn32-mips.c (prev_reloc_section): Delete. (prev_reloc_address, prev_reloc_addend): Delete. (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for elf64-mips.c (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete. (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. (mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND. (mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise. (mips16_jump_reloc, mips16_gprel_reloc): Likewise. (mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND. * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use _bfd_relocate_contents to install an in-place addend. (mips_hi16): New structure. (mips_hi16_list): Moved from elf32-mips.c. (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions. (_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions. (mips_elf_calculate_relocation): Assume addend is unshifted. (_bfd_mips_elf_relocate_section): Don't apply the howto rightshift on top of the usual high-part shift. Don't shift the addend right before calling mips_elf_calculate_relocation. * elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare. (_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare. (_bfd_mips_elf_generic_reloc): Declare. gas/ * config/tc-mips.c (mips_need_elf_addend_fixup): Delete. (md_apply_fix3): Remove bfd_install_relocation workarounds. (tc_gen_reloc): Likewise. Factor handling of pc-relative relocations and treat fx_addnumber as relative to the relocation address. gas/testsuite/ * gas/mips/mips16-jalx.d: Use -mabi=o64. * gas/mips/mips16.d: Likewise. * gas/mips/elf-rel17.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-12-17daily updateAlan Modra1-1/+1
2003-12-16daily updateAlan Modra1-1/+1
2003-12-16Only skip one instance of each prefix character, if they are present.Nick Clifton2-4/+40
2003-12-15daily updateAlan Modra1-1/+1
2003-12-15Ensure that correct flags are set on known PE section types.Nick Clifton2-14/+56
2003-12-14daily updateAlan Modra1-1/+1
2003-12-13daily updateAlan Modra1-1/+1
2003-12-12daily updateAlan Modra1-1/+1
2003-12-12Updated Romanian translationNick Clifton2-629/+917
2003-12-12 * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check forAlan Modra2-2/+7
NULL dyn_h.
2003-12-11daily updateAlan Modra1-1/+1
2003-12-11(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.Nick Clifton2-2/+8
2003-12-10daily updateAlan Modra1-1/+1
2003-12-09daily updateAlan Modra1-1/+1
2003-12-08daily updateAlan Modra1-1/+1
2003-12-08 * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.Richard Sandiford4-737/+499
Remove casts that were only needed for K&R compatibility.
2003-12-08 * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and addAlan Modra12-61/+190
"elflink_hash_entry *" param to elf_backend_link_output_symbol_hook. Add "elflink_hash_entry *" param to elf_backend_output_arch_syms. * elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param, and pass to output_symbol_hook. (elf_bfd_final_link): Adjust elf_link_output_sym calls. (elf_link_output_extsym): Likewise. (elf_link_input_bfd): Likewise. * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust. * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise. * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise. * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise. * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise. * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise. * elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise. * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise. Validate dynh->h against h. * elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield. (link_hash_newfunc): Init it. (adjust_opd_syms): New function. (ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted. Set opd.adjust for all .opd relocs. Call adjust_opd_syms. (ppc64_elf_tls_optimize): Adjust possible .opd sym values here. (ppc64_elf_relocate_section): Also adjust syms not a multiple of 24. (ppc64_elf_output_symbol_hook): New function. (elf_backend_link_output_symbol_hook): Define.
2003-12-07daily updateAlan Modra1-1/+1
2003-12-07 * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.Richard Sandiford4-608/+325
Remove casts that were only needed for K&R compatibility.
2003-12-06daily updateAlan Modra1-1/+1
2003-12-05daily updateAlan Modra1-1/+1
2003-12-05Fixes for use of ARM_26D reloc in arm-wince toolchain.Nick Clifton2-21/+30
2003-12-04daily updateAlan Modra1-1/+1
2003-12-042003-12-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-5/+6
* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
2003-12-04bfd/H.J. Lu2-4/+11
2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * elfxx-ia64.c (elfNN_ia64_relax_section): Use the need_relax_finalize field in link_info instead of relax_finalizing to check if the relax finalize pass is being done. include/ 2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Change relax_finalizing to need_relax_finalize. ld/ 2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set link_info.need_relax_finalize to TRUE. * ldlang.c (lang_process): Use link_info.need_relax_finalize instead of link_info.relax_finalizing. * ldmain.c (main): Likewise.
2003-12-04Change ARM26* to ARM_26* in comments to match definitions.Nick Clifton2-17/+24
Replace hard-coded constants with appropriate definitions (ARM_26*).
2003-12-04 * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.Alan Modra4-19/+37
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes. (mn10300_elf_relax_section): Likewise. * nlm32-alpha.c (ONES): Define. (nlm32_alpha_howto_table): Use it to avoid warnings.
2003-12-04 * elf32-i386.c (elf_i386_object_p): Delete.Alan Modra8-70/+12
(elf_backend_object_p): Don't define. * elf32-s390.c (elf_s390_object_p): No need to alloc tdata here. * elf32-sh.c (sh_elf_object_p): Likewise. * elf32-sparc.c (elf32_sparc_object_p): Likewise. * elf64-alpha.c (elf64_alpha_object_p): Likewise. * elf64-s390.c (elf_s390_object_p): Likewise. * elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.
2003-12-03daily updateAlan Modra1-1/+1
2003-12-03Add support for the M32R2 processor.Nick Clifton5-31/+46
2003-12-03Add vax-linux-gnu targetNick Clifton4-66/+97
2003-12-02daily updateAlan Modra1-1/+1
2003-12-02Rename bfd_link_hash_entry field "next" -> "und_next".Alan Modra4-20/+30
2003-12-02Add Romanian translation for bfd.Nick Clifton4-2/+2749
2003-12-02make "dep-am"Alan Modra3-5/+14
2003-12-01daily updateAlan Modra1-1/+1