diff options
author | Alexander Lobakin <[email protected]> | 2021-01-10 11:56:28 +0000 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2021-01-15 15:27:54 +0100 |
commit | 894ef530012fb5078466efdfb2c15d8b2f1565cd (patch) | |
tree | d546bbcd0a47fcf320a0f60cc955bdfa07813e5e /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 5629d41838881335b7b00f13dab17073674793b8 (diff) |
MIPS: properly stop .eh_frame generation
Commit 866b6a89c6d1 ("MIPS: Add DWARF unwinding to assembly") added
-fno-asynchronous-unwind-tables to KBUILD_CFLAGS to prevent compiler
from emitting .eh_frame symbols.
However, as MIPS heavily uses CFI, that's not enough. Use the
approach taken for x86 (as it also uses CFI) and explicitly put CFI
symbols into the .debug_frame section (except for VDSO).
This allows us to drop .eh_frame from DISCARDS as it's no longer
being generated.
Fixes: 866b6a89c6d1 ("MIPS: Add DWARF unwinding to assembly")
Suggested-by: Kees Cook <[email protected]>
Signed-off-by: Alexander Lobakin <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions