OSDN Git Service

* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
authorStephane Carrez <stcarrez@nerim.fr>
Fri, 4 Apr 2003 21:17:06 +0000 (21:17 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Fri, 4 Apr 2003 21:17:06 +0000 (21:17 +0000)
commit504f5b6fcc17e6a63b23b62d7cb289223f77e4a4
tree942a69d352f2cefa244fd3b957fc9c45e1ea775a
parent392d6ce69b2461febfeecd347b69da092f3eacbb
* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
symbols that mark the end of the section.
(m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when
converting to a relative branch so that the offset is computed after
the relaxation; also relocate a jsr into a bsr if possible but don't
relax them if they are to a far symbol as we need to call the
trampoline code.
(elf_m68hc11_howto_table): Set pcrel_offset to true.
bfd/ChangeLog
bfd/elf32-m68hc11.c