Use built-in _end symbol insteadof 'end' for consistency with other

architectures. Linker defines end is synonym for _end.
This commit is contained in:
Alexander Kabaev 2007-05-19 04:36:34 +00:00
parent 94942af266
commit 5c0e10ecce

View file

@ -35,7 +35,7 @@
__FBSDID("$FreeBSD$");
#include "SYS.h"
.globl _C_LABEL(end)
.globl _C_LABEL(_end)
.globl CURBRK
#ifdef WEAK_ALIAS
@ -47,7 +47,7 @@ WEAK_ALIAS(brk, _brk)
.globl _C_LABEL(minbrk)
.type _C_LABEL(minbrk),#object
_C_LABEL(minbrk):
.word _C_LABEL(end)
.word _C_LABEL(_end)
/*
* Change the data segment size