aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xtensa.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-12-12 21:11:10 +0000
committerBob Wilson <bob.wilson@acm.org>2007-12-12 21:11:10 +0000
commitc46082c8d595fcaa9e6df24e7dee18de6bc33354 (patch)
treee61126e05754d4dea17b6f2dc85e321dae690b46 /bfd/elf32-xtensa.c
parentb71c0d47ee35d2c5af2aa636782c13fefb3b7fe2 (diff)
downloadgdb-c46082c8d595fcaa9e6df24e7dee18de6bc33354.zip
gdb-c46082c8d595fcaa9e6df24e7dee18de6bc33354.tar.gz
gdb-c46082c8d595fcaa9e6df24e7dee18de6bc33354.tar.bz2
* elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with
address. (print_action_list): Fix name for ta_convert_longcall.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r--bfd/elf32-xtensa.c3
1 files changed, 2 insertions, 1 deletions
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: