* elf32-m68hc11.c (m68hc11_relax_group): New to relax group of
authorStephane Carrez <stcarrez@nerim.fr>
Wed, 14 Aug 2002 08:14:30 +0000 (08:14 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Wed, 14 Aug 2002 08:14:30 +0000 (08:14 +0000)
commit1fd03b5ab2e0b0d7deefff200384e02f5debe5fb
treed78c4dd00d10439f25c89cbb61d5a55ef92b7eaa
parentb57efb7d962b15e9707010ba123d855c50d3e75c
* elf32-m68hc11.c (m68hc11_relax_group): New to relax group of
instructions.
(m68hc11_direct_relax): New to define table of relaxable instructions.
(find_relaxable_insn): New, find a relaxable insn.
(compare_reloc): New to compare two relocs.
(m68hc11_elf_relax_section): New, relax text sections.
(m68hc11_elf_relax_delete_bytes): New, delete bytes and adjust branchs.
(elf32_m68hc11_check_relocs): New function for GC support.
(elf32_m68hc11_relocate_section): New function for GC support.
(bfd_elf32_bfd_relax_section): Define to support linker relaxation.
(elf_backend_check_relocs): Likewise.
(elf_backend_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf32-m68hc11.c