diff options
Diffstat (limited to 'bfd/elf32-h8300.c')
-rw-r--r-- | bfd/elf32-h8300.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/bfd/elf32-h8300.c b/bfd/elf32-h8300.c index 7573b82..952c90c 100644 --- a/bfd/elf32-h8300.c +++ b/bfd/elf32-h8300.c @@ -664,27 +664,27 @@ elf32_h8_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info) There are a few relaxing opportunities available on the H8: - jmp/jsr:24 -> bra/bsr:8 2 bytes + jmp/jsr:24 -> bra/bsr:8 2 bytes The jmp may be completely eliminated if the previous insn is a conditional branch to the insn after the jump. In that case we invert the branch and delete the jump and save 4 bytes. - bCC:16 -> bCC:8 2 bytes - bsr:16 -> bsr:8 2 bytes + bCC:16 -> bCC:8 2 bytes + bsr:16 -> bsr:8 2 bytes - bset:16 -> bset:8 2 bytes - bset:24/32 -> bset:8 4 bytes + bset:16 -> bset:8 2 bytes + bset:24/32 -> bset:8 4 bytes (also applicable to other bit manipulation instructions) - mov.b:16 -> mov.b:8 2 bytes - mov.b:24/32 -> mov.b:8 4 bytes + mov.b:16 -> mov.b:8 2 bytes + mov.b:24/32 -> mov.b:8 4 bytes - bset:24/32 -> bset:16 2 bytes + bset:24/32 -> bset:16 2 bytes (also applicable to other bit manipulation instructions) - mov.[bwl]:24/32 -> mov.[bwl]:16 2 bytes + mov.[bwl]:24/32 -> mov.[bwl]:16 2 bytes - mov.[bwl] @(displ:24/32+ERx) -> mov.[bwl] @(displ:16+ERx) 4 bytes. */ + mov.[bwl] @(displ:24/32+ERx) -> mov.[bwl] @(displ:16+ERx) 4 bytes. */ static bfd_boolean elf32_h8_relax_section (bfd *abfd, asection *sec, @@ -808,8 +808,8 @@ elf32_h8_relax_section (bfd *abfd, asection *sec, && h->root.type != bfd_link_hash_defweak) { /* This appears to be a reference to an undefined - symbol. Just ignore it--it will be caught by the - regular reloc processing. */ + symbol. Just ignore it--it will be caught by the + regular reloc processing. */ continue; } @@ -1736,7 +1736,7 @@ elf32_h8_get_relocated_section_contents (bfd *output_bfd, /* And relaxing stuff. */ #define bfd_elf32_bfd_relax_section elf32_h8_relax_section #define bfd_elf32_bfd_get_relocated_section_contents \ - elf32_h8_get_relocated_section_contents + elf32_h8_get_relocated_section_contents #define elf_symbol_leading_char '_' |