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 48c11786..2104d57b 100644 --- a/subx/028translate.cc +++ b/subx/028translate.cc @@ -139,7 +139,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 < INITIAL_SEGMENT_SIZE); + assert(p_offset + size < SEGMENT_ALIGNMENT); emit(size); // p_memsz emit(size); |