diff options
author | Callum Farmer <gmbr3@opensuse.org> | 2023-04-21 13:30:00 +0100 |
---|---|---|
committer | Callum Farmer <gmbr3@opensuse.org> | 2023-04-21 13:30:00 +0100 |
commit | fd3d9751611a86a1b2e465f6ca3ad68e1531a9f7 (patch) | |
tree | 0de73d0dae24e6abb32a2e6601b0fc5dded1a4fa | |
parent | ebd55c4a663ce07bcefb07c7a6d81dba9ea29c6f (diff) | |
download | gnu-efi-fd3d9751611a86a1b2e465f6ca3ad68e1531a9f7.tar.gz |
ia32 GNUC: Use __asm__ instead of asm
Causes an error when using strict ISO modes as
then asm isn't defined
Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
-rw-r--r-- | lib/ia32/math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ia32/math.c b/lib/ia32/math.c index fce7a8d..2ef7588 100644 --- a/lib/ia32/math.c +++ b/lib/ia32/math.c @@ -158,7 +158,7 @@ DivU64x32 ( Rem = 0; for (bit=0; bit < 64; bit++) { #if defined(__GNUC__) || defined(__MINGW32__) - asm ( + __asm__ ( "shll $1, %0\n\t" "rcll $1, 4%0\n\t" "rcll $1, %2\n\t" |