diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-18 08:50:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-23 13:21:37 +0200 |
commit | ca73d78df079fff40f08f7c3b8ee729c26dfc7d6 (patch) | |
tree | 1ca805e02a5d4174021a8d9aacd12dff8cb3d36a /arch | |
parent | 0a550236f3e1aad9fbe5cde53dfc68fd55b9b927 (diff) | |
download | barebox-ca73d78df079fff40f08f7c3b8ee729c26dfc7d6.tar.gz barebox-ca73d78df079fff40f08f7c3b8ee729c26dfc7d6.tar.xz |
ARM: unwind: Provide prototypes for exported functions
__aeabi_unwind_cpp_prx are provided to make the linker happy. To fix
warnings about missing prototypes just provide a prototype in the same
file.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib32/unwind.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/lib32/unwind.c b/arch/arm/lib32/unwind.c index c3dca5b61d..d3e79b5702 100644 --- a/arch/arm/lib32/unwind.c +++ b/arch/arm/lib32/unwind.c @@ -4,6 +4,10 @@ #include <asm/unwind.h> #include <asm/sections.h> +void __aeabi_unwind_cpp_pr0(void); +void __aeabi_unwind_cpp_pr1(void); +void __aeabi_unwind_cpp_pr2(void); + /* Dummy functions to avoid linker complaints */ void __aeabi_unwind_cpp_pr0(void) { |