OSDN Git Service

* elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with
authorBob Wilson <bob.wilson@acm.org>
Wed, 12 Dec 2007 21:11:10 +0000 (21:11 +0000)
committerBob Wilson <bob.wilson@acm.org>
Wed, 12 Dec 2007 21:11:10 +0000 (21:11 +0000)
        address.
        (print_action_list): Fix name for ta_convert_longcall.

bfd/ChangeLog
bfd/elf32-xtensa.c

index 6131728..6f7fe1f 100644 (file)
@@ -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
index b7e4121..a1c6088 100644 (file)
@@ -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: