Skip to content
Commit 6b24442d authored by Will Deacon's avatar Will Deacon
Browse files

arm64: lse: Pass -fomit-frame-pointer to out-of-line ll/sc atomics



In cases where x30 is used as a temporary in the out-of-line ll/sc atomics
(e.g. atomic_fetch_add), the compiler tends to put out a full stackframe,
which included pointing the x29 at the new frame.

Since these things aren't traceable anyway, we can pass -fomit-frame-pointer
to reduce the work when spilling. Since this is incompatible with -pg, we
also remove that from the CFLAGS for this file.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 4e829b67
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment