about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/sparc/sparc32/elf/start.S6
-rw-r--r--sysdeps/sparc/sparc64/elf/start.S6
3 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 44d6e9fb67..6624c7bffa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-17  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
+	* sysdeps/sparc/sparc64/elf/start.S: Likewise.
+
 2005-04-15  Roland McGrath  <roland@redhat.com>
 
 	* timezone/Makefile (zic-deps): New variable.
diff --git a/sysdeps/sparc/sparc32/elf/start.S b/sysdeps/sparc/sparc32/elf/start.S
index 2787fd27f8..4c7fb5bd23 100644
--- a/sysdeps/sparc/sparc32/elf/start.S
+++ b/sysdeps/sparc/sparc32/elf/start.S
@@ -92,3 +92,9 @@ _start:
 	unimp
 
 	.size _start, .-_start
+
+/* Define a symbol for the first piece of initialized data.  */
+	.data
+	.globl	__data_start
+__data_start:
+weak_alias (__data_start, data_start)
diff --git a/sysdeps/sparc/sparc64/elf/start.S b/sysdeps/sparc/sparc64/elf/start.S
index b0ef9d355d..c008c6cea0 100644
--- a/sysdeps/sparc/sparc64/elf/start.S
+++ b/sysdeps/sparc/sparc64/elf/start.S
@@ -93,3 +93,9 @@ _start:
 	illtrap	0
 
 	.size _start, .-_start
+
+/* Define a symbol for the first piece of initialized data.  */
+	.data
+	.globl	__data_start
+__data_start:
+weak_alias (__data_start, data_start)