about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
Diffstat (limited to 'subx/apps')
-rw-r--r--subx/apps/survey.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/apps/survey.subx b/subx/apps/survey.subx
index ce6ad8c7..87346890 100644
--- a/subx/apps/survey.subx
+++ b/subx/apps/survey.subx
@@ -2502,7 +2502,7 @@ emit-elf-program-header-entry:  # curr-segment : {string, segment-info}
     50/push-EAX
     56/push-ESI
     # ESI = curr-segment
-    8b/copy                         1/mod/*+disp8   5/rm32/EBP    .           .             .           0/r32/EAX   8/disp8         .                 # copy *(EBP+8) to EAX
+    8b/copy                         1/mod/*+disp8   5/rm32/EBP    .           .             .           6/r32/ESI   8/disp8         .                 # copy *(EBP+8) to ESI
     # *Elf_p_offset = curr-segment->file-offset
     # . EAX = curr-segment->file-offset
     8b/copy                         1/mod/*+disp8   6/rm32/ESI    .           .             .           0/r32/EAX   8/disp8         .                 # copy *(ESI+8) to EAX