From cb1f8161c1524fe06dd331cda3e64a0326abd51c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 21 May 2008 07:44:32 +0000 Subject: * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak). * iq2000/crt0.S (__dso_handle): Define (weak). * frv/crt0.S (__dso_handle): Define (weak). * mn10300/crt0.S (___dso_handle): Define (weak). --- newlib/libc/sys/sysnecv850/crt0.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'newlib/libc/sys') diff --git a/newlib/libc/sys/sysnecv850/crt0.S b/newlib/libc/sys/sysnecv850/crt0.S index e006871b3..b319d30b7 100644 --- a/newlib/libc/sys/sysnecv850/crt0.S +++ b/newlib/libc/sys/sysnecv850/crt0.S @@ -60,8 +60,13 @@ _start: jarl _main, r31 mov r10, r6 jarl _exit, r31 - # endif .section .stack _stack: .long 1 + + .section .data + .global ___dso_handle + .weak ___dso_handle +___dso_handle: + .long 0 -- cgit v1.2.3