OSDN Git Service

* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
authorciceron <ciceron>
Fri, 4 Apr 2003 21:17:05 +0000 (21:17 +0000)
committerciceron <ciceron>
Fri, 4 Apr 2003 21:17:05 +0000 (21:17 +0000)
commit2adcd397af38fad16ad82d7e7d0dd50d558ab1dc
treea2cf080460a2f07b76852969a7567254918ac2af
parente9fdc1cf491ec85af21dfff6b77a87e8686a9d4c
* 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