From 195a0d7d7d8a7d199a6d97cbd71b76c9a1eeeead Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 13 Jul 2019 14:47:03 -0700 Subject: fixed third bug, hit fourth --- subx/apps/survey.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subx') 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 -- cgit 1.4.1-2-gfad0