diff options
author | Mike Pall <mike> | 2013-05-25 10:18:12 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2013-05-25 10:18:12 +0200 |
commit | 5a261dd92c72d8f9d2aab0714ce9e051f0d70219 (patch) | |
tree | ee36a876cb6ef4229a426efa9083811037371507 /src/vm_x86.dasc | |
parent | d686217926b75e6f93044b190943ad098d103bfe (diff) | |
download | luajit-5a261dd92c72d8f9d2aab0714ce9e051f0d70219.tar.gz luajit-5a261dd92c72d8f9d2aab0714ce9e051f0d70219.tar.bz2 luajit-5a261dd92c72d8f9d2aab0714ce9e051f0d70219.zip |
Fix compatibility issues with Illumos.
Thanks to Theo Schlossnagle.
Diffstat (limited to 'src/vm_x86.dasc')
-rw-r--r-- | src/vm_x86.dasc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index b4674e2b..f25dfd30 100644 --- a/src/vm_x86.dasc +++ b/src/vm_x86.dasc | |||
@@ -6152,7 +6152,11 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
6152 | ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); | 6152 | ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); |
6153 | #endif | 6153 | #endif |
6154 | #if (defined(__sun__) && defined(__svr4__)) | 6154 | #if (defined(__sun__) && defined(__svr4__)) |
6155 | #if LJ_64 | ||
6156 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@unwind\n"); | ||
6157 | #else | ||
6155 | fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n"); | 6158 | fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n"); |
6159 | #endif | ||
6156 | #else | 6160 | #else |
6157 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); | 6161 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",@progbits\n"); |
6158 | #endif | 6162 | #endif |