about summary refs log tree commit diff
path: root/sysdeps/sparc
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 /sysdeps/sparc
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.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/elf/start.S6
-rw-r--r--sysdeps/sparc/sparc64/elf/start.S6
2 files changed, 12 insertions, 0 deletions
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)