diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-04-10 15:26:50 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-05-18 00:44:46 -0700 |
commit | 454691bbc1593da466b364fa39e24dd963d44792 (patch) | |
tree | 5438ee4d9fbe481ce82bcfb42d0643633b7c33e7 /apps | |
parent | fb18cadaa765feb3f7d8b7ac7909dc89b4856ca5 (diff) | |
download | mu-454691bbc1593da466b364fa39e24dd963d44792.tar.gz |
fix a discrepancy in the generated apps/ex1 binary
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/survey | bin | 54048 -> 54048 bytes | |||
-rw-r--r-- | apps/survey.subx | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/apps/survey b/apps/survey index 526b0630..c55f6ec0 100755 --- a/apps/survey +++ b/apps/survey Binary files differdiff --git a/apps/survey.subx b/apps/survey.subx index 94bd10ff..c227a0fc 100644 --- a/apps/survey.subx +++ b/apps/survey.subx @@ -3202,7 +3202,7 @@ emit-elf-header: # out: (addr buffered-file), segments: (addr stream {(handle a # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0x10/imm32 # add to esp # . eax = label-info->address - 8b/copy 1/mod/*+disp8 0/rm32/eax . . . 0/r32/eax 8/disp8 . # copy *(eax+8) to eax + 8b/copy 1/mod/*+disp8 0/rm32/eax . . . 0/r32/eax 0xc/disp8 . # copy *(eax+12) to eax # . *$Elf_e_entry = eax 89/copy 0/mod/indirect 5/rm32/.disp32 . . 0/r32/eax $Elf_e_entry/disp32 # copy eax to *$Elf_e_entry # *$Elf_e_phnum = segments->write / 20 |