aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorNick Desaulniers <[email protected]>2020-06-08 13:57:08 -0700
committerWill Deacon <[email protected]>2020-06-10 11:38:56 +0100
commit625412c210fb6423e40cb22de7d14fc3bb9d9e79 (patch)
tree7f5fa74f4d10403f5964136687234a239f716898 /scripts/gdb/linux/clk.py
parent961abd78adcb4c72c343fcd9f9dc5e2ebbe9b448 (diff)
arm64: vdso32: add CONFIG_THUMB2_COMPAT_VDSO
Allow the compat vdso (32b) to be compiled as either THUMB2 (default) or ARM. For THUMB2, the register r7 is reserved for the frame pointer, but code in arch/arm64/include/asm/vdso/compat_gettimeofday.h uses r7. Explicitly set -fomit-frame-pointer, since unwinding through interworked THUMB2 and ARM is unreliable anyways. See also how CONFIG_UNWINDER_FRAME_POINTER cannot be selected for CONFIG_THUMB2_KERNEL for ARCH=arm. This also helps toolchains that differ in their implicit value if the choice of -f{no-}omit-frame-pointer is left unspecified, to not error on the use of r7. 2019 Q4 ARM AAPCS seeks to standardize the use of r11 as the reserved frame pointer register, but no production compiler that can compile the Linux kernel currently implements this. We're actively discussing such a transition with ARM toolchain developers currently. Reported-by: Luis Lozano <[email protected]> Signed-off-by: Nick Desaulniers <[email protected]> Tested-by: Manoj Gupta <[email protected]> Acked-by: Catalin Marinas <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Robin Murphy <[email protected]> Cc: Dave Martin <[email protected]> Link: https://static.docs.arm.com/ihi0042/i/aapcs32.pdf Link: https://bugs.chromium.org/p/chromium/issues/detail?id=1084372 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions