diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2018-12-07 11:11:55 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-12-10 10:13:30 +0100 |
commit | be2ca38aaaac1739421588a71a6fc2c601bc7604 (patch) | |
tree | 098dc3263495fd97b33916039f88aecf04afdcfa /arch/arm/mach-zynqmp/Makefile | |
parent | 64d95896cf0e22a769066f33180b60707356160b (diff) | |
download | barebox-be2ca38aaaac1739421588a71a6fc2c601bc7604.tar.gz barebox-be2ca38aaaac1739421588a71a6fc2c601bc7604.tar.xz |
ARM: aarch64: add ENTRY_PROC macro for arm64
arm64 has no __naked__ attribute and the compiler adds a function prologue
for saving x29 and x30 to the stack for all C functions. This includes
functions defined using the ENTRY_FUNCTION macro. Therefore, the stack
needs to be setup before entering a C function, which is not possible if
the entry is a C function.
Provide a macro to implement the entry in assembly to be able to setup the
stack before entering the low level entry function.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-zynqmp/Makefile')
0 files changed, 0 insertions, 0 deletions