Skip to contentSkip to conversation

ARM: add __aeabi_unwind_cpp_pr0() function to avoid linker complaints

PATCH New Wolfgang Denk 2 participants 3 messages May 10, 2010 – May 15, 2010 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: add __aeabi_unwind_cpp_pr0() function to avoid linker complaints

---
 arch/arm/lib/eabi_compat.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/lib/eabi_compat.c +5 -0
index 86eacf1..eb3e26d 100644
@@ -16,3 +16,8 @@ int raise (int signum)
 	printf("raise: Signal # %d caught\n", signum);
 	return 0;
 }
+
+/* Dummy function to avoid linker complaints */
+void __aeabi_unwind_cpp_pr0(void)
+{
+};
Signature · 1 line
1.6.6.1
#1 lore raw

PATCH 1/1 ARM: add __aeabi_unwind_cpp_pr0() function to avoid linker complaints

Hello Wolfgang,

Quoted 10 lines · Wolfgang Denk
---
 arch/arm/lib/eabi_compat.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/lib/eabi_compat.c +0 -0
index 86eacf1..eb3e26d 100644

arch/arm/lib/eabi_compat.c int raise (int signum) · line 23

Quoted 8 lines
arch/arm/lib/eabi_compat.c +5 -0
@@ -16,3 +16,8 @@ int raise (int signum)
 	printf("raise: Signal # %d caught\n", signum);
 	return 0;
 }
+
+/* Dummy function to avoid linker complaints */
+void __aeabi_unwind_cpp_pr0(void)
+{
+};

Thanks for the patch.
Compiled for and tested on Devkit8000

author Applied
#2 lore raw

PATCH 1/1 ARM: add __aeabi_unwind_cpp_pr0() function to avoid linker complaints

In reply to Wolfgang Denk
Quoted 4 lines · In message <[email protected]> Wolfgang Denk wrote:
---
 arch/arm/lib/eabi_compat.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Forty two.