summaryrefslogtreecommitdiff
path: root/bfd/elf32-or32.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2002-06-03 01:57:10 +0000
committerKazu Hirata <kazu@codesourcery.com>2002-06-03 01:57:10 +0000
commit616649ea0ab380f48327341ec616878ec304e229 (patch)
treee1f3dfca883f59830a7ee51b99154b7bbb58b2ef /bfd/elf32-or32.c
parentdd40559c36a3c2fbdda2e0407f1dafdde745b2a9 (diff)
downloadbinutils-redhat-616649ea0ab380f48327341ec616878ec304e229.tar.gz
* 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/elf32-or32.c')
-rw-r--r--bfd/elf32-or32.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/bfd/elf32-or32.c b/bfd/elf32-or32.c
index eed0b99168..a61b09d415 100644
--- a/bfd/elf32-or32.c
+++ b/bfd/elf32-or32.c
@@ -277,19 +277,19 @@ or32_elf_32_reloc (abfd, reloc_entry, symbol, data, input_section,
asection *input_section;
bfd *output_bfd;
char **error_message ATTRIBUTE_UNUSED;
-{
+{
if (output_bfd != (bfd *) NULL)
{
unsigned long insn;
bfd_size_type addr = reloc_entry->address;
reloc_entry->address += input_section->output_offset;
-
+
insn = bfd_get_32 (abfd, (bfd_byte *) data + addr);
insn += symbol->section->output_section->vma;
insn += symbol->section->output_offset;
insn += symbol->value;
- bfd_put_32 (abfd, insn, (bfd_byte *) data + addr);
+ bfd_put_32 (abfd, insn, (bfd_byte *) data + addr);
return bfd_reloc_ok;
}
@@ -307,7 +307,7 @@ or32_elf_16_reloc (abfd, reloc_entry, symbol, data, input_section,
asection *input_section;
bfd *output_bfd;
char **error_message ATTRIBUTE_UNUSED;
-{
+{
if (output_bfd != (bfd *) NULL)
{
unsigned short insn;
@@ -319,7 +319,7 @@ or32_elf_16_reloc (abfd, reloc_entry, symbol, data, input_section,
insn += symbol->section->output_section->vma;
insn += symbol->section->output_offset;
insn += symbol->value;
- bfd_put_16 (abfd, insn, (bfd_byte *) data + addr);
+ bfd_put_16 (abfd, insn, (bfd_byte *) data + addr);
return bfd_reloc_ok;
}
@@ -337,7 +337,7 @@ or32_elf_8_reloc (abfd, reloc_entry, symbol, data, input_section,
asection *input_section;
bfd *output_bfd;
char **error_message ATTRIBUTE_UNUSED;
-{
+{
if (output_bfd != (bfd *) NULL)
{
unsigned char insn;
@@ -349,7 +349,7 @@ or32_elf_8_reloc (abfd, reloc_entry, symbol, data, input_section,
insn += symbol->section->output_section->vma;
insn += symbol->section->output_offset;
insn += symbol->value;
- bfd_put_8 (abfd, insn, (bfd_byte *) data + addr);
+ bfd_put_8 (abfd, insn, (bfd_byte *) data + addr);
return bfd_reloc_ok;
}
@@ -391,7 +391,7 @@ or32_elf_consth_reloc (abfd, reloc_entry, symbol, data, input_section,
bfd_reloc_status_type ret;
bfd_vma relocation;
struct or32_consth *n;
-
+
ret = bfd_reloc_ok;
if (bfd_is_und_section (symbol->section)
@@ -505,7 +505,7 @@ or32_elf_jumptarg_reloc (abfd, reloc_entry, symbol, data, input_section,
asection *input_section;
bfd *output_bfd;
char **error_message ATTRIBUTE_UNUSED;
-{
+{
if (output_bfd != (bfd *) NULL)
{
unsigned long insn, tmp;
@@ -517,7 +517,7 @@ or32_elf_jumptarg_reloc (abfd, reloc_entry, symbol, data, input_section,
tmp = insn | 0xfc000000;
tmp -= (input_section->output_offset >> 2);
insn = (insn & 0xfc000000) | (tmp & 0x03ffffff);
- bfd_put_32 (abfd, insn, (bfd_byte *) data + addr);
+ bfd_put_32 (abfd, insn, (bfd_byte *) data + addr);
return bfd_reloc_ok;
}