* 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)
commit196486bed91020ac1c7e555446b0f3e069e7cd5d
treefc5dcaa571a77cb720f4c6abeea97a8a7690ea45
parent11889732f8bf4a0c69606696a154262eb1f82a8e
* 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