diff options
Diffstat (limited to 'subx/028translate.cc')
-rw-r--r-- | subx/028translate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/028translate.cc b/subx/028translate.cc index 7330fa74..38f8a223 100644 --- a/subx/028translate.cc +++ b/subx/028translate.cc @@ -137,7 +137,7 @@ void write_elf_header(ostream& out, const program& p) { emit(p_start); // p_filesz uint32_t size = num_words(p.segments.at(i)); - assert(p_offset + size < SEGMENT_SIZE); + assert(p_offset + size < INITIAL_SEGMENT_SIZE); emit(size); // p_memsz emit(size); |