diff options
author | 2018-02-09 13:19:47 +0000 | |
---|---|---|
committer | 2018-03-06 18:52:32 +0000 | |
commit | 6b24442d68e78c57c8837920ea5dfb252571847a (patch) | |
tree | 180962e1b03868090b1232772c3357303d99d240 /arch/arm64/Makefile | |
parent | arm64: Use arm64_force_sig_info instead of force_sig_info (diff) | |
download | linux-dev-6b24442d68e78c57c8837920ea5dfb252571847a.tar.xz linux-dev-6b24442d68e78c57c8837920ea5dfb252571847a.zip |
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: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Makefile')
0 files changed, 0 insertions, 0 deletions