diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-10 07:18:36 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-10 07:18:36 -0700 |
commit | 1f4d0aaf08c117a0d6b56afd776066c336522f8b (patch) | |
tree | 61d1fa2e8d72b9837b50e71653ab7956232ac12a /subx/021translate.cc | |
parent | 5bb70d5e7fd487fbde5b1d3ca40ee68343fbd898 (diff) | |
download | mu-1f4d0aaf08c117a0d6b56afd776066c336522f8b.tar.gz |
4334
Fix CI.
Diffstat (limited to 'subx/021translate.cc')
-rw-r--r-- | subx/021translate.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/subx/021translate.cc b/subx/021translate.cc index 9ab33026..6d0fb899 100644 --- a/subx/021translate.cc +++ b/subx/021translate.cc @@ -12,9 +12,6 @@ typedef void (*transform_fn)(const string& input, string& output); :(before "End Globals") vector<transform_fn> Transform; -:(before "End Includes") -const int CODE_START = 0x08048000; -const int CODE_SIZE = 0x1000; :(before "End Main") if (is_equal(argv[1], "translate")) { assert(argc > 3); @@ -109,7 +106,7 @@ void dump_elf_header(ostream& out) { emit(e_entry); // p_filesz uint32_t size = End_of_program - /*we're not using location 0*/1; - assert(size < CODE_SIZE); + assert(size < SEGMENT_SIZE); emit(size); // p_memsz emit(size); |