Closed xxkent closed 3 weeks ago
Looks like we can't changing arch/arc/include/uapi/asm/ptrace.h by this way adding platform specific macro CONFIG_ISA_ARCV3 to the header which is used by user-space code.
I get "error: arch/arc/include/uapi/asm/ptrace.h: leak CONFIG_ISA_ARCV3 to user-space" from buildroot then.
For the ARCv3 architecture, changes have occurred regarding the r13 registry in the ABI. Now register r13 from callee saved has become a scratch register. This patch moves r13 in the corresponding structures and makes changes in functions for proper saving and restoring user context.