about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-04-17 22:07:32 +0000
committerRoland McGrath <roland@gnu.org>2005-04-17 22:07:32 +0000
commit87f37b48fac426c23e2766c99e5868e3905e0c42 (patch)
treee01c6f2d5cc21e605eadea38d1d7cef6ab928a68
parentf053c4f7d246c20828594df0d47f9d514b0a2380 (diff)
downloadglibc-87f37b48fac426c23e2766c99e5868e3905e0c42.tar.gz
glibc-87f37b48fac426c23e2766c99e5868e3905e0c42.tar.xz
glibc-87f37b48fac426c23e2766c99e5868e3905e0c42.zip
* sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
	* sysdeps/sparc/sparc64/elf/start.S: Likewise.
-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)