diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-27 23:44:03 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-27 23:44:03 -0800 |
commit | efc3c64b0da682d497a793799f8958b9832c5650 (patch) | |
tree | 68f096fe079c458b336f2f1f19d7d5a1e5e5274c /subx | |
parent | f842ab98de58519184c7f1057991ad26c7bac69a (diff) | |
download | mu-efc3c64b0da682d497a793799f8958b9832c5650.tar.gz |
4878
Diffstat (limited to 'subx')
-rw-r--r-- | subx/012elf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/012elf.cc b/subx/012elf.cc index 5f57f163..4d1ae19d 100644 --- a/subx/012elf.cc +++ b/subx/012elf.cc @@ -135,7 +135,7 @@ void load_segment_from_program_header(uint8_t* elf_contents, int segment_index, const int CODE_SEGMENT = 0x09000000; const int DATA_SEGMENT = 0x0a000000; const int STACK_SEGMENT = 0x0b000000; -const int AFTER_STACK = 0x0b000ffc; // forget final word because of the off-by-one with SEGMENT_ALIGNMENT; +const int AFTER_STACK = 0x0c000000; const int ARGV_DATA_SEGMENT = 0x0c000000; :(code) void dump_stack() { |