summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/e1')
-rw-r--r--libc/sysdeps/linux/e1/crt0.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/e1/crt0.S b/libc/sysdeps/linux/e1/crt0.S
index 3e63f5939..9d5e98d30 100644
--- a/libc/sysdeps/linux/e1/crt0.S
+++ b/libc/sysdeps/linux/e1/crt0.S
@@ -6,3 +6,12 @@
.global __start
__start:
call L1, 0, __uClibc_start
+
+/* Define a symbol for the first piece of initialized data. */
+ .data
+ .globl __data_start
+__data_start:
+ .long 0
+ .weak data_start
+ data_start = __data_start
+