Fix sbrk.S to use _end symbol the same way brk.s was fixed some time
ago. sbrk.S should have gotten the same change then but was forgotten. Approved by: re (bmah) PR: kern/114049
This commit is contained in:
parent
bc3f9bd033
commit
022751eedf
@ -35,7 +35,7 @@
|
||||
__FBSDID("$FreeBSD$");
|
||||
#include "SYS.h"
|
||||
|
||||
.globl _C_LABEL(end)
|
||||
.globl _C_LABEL(_end)
|
||||
|
||||
#ifdef WEAK_ALIAS
|
||||
WEAK_ALIAS(sbrk, _sbrk)
|
||||
@ -46,7 +46,7 @@ WEAK_ALIAS(sbrk, _sbrk)
|
||||
.globl CURBRK
|
||||
.type CURBRK,#object
|
||||
CURBRK:
|
||||
.word _C_LABEL(end)
|
||||
.word _C_LABEL(_end)
|
||||
|
||||
/*
|
||||
* Change the data segment size
|
||||
|
Loading…
Reference in New Issue
Block a user