Skip to content

Commit

Permalink
Fix x32 build on x86-64
Browse files Browse the repository at this point in the history
  • Loading branch information
abatyiev committed Apr 29, 2024
1 parent f5d062c commit 38e38ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/asm/ontop_i386_sysv_elf_gas.S
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
* *
****************************************************************************************/

#ifdef __x86_64__
#include "ontop_x86_64_sysv_elf_gas.S"
#else

.file "ontop_i386_sysv_elf_gas.S"
.text
.globl ontop_fcontext
Expand Down Expand Up @@ -98,3 +102,5 @@ ontop_fcontext:

/* Mark that we don't need executable stack. */
.section .note.GNU-stack,"",%progbits

#endif

0 comments on commit 38e38ca

Please sign in to comment.