summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* Add New Chinese (simplified) PO file.offbyone-20030313-branchpointoffbyone-20030313-branchNick Clifton2003-03-134-304/+3011
|
* (BYTES_IN_WORD): Don't define.Nick Clifton2003-03-1322-45/+48
|
* * Reverted 2003-03-02's patch.Alexandre Oliva2003-03-128-37/+28
|
* daily updateAlan Modra2003-03-121-1/+1
|
* * elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make itAlexandre Oliva2003-03-123-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.
* Rename 'index' to 'offset'Nick Clifton2003-03-122-2/+7
|
* daily updateAlan Modra2003-03-111-1/+1
|
* * elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not createAlexandre Oliva2003-03-112-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.
* * elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma fromAlan Modra2003-03-103-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.
* daily updateAlan Modra2003-03-101-1/+1
|
* daily updateAlan Modra2003-03-091-1/+1
|
* daily updateAlan Modra2003-03-081-1/+1
|
* daily updatekettenis-i386newframe-20030308-branchpointAlan Modra2003-03-071-1/+1
|
* * elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop afterAlan Modra2003-03-072-11/+4
| | | | a tls_get_addr call.
* * elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one.Alan Modra2003-03-064-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.
* daily updateAlan Modra2003-03-061-1/+1
|
* 2003-03-06 Jakub Jelinek <jakub@redhat.com>Andrew Haley2003-03-062-3/+11
| | | | | | | Andrew Haley <aph@redhat.com> * elflink.h (elf_bfd_discard_info): Don't process eh frames if output is relocateable.
* (som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT.Nick Clifton2003-03-062-12/+14
|
* * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalizeAlan Modra2003-03-063-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.
* daily updateAlan Modra2003-03-051-1/+1
|
* daily updateAlan Modra2003-03-041-1/+1
|
* 2003-03-03 H.J. Lu <hjl@gnu.org>H.J. Lu2003-03-032-31/+5
| | | | | * elfxx-ia64.c (USE_BRL): Removed. (oor_ip): Removed.
* daily updateAlan Modra2003-03-031-1/+1
|
* Fix sh-elf linker relaxation:Joern Rennecke2003-03-032-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.
* Installed latest Danish translation.cagney_offbyone-20030303-branchpointcagney_offbyone-20030303-branchNick Clifton2003-03-032-11/+15
|
* daily updateAlan Modra2003-03-021-1/+1
|
* * elf32-mips.c (elf_mips_howto_table_rel): Change definition ofThiemo Seufer2003-03-028-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.
* daily updateAlan Modra2003-03-011-1/+1
|
* * elfxx-ia64.c (elfNN_ia64_relax_section): Correct boundsRichard Henderson2003-03-012-2/+7
| | | | for ltoff22x relaxation.
* * bfd-in.h (_bfd): Don't define.Alan Modra2003-02-285-18/+19
| | | | | | * bfd.c: Rename occurrences of "struct _bfd" to "struct bfd". * syms.c: Likewise. * bfd-in2.h: Regenerate.
* daily updateAlan Modra2003-02-281-1/+1
|
* * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx;Richard Henderson2003-02-282-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.
* daily updateAlan Modra2003-02-271-1/+1
|
* 2003-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-02-274-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.
* daily updateAlan Modra2003-02-261-1/+1
|
* daily updateAlan Modra2003-02-251-1/+1
|
* * elflink.h (elf_link_read_relocs_from_section): Don't abort withAlan Modra2003-02-252-1/+6
| | | | wrong reloc sizes.
* * elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdrAlan Modra2003-02-252-63/+65
| | | | | and rel_hdr2 when initially counting input relocs rather than after creating output reloc sections.
* Regenerate dependencies.Alan Modra2003-02-253-8/+13
|
* daily updateAlan Modra2003-02-241-1/+1
|
* Add support for QNX style core files.Nick Clifton2003-02-242-1/+117
|
* * elflink.c (_bfd_elf_create_got_section): Check existing .gotAlan Modra2003-02-242-11/+21
| | | | | | | section flags before concluding that we've already been called. Don't use register keyword. (_bfd_elf_create_dynamic_sections): Don't use register keyword. (_bfd_elf_create_linker_section): Formatting.
* daily updateAlan Modra2003-02-231-1/+1
|
* daily updateAlan Modra2003-02-221-1/+1
|
* daily updateAlan Modra2003-02-211-1/+1
|
* daily updateAlan Modra2003-02-201-1/+1
|
* Fix typo: intial -> initial.Nick Clifton2003-02-203-351/+276
|
* * elf32-ppc.c: Formatting.Alan Modra2003-02-202-311/+406
| | | | | | | (allocate_dynrelocs): LD and GD relocs against the same sym need separate GOT entries. (ppc_elf_relocate_section): Correct GOT handling for multiple GOT entries per symbol.
* daily updateAlan Modra2003-02-191-1/+1
|
* * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic relocAlan Modra2003-02-198-817/+718
| | | | | | | | | | | | | | | | | | removal. Localize vars. Remove unnecessary dynobj test. * elf32-i386 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, and optimize. (elf_i386_relocate_section): Likewise. (elf_i386_gc_sweep_hook): Simplify dyn reloc removal. Localize vars. * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. * elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. Remove local_dynrel for section too. Don't touch HIPLT22, LOPLT10, PCPLT32 or PCPLT10 relocs. Don't subtract twice on PLT32 relocs. Formatting.