aboutsummaryrefslogtreecommitdiff
path: root/gprof/aarch64.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-08-02 09:23:36 +0100
committerNick Clifton <nickc@redhat.com>2023-08-02 09:23:36 +0100
commit675b9d612cc59446e84e2c6d89b45500cb603a8d (patch)
treead4ae6b4b1f1f81aceb945f15c5c12ea2b379689 /gprof/aarch64.c
parent69c37f53e20dc3e0b3c179b511ff786db6ae114e (diff)
downloadgdb-675b9d612cc59446e84e2c6d89b45500cb603a8d.zip
gdb-675b9d612cc59446e84e2c6d89b45500cb603a8d.tar.gz
gdb-675b9d612cc59446e84e2c6d89b45500cb603a8d.tar.bz2
2.41 Release sourcesbinutils-2_41-release
Diffstat (limited to 'gprof/aarch64.c')
-rw-r--r--gprof/aarch64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gprof/aarch64.c b/gprof/aarch64.c
index 3ab6067..68febf9 100644
--- a/gprof/aarch64.c
+++ b/gprof/aarch64.c
@@ -54,8 +54,7 @@ aarch64_find_call (Sym *parent, bfd_vma p_lowpc, bfd_vma p_highpc)
DBG (CALLDEBUG, printf ("[find_call] %s: 0x%lx to 0x%lx\n",
parent->name, (unsigned long) p_lowpc,
(unsigned long) p_highpc));
- p_lowpc = (p_lowpc + 3) & ~3;
- p_highpc &= ~3;
+
for (pc = p_lowpc; pc < p_highpc; pc += 4)
{