diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2002-06-03 01:57:10 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2002-06-03 01:57:10 +0000 |
commit | cedb70c5450013a9c0f7d25564b63c4394b74ea1 (patch) | |
tree | fe1fa39eb1567435dd4d90c912d6337c5d717163 /bfd/elf64-alpha.c | |
parent | 676ab6a01e3c755fec9274e261693e9ee6f7f1a7 (diff) | |
download | gdb-cedb70c5450013a9c0f7d25564b63c4394b74ea1.zip gdb-cedb70c5450013a9c0f7d25564b63c4394b74ea1.tar.gz gdb-cedb70c5450013a9c0f7d25564b63c4394b74ea1.tar.bz2 |
* elf32-arc.c: Fix formatting.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-dlx.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-i386qnx.c: Likewise.
* elf32-or32.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-vax.c: Likewise.
* elf32-xstormy16.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-x86-64.c: Likewise.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r-- | bfd/elf64-alpha.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index 8fcfeb3..fcc33d1 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -1454,7 +1454,7 @@ elf64_alpha_relax_with_lituse (info, symval, irel) R_ALPHA_GPDISP)); if (gpdisp) { - bfd_byte *p_ldah = info->contents + gpdisp->r_offset; + bfd_byte *p_ldah = info->contents + gpdisp->r_offset; bfd_byte *p_lda = p_ldah + gpdisp->r_addend; unsigned int ldah = bfd_get_32 (info->abfd, p_ldah); unsigned int lda = bfd_get_32 (info->abfd, p_lda); @@ -1636,7 +1636,7 @@ elf64_alpha_relax_got_load (info, symval, irel, r_type) insn = (OP_LDA << 26) | (insn & (31 << 21)) | (31 << 16); bfd_put_32 (info->abfd, (bfd_vma) insn, info->contents + irel->r_offset); info->changed_contents = true; - + switch (r_type) { case R_ALPHA_LITERAL: @@ -2082,7 +2082,7 @@ elf64_alpha_relax_section (abfd, sec, link_info, again) info.relocs = internal_relocs; info.relend = irelend = internal_relocs + sec->reloc_count; - /* Find the GP for this object. Do not store the result back via + /* Find the GP for this object. Do not store the result back via _bfd_set_gp_value, since this could change again before final. */ info.gotobj = alpha_elf_tdata (abfd)->gotobj; if (info.gotobj) @@ -3750,7 +3750,7 @@ elf64_alpha_size_got_sections (info) return true; } -/* Called from relax_section to rebuild the PLT in light of +/* Called from relax_section to rebuild the PLT in light of potential changes in the function's status. */ static boolean @@ -3954,7 +3954,7 @@ elf64_alpha_size_rela_got_section (info) /* Shared libraries often require RELATIVE relocs, and some relocs require attention for the main application as well. */ - + entries = 0; for (i = alpha_elf_hash_table(info)->got_list; i ; i = alpha_elf_tdata(i)->got_link_next) @@ -4585,7 +4585,7 @@ elf64_alpha_relocate_section (output_bfd, info, input_bfd, input_section, /* The source and destination gp must be the same. Note that the source will always have an assigned gp, since we forced one in check_relocs, but that the destination may not, as - it might not have had any relocations at all. Also take + it might not have had any relocations at all. Also take care not to crash if H is an undefined symbol. */ if (h != NULL && sec != NULL && alpha_elf_tdata (sec->owner)->gotobj |