Skip to content
Snippets Groups Projects
Commit a8dcd388 authored by Alan Modra's avatar Alan Modra
Browse files

* aarch64.c (aarch64_find_call): Promote to bfd_vma before sign

	extending.
parent 34e02e25
No related branches found
No related tags found
No related merge requests found
2013-05-24 Alan Modra <amodra@gmail.com>
* aarch64.c (aarch64_find_call): Promote to bfd_vma before sign
extending.
2013-05-22 Venkataramanan Kumar <Venkataramanan.kumar@linaro.org> 2013-05-22 Venkataramanan Kumar <Venkataramanan.kumar@linaro.org>
* aarch64.c: New file. * aarch64.c: New file.
......
...@@ -68,7 +68,7 @@ aarch64_find_call (Sym *parent, bfd_vma p_lowpc, bfd_vma p_highpc) ...@@ -68,7 +68,7 @@ aarch64_find_call (Sym *parent, bfd_vma p_lowpc, bfd_vma p_highpc)
/* Regular pc relative addressing check that this is the /* Regular pc relative addressing check that this is the
address of a function. */ address of a function. */
offset = (((insn & 0x3ffffff) ^ 0x2000000) - 0x2000000) << 2; offset = ((((bfd_vma) insn & 0x3ffffff) ^ 0x2000000) - 0x2000000) << 2;
dest_pc = pc + offset; dest_pc = pc + offset;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment