Normal ELF64 headers without hacks...

This commit is contained in:
xolatile
2024-07-16 19:42:26 -04:00
parent 5ac9e9a3f9
commit 18a35c1c6d
7 changed files with 138 additions and 38 deletions

View File

@ -347,7 +347,8 @@ static void assemble_clean_up (void) {
next text_sector_size = 0;
byte * text_sector_byte = NULL;
int was_instruction_array_empty = 0;
int was_instruction_array_empty = 0;
unsigned int text_entry_point = 0;
void assemble (next count,
next * array) {
@ -433,6 +434,8 @@ void assemble (next count,
}
}
text_entry_point = empty_store [0];
for (index = 0; index < empty_holes; ++index) {
next set = 0, get = empty_array [index];
memcpy (& set, & text_sector_byte [get], sizeof (set));