]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/mcore/ChangeLog
sim: mcore: drop sbrk support
authorMike Frysinger <vapier@gentoo.org>
Sun, 29 Mar 2015 07:29:29 +0000 (03:29 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 29 Mar 2015 08:14:27 +0000 (04:14 -0400)
commitaac18a6996e57cd1d1c32d3fd418c4950c5001bf
treefeed2219b6704021bb4598c5d1d6e1a5158e6a4e
parent4f5cce88bf504a2f0010f7ad384003984da6ce00
sim: mcore: drop sbrk support

The sbrk syscall assumes the sbrk region starts after the bss and the
current implementation requires a bss section to exist.  Since there
is no requirement for programs to have a bss in general, we want to
drop this check.  However, there is still the sbrk syscall that wants
to know about the region.

Since libgloss doesn't actually use the sbrk syscall (it implements
sbrk in its own way), and the sim really shouldn't enforce a specific
memory layout on programs, lets simply delete sbrk support.  Now it
always returns an error.
sim/mcore/ChangeLog
sim/mcore/interp.c