diff options
author | Bob Wilson <bob.wilson@acm.org> | 2007-12-12 21:11:10 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2007-12-12 21:11:10 +0000 |
commit | bdb553298bc6fdb04fd45bde5ac5c1b6fbe83400 (patch) | |
tree | 36f6cec43433589d01e7b16241a20edf9afdf1b2 /bfd/elf32-xtensa.c | |
parent | 9812edcee0779ec1ed085e374e07b0f291f2d473 (diff) | |
download | binutils-redhat-bdb553298bc6fdb04fd45bde5ac5c1b6fbe83400.tar.gz |
* 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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index b7e4121fc7..a1c608872f 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: |