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). --- libgloss/ChangeLog | 6 ++++++ libgloss/frv/crt0.S | 6 ++++++ libgloss/iq2000/crt0.S | 6 ++++++ libgloss/mn10300/crt0.S | 6 ++++++ 4 files changed, 24 insertions(+) (limited to 'libgloss') diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 51464386a..cd5b1e323 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,9 @@ +2008-05-20 Nick Clifton + + * iq2000/crt0.S (__dso_handle): Define (weak). + * frv/crt0.S (__dso_handle): Define (weak). + * mn10300/crt0.S (___dso_handle): Define (weak). + 2008-05-05 Ken Werner * spu/readlink.c: Align readlink implementation to POSIX. diff --git a/libgloss/frv/crt0.S b/libgloss/frv/crt0.S index af14b9181..86d5a5003 100644 --- a/libgloss/frv/crt0.S +++ b/libgloss/frv/crt0.S @@ -268,3 +268,9 @@ EXT(__frv_fix_usrptrs): .Lret3: ret .Lend3: .size EXT(__frv_fix_usrptrs),.Lend2-EXT(__frv_fix_usrptrs) + + .section .data + .global __dso_handle + .weak __dso_handle +__dso_handle: + .long 0 diff --git a/libgloss/iq2000/crt0.S b/libgloss/iq2000/crt0.S index 12d2a5b0a..eff6b2783 100644 --- a/libgloss/iq2000/crt0.S +++ b/libgloss/iq2000/crt0.S @@ -54,3 +54,9 @@ _start: xor %5,%5,%5 jal exit # all done, no need to return or or %4,%0,%2 # exit with main's return value + + .section .data + .global __dso_handle + .weak __dso_handle +__dso_handle: + .long 0 diff --git a/libgloss/mn10300/crt0.S b/libgloss/mn10300/crt0.S index f50e4259d..13dd77795 100644 --- a/libgloss/mn10300/crt0.S +++ b/libgloss/mn10300/crt0.S @@ -56,3 +56,9 @@ _start: .section .stack _stack: .long 1 + + .section .data + .global ___dso_handle + .weak ___dso_handle +___dso_handle: + .long 0 -- cgit v1.2.3