Skip to content

Commit

Permalink
fix function name in assembly .type directive (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
mNTTAliev authored Jul 21, 2024
1 parent 9a6647f commit e3fa21a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/machinarium/sources/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ asm(
#if __amd64
"\t.text\n"
"\t.globl mm_context_swap\n"
"\t.type x,@function\n"
"\t.type mm_context_swap, @function\n"
"mm_context_swap:\n"
"\tpushq %rbp\n"
"\tpushq %rbx\n"
Expand All @@ -100,7 +100,7 @@ asm(
#elif __i386
"\t.text\n"
"\t.globl mm_context_swap\n"
"\t.type x,@function\n"
"\t.type mm_context_swap, @function\n"
"mm_context_swap:\n"
"\tpushl %ebp\n"
"\tpushl %ebx\n"
Expand Down

0 comments on commit e3fa21a

Please sign in to comment.