summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem-limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index c63e0b48399..3bb40dff569 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -30,7 +30,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define BSD4_2 /* Tell code below to use getrlimit. */
/* Old Linux startup code won't define __data_start. */
-extern int __data_start; weak_symbol (__data_start)
+extern int etext, __data_start; weak_symbol (__data_start)
#define start_of_data() (&__data_start ?: &etext)
#else /* not _LIBC */