Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09f88076 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix wrong mov instruction size.

* New clang 7.0 assembler rejects mov with wrong length.

Bug: 72412103
Test: build and boot in emulator
Change-Id: If1a1affaa4a149265f8cc2b8bf463e58e71cc47a
parent 98aad49d
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -50,12 +50,12 @@ AsmGetRegs:
  movl (%esp), %ecx
  movl %ecx, 32(%eax)

  movl %cs, 36(%eax)
  movl %ss, 40(%eax)
  movl %ds, 44(%eax)
  movl %es, 48(%eax)
  movl %fs, 52(%eax)
  movl %gs, 56(%eax)
  mov  %cs, 36(%eax)
  mov  %ss, 40(%eax)
  mov  %ds, 44(%eax)
  mov  %es, 48(%eax)
  mov  %fs, 52(%eax)
  mov  %gs, 56(%eax)
  ret

  .cfi_endproc