about summary refs log tree commit diff
path: root/sysdeps/unix/sparc/brk.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sparc/brk.S')
-rw-r--r--sysdeps/unix/sparc/brk.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sparc/brk.S b/sysdeps/unix/sparc/brk.S
index 29255fc68e..2a16463b0f 100644
--- a/sysdeps/unix/sparc/brk.S
+++ b/sysdeps/unix/sparc/brk.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997 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
@@ -29,7 +29,11 @@
 .data
 .global C_SYMBOL_NAME(__curbrk)
 C_LABEL(__curbrk)
+#ifdef	HAVE_GNU_LD
 	.long C_SYMBOL_NAME(_end)
+#else
+	.long C_SYMBOL_NAME(end)
+#endif
 
 .text
 ENTRY (__brk)