aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-cr16c.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-cr16c.c')
-rw-r--r--bfd/elf32-cr16c.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elf32-cr16c.c b/bfd/elf32-cr16c.c
index 508ed2b..e41832c 100644
--- a/bfd/elf32-cr16c.c
+++ b/bfd/elf32-cr16c.c
@@ -233,10 +233,10 @@ cr16c_elf_final_link_relocate (reloc_howto_type *howto,
case R_NUMBER:
switch (size)
{
- case R_S_16C_08: /* One byte. */
+ case R_S_16C_08: /* One byte. */
value = bfd_get_8 (abfd, (char *) data + octets);
break;
- case R_S_16C_16: /* Two bytes. */
+ case R_S_16C_16: /* Two bytes. */
sword = bfd_get_16 (abfd, (bfd_byte *) data + octets);
value = sword;
break;
@@ -437,7 +437,7 @@ cr16c_elf_final_link_relocate (reloc_howto_type *howto,
case R_NUMBER:
switch (size)
{
- case R_S_16C_08: /* One byte. */
+ case R_S_16C_08: /* One byte. */
if (value > (int) MAX_UBYTE || value < MIN_BYTE)
return bfd_reloc_overflow;
value &= 0xFF;
@@ -582,7 +582,7 @@ cr16c_elf_final_link_relocate (reloc_howto_type *howto,
if (neg2pos)
{
/* Change load/stor negative displ opcode
- to load/stor positive displ opcode. */
+ to load/stor positive displ opcode. */
value = bfd_get_8 (abfd, (char *) data + octets - 3);
value &= 0xF7;
value |= 0x2;
@@ -951,9 +951,9 @@ elf32_cr16c_link_output_symbol_hook (struct bfd_link_info *info ATTRIBUTE_UNUSED
#define elf_info_to_howto_rel elf_cr16c_info_to_howto_rel
#define elf_backend_relocate_section elf32_cr16c_relocate_section
#define elf_backend_symbol_processing elf32_cr16c_symbol_processing
-#define elf_backend_section_from_bfd_section elf32_cr16c_section_from_bfd_section
+#define elf_backend_section_from_bfd_section elf32_cr16c_section_from_bfd_section
#define elf_backend_add_symbol_hook elf32_cr16c_add_symbol_hook
-#define elf_backend_link_output_symbol_hook elf32_cr16c_link_output_symbol_hook
+#define elf_backend_link_output_symbol_hook elf32_cr16c_link_output_symbol_hook
#define elf_backend_can_gc_sections 1