aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-03-21daily updateAlan Modra1-1/+1
2003-03-21* elf32-xstormy16.c (elf32_xstormy16_relocate_section): CallDJ Delorie2-3/+6
_bfd_elf_rela_local_sym.
2003-03-20daily updateAlan Modra1-1/+1
2003-03-202003-03-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+9
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for non-ELF outputs.
2003-03-20Initialise $idata2 and $idata5 in case bfd_coff_final_link is not called.Nick Clifton2-15/+31
2003-03-19daily updateAlan Modra1-1/+1
2003-03-19 * elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_countJakub Jelinek2-14/+58
field. (canon_reloc_count): Define. (sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table, sparc64_elf_canonicalize_dynamic_reloc): Use it instead of reloc_count. (sparc64_elf_canonicalize_reloc): New routine. (bfd_elf64_canonicalize_reloc): Define.
2003-03-18 * elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxationJakub Jelinek2-4/+16
againt mergeable sections. Take r_addend into account when caching trampolines.
2003-03-18daily updateAlan Modra1-1/+1
2003-03-18 * elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully forRichard Henderson2-1/+10
local symbols that have no dyninfo.
2003-03-17daily updateAlan Modra1-1/+1
2003-03-16daily updateAlan Modra1-1/+1
2003-03-15daily updateAlan Modra1-1/+1
2003-03-14daily updateAlan Modra1-1/+1
2003-03-14(ieee_write_expression): Handle the case where symbol is NULL.Nick Clifton2-281/+255
2003-03-13daily updateAlan Modra1-1/+1
2003-03-13Add New Chinese (simplified) PO file.Nick Clifton4-304/+3011
2003-03-13(BYTES_IN_WORD): Don't define.Nick Clifton22-45/+48
2003-03-12* Reverted 2003-03-02's patch.Alexandre Oliva8-37/+28
2003-03-12daily updateAlan Modra1-1/+1
2003-03-12* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make itAlexandre Oliva3-31/+173
overridable. * elf64-mips.c (mips_elf64_canonicalize_reloc, mips_elf64_get_dynamic_reloc_upper_bound, mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c. (bfd_elf64_get_canonicalize_reloc, bfd_elf64_get_dynamic_reloc_upper_bound, bfd_elf64_canonicalize_dynamic_reloc): Define. (mips_elf64_slurp_reloc_table): Support dynamic. (mips_elf64_slurp_one_reloc_table): Adjust.
2003-03-12Rename 'index' to 'offset'Nick Clifton2-2/+7
2003-03-11daily updateAlan Modra1-1/+1
2003-03-11* elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not createAlexandre Oliva2-10/+31
dynamic relocations pointing to local or section symbols, use the NULL symbol instead. Document the choice to not emit an additional R_MIPS_64 relocation.
2003-03-10 * elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma fromAlan Modra3-13/+37
zero index dynamic tls relocs generated for the GOT. Tidy code. Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs. * ld-powerpc/tlsso32.r: Likewise.
2003-03-10daily updateAlan Modra1-1/+1
2003-03-09daily updateAlan Modra1-1/+1
2003-03-08daily updateAlan Modra1-1/+1
2003-03-07daily updateAlan Modra1-1/+1
2003-03-07 * elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop afterAlan Modra2-11/+4
a tls_get_addr call.
2003-03-06 * elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.Alan Modra4-19/+55
(ppc_elf_adjust_dynamic_symbol): For weak symbols, copy ELF_LINK_NON_GOT_REF from weakdef. * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one. (ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy ELF_LINK_NON_GOT_REF from weakdef. * elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one. Use throughout. (elf_i386_adjust_dynamic_symbol): For weak symbols, copy ELF_LINK_NON_GOT_REF from weakdef.
2003-03-06daily updateAlan Modra1-1/+1
2003-03-062003-03-06 Jakub Jelinek <jakub@redhat.com>Andrew Haley2-3/+11
Andrew Haley <aph@redhat.com> * elflink.h (elf_bfd_discard_info): Don't process eh frames if output is relocateable.
2003-03-06(som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.Nick Clifton2-12/+14
2003-03-06 * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalizeAlan Modra3-43/+57
error messages. (ELIMINATE_COPY_RELOCS): Define to zero. (ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating TLSLD relocs. Report reloc types on a number of errors. Optimize LOCAL24PC check for non-local syms. Don't capitalize error messages. * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero. (ppc64_elf_relocate_section): Don't deref htab->tls_sec when calculating TLSLD relocs. Report reloc types on a number of errors. Don't capitalize error messages.
2003-03-05daily updateAlan Modra1-1/+1
2003-03-04daily updateAlan Modra1-1/+1
2003-03-032003-03-03 H.J. Lu <hjl@gnu.org>H.J. Lu2-31/+5
* elfxx-ia64.c (USE_BRL): Removed. (oor_ip): Removed.
2003-03-03daily updateAlan Modra1-1/+1
2003-03-03Fix sh-elf linker relaxation:Joern Rennecke2-8/+45
gcc: * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and subtarget_asm_isa_spec. (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define. (ASM_SPEC): Define as SH_ASM_SPEC. (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h. Use subtarget_asm_relax_spec and subtarget_asm_isa_spec. * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC. (SUBTARGET_ASM_ISA_SPEC): Undef / define. gcc/testsuite: gcc.dg/sh-relax.c: New test. include/elf: * sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E, and SH2E & SH4 merge to SH4, not SH2E. gas: * config/tc-sh.c (sh_dsp): Replace with preset_target_arch. (md_begin): Use preset_target_arch. (md_longopts): Make isa option unconditional. (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any set preset_target_arch. (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups by -S_GET_VALUE (fixP->fx_subsy). (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy, and the addend is 0. Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4. * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. bfd: elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary relocation (no special function), and make it non-partial_inplace. (sh_elf_relax_section): When creating a bsr, use a consistent value no matter if the symbol is extern or not; set addend to -4. Don't swap load / non-load instructions for SH4. (sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset rather than if the symbol is external to determine if adjusting the offset makes sense. Adjust the addend too if appropriate. (sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the relocation.
2003-03-03Installed latest Danish translation.Nick Clifton2-11/+15
2003-03-02daily updateAlan Modra1-1/+1
2003-03-02 * elf32-mips.c (elf_mips_howto_table_rel): Change definition ofThiemo Seufer8-26/+57
R_MIPS_PC16 to rightshift 2. (elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc. (bfd_elf32_bfd_reloc_type_lookup): Support BFD_RELOC_MIPSEMB_16_PCREL_S2. * elf64-mips.c (mips_elf64_howto_table_rel): Change definition of R_MIPS_PC16 to rightshift 2. (mips_elf64_howto_table_rela): Likewise. (mips_reloc_map): Map to rightshifted BFD reloc. * elfn32-mips.c: The same as in elf64-mips.c. * elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment. (mips_elf_calculate_relocation): Handle rightshifted addends for R_MIPS_PC16. * reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for MIPS Embedded PIC. Remove superfluous empty COMMENT. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * config/tc-mips.c (append_insn): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about misaligned address and reange overflow. (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add earlier warnings about misaligned address and reange overflow. (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. (md_apply_fix): Likewise. Fix warning output. (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Allow BFD_RELOC_16_PCREL_S2 for all ABIs. (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. * gas/mips/bge.d: Reactivate external branch tests. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/branch-misc-2.d: New File. * gas/mips/branch-misc-2.l: Remove. * gas/mips/mips.exp: Adjust branch-misc-2 test.
2003-03-01daily updateAlan Modra1-1/+1
2003-03-01 * elfxx-ia64.c (elfNN_ia64_relax_section): Correct boundsRichard Henderson2-2/+7
for ltoff22x relaxation.
2003-02-28 * bfd-in.h (_bfd): Don't define.Alan Modra5-18/+19
* bfd.c: Rename occurrences of "struct _bfd" to "struct bfd". * syms.c: Likewise. * bfd-in2.h: Regenerate.
2003-02-28daily updateAlan Modra1-1/+1
2003-02-28 * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx;Richard Henderson2-215/+358
(elfNN_ia64_check_relocs): Set it. (allocate_global_data_got): Check it. (allocate_local_got): Likewise. (allocate_dynrel_entries): Likewise. (elfNN_ia64_relax_ldxmov): New. (elfNN_ia64_relax_section): Handle LTOFF22X, LDXMOV. (elfNN_ia64_choose_gp): Split out from ... (elfNN_ia64_final_link): ... here.
2003-02-27daily updateAlan Modra1-1/+1
2003-02-272003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-10/+26
* bfd.c (struct bfd): Rename "struct _bfd". * bfd-in.h: Update copyright. (struct bfd): Rename "struct _bfd". (_bfd): Define for backward compatibility. * bfd-in2.h: Regenerate.