aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf32-xtensa.c3
2 files changed, 8 insertions, 1 deletions
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 <bob.wilson@acm.org>
+
+ * 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 <clm@codesourcery.com>
* 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: