From c46082c8d595fcaa9e6df24e7dee18de6bc33354 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Wed, 12 Dec 2007 21:11:10 +0000 Subject: [PATCH] * elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with address. (print_action_list): Fix name for ta_convert_longcall. --- bfd/ChangeLog | 6 ++++++ bfd/elf32-xtensa.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6131728..6f7fe1f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2007-12-12 Bob Wilson + + * elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with + address. + (print_action_list): Fix name for ta_convert_longcall. + 2007-12-11 Catherine Moore * elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index b7e4121..a1c6088 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -1575,6 +1575,7 @@ elf_xtensa_do_reloc (reloc_howto_type *howto, /* The CALL needs to be relocated. Continue below for that part. */ address += 3; + self_address += 3; howto = &elf_howto_table[(unsigned) R_XTENSA_SLOT0_OP ]; } break; @@ -4846,7 +4847,7 @@ print_action_list (FILE *fp, text_action_list *action_list) case ta_remove_longcall: t = "remove_longcall"; break; case ta_convert_longcall: - t = "remove_longcall"; break; + t = "convert_longcall"; break; case ta_narrow_insn: t = "narrow_insn"; break; case ta_widen_insn: -- 2.7.4