* 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.
This commit is contained in:
Kazu Hirata
2002-06-03 01:57:10 +00:00
parent 676ab6a01e
commit cedb70c545
19 changed files with 120 additions and 99 deletions

View File

@@ -675,7 +675,7 @@ elf_vax_check_relocs (abfd, info, sec, relocs)
bfd_get_filename (abfd), rel->r_addend,
h->root.root.string,
eh->got_addend);
}
}
break;
@@ -1582,7 +1582,7 @@ elf_vax_relocate_section (output_bfd, info, input_bfd, input_section,
{
/* This is actually a static link, or it is a -Bsymbolic link
and the symbol is defined locally or there is no symbol.
Change the GOT32 entry to a PC32 entry. */
Change the GOT32 entry to a PC32 entry. */
break;
}
@@ -1673,7 +1673,7 @@ elf_vax_relocate_section (output_bfd, info, input_bfd, input_section,
got_offset = (plt_index + 3) * 4;
/* We want the relocate to point into the .got.plt instead
of the plt itself. */
of the plt itself. */
relocation = (sgotplt->output_section->vma
+ sgotplt->output_offset
+ got_offset);
@@ -1809,7 +1809,7 @@ elf_vax_relocate_section (output_bfd, info, input_bfd, input_section,
}
if (!strcmp (bfd_get_section_name (input_bfd, input_section),
".text") != 0 ||
".text") != 0 ||
(info->shared
&& ELF32_R_TYPE(outrel.r_info) != R_VAX_32
&& ELF32_R_TYPE(outrel.r_info) != R_VAX_RELATIVE
@@ -2158,7 +2158,7 @@ elf_vax_finish_dynamic_sections (output_bfd, info)
+ sgot->output_offset + 8
- (splt->output_section->vma + 12)),
splt->contents + 8);
elf_section_data (splt->output_section)->this_hdr.sh_entsize
elf_section_data (splt->output_section)->this_hdr.sh_entsize
= PLT_ENTRY_SIZE;
}
}