summaryrefslogtreecommitdiff
path: root/sysdeps/unix/i386/brk.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/i386/brk.S')
-rw-r--r--sysdeps/unix/i386/brk.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/i386/brk.S b/sysdeps/unix/i386/brk.S
index d8dd96b4ce..a7604d7e7a 100644
--- a/sysdeps/unix/i386/brk.S
+++ b/sysdeps/unix/i386/brk.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,95,97,2002,2005 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,95,97,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,7 +25,11 @@
.data
.globl C_SYMBOL_NAME(__curbrk)
C_LABEL(__curbrk)
+#ifdef HAVE_GNU_LD
.long C_SYMBOL_NAME(_end)
+#else
+ .long C_SYMBOL_NAME(end)
+#endif
.text
SYSCALL__ (brk, 1)