about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xapps/surveybin54048 -> 54048 bytes
-rw-r--r--apps/survey.subx2
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