Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgloss/ChangeLog6
-rw-r--r--libgloss/frv/crt0.S6
-rw-r--r--libgloss/iq2000/crt0.S6
-rw-r--r--libgloss/mn10300/crt0.S6
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/sys/sysnecv850/crt0.S7
6 files changed, 34 insertions, 1 deletions
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 <nickc@redhat.com>
+
+ * 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 <ken.werner@de.ibm.com>
* 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
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index d331d3479..7cdfd0356 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-20 Nick Clifton <nickc@redhat.com>
+
+ * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
+
2008-05-20 DJ Delorie <dj@redhat.com>
* libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
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