repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
sys
/
sysnec810
/
sbrk.c
blob
b1cf4a7818f0d97c009ec0fd3e8f010fa32184eb
1
extern
int
_end
;
2
3
static char
*
end_of_data
= (
char
*) &
_end
;
4
5
char
*
6
_sbrk
(
int
delta
) {
7
char
*
ptr
=
end_of_data
;
8
9
end_of_data
+=
delta
;
10
return
ptr
;
11
}
12