From efc3c64b0da682d497a793799f8958b9832c5650 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 27 Dec 2018 23:44:03 -0800 Subject: 4878 --- subx/012elf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subx') 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() { -- cgit 1.4.1-2-gfad0