diff options
author | Wolfgang Grandegger <wg@grandegger.com> | 2011-11-10 01:51:29 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-11 13:56:57 +0100 |
commit | 953209bf5ef0889a1baa02aa0ed5324f53ff8fda (patch) | |
tree | f602c63ac58e3f466d59b2c2000b9b738a7609aa | |
parent | 2f88566aaa85c9b217baa749e6fa6538a1b1d2b2 (diff) | |
download | u-boot-imx-953209bf5ef0889a1baa02aa0ed5324f53ff8fda.zip u-boot-imx-953209bf5ef0889a1baa02aa0ed5324f53ff8fda.tar.gz u-boot-imx-953209bf5ef0889a1baa02aa0ed5324f53ff8fda.tar.bz2 |
arm: add __aeabi_unwind_cpp_pr1() function to avoid linker complaints
With the ELDK 5.1 (beta) "armv7a" toolchain I'm get the following
build failure:
$ ./MAKEALL mx51evk
...
/opt/eldk-5.1/armv7a/sysroots/arm-linux-gnueabi/usr/lib/arm-linux-
gnueabi/4.6.1/libgcc.a(bpabi.o):(.ARM.exidx+0x0): undefined
reference to `__aeabi_unwind_cpp_pr1'
make: *** [u-boot] Error 1
This patch fixes the issue similar to commit
d442b6e7ad6a86e2fd0e6297291fe8872ff26fc6 but I don't know if it's
general enough or if it does harm when using other toolchains.
Signed-off-by: Wolfgang Grandegger <wg@denx.de>
-rw-r--r-- | arch/arm/lib/eabi_compat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c index e1b87be..2028dbd 100644 --- a/arch/arm/lib/eabi_compat.c +++ b/arch/arm/lib/eabi_compat.c @@ -23,3 +23,7 @@ int raise (int signum) void __aeabi_unwind_cpp_pr0(void) { }; + +void __aeabi_unwind_cpp_pr1(void) +{ +}; |