aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-29 03:29:29 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-29 04:14:27 -0400
commitaac18a6996e57cd1d1c32d3fd418c4950c5001bf (patch)
treefeed2219b6704021bb4598c5d1d6e1a5158e6a4e /sim/mcore/ChangeLog
parentsim: avr: fix _start testsuite symbol (diff)
downloadbinutils-gdb-aac18a6996e57cd1d1c32d3fd418c4950c5001bf.tar.gz
binutils-gdb-aac18a6996e57cd1d1c32d3fd418c4950c5001bf.tar.bz2
binutils-gdb-aac18a6996e57cd1d1c32d3fd418c4950c5001bf.zip
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.
Diffstat (limited to 'sim/mcore/ChangeLog')
-rw-r--r--sim/mcore/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index c309a05f813..f6089c8049d 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-29 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (heap_ptr, int_sbrk): Delete.
+ (handle_trap1): Change case 69 (sbrk) to always return -1.
+ (sim_load): Delete bss checks and heap_ptr setup.
+
2015-03-16 Mike Frysinger <vapier@gentoo.org>
* interp.c: Strip trailing whitespace.