diff options
| author | Mike Pall <mike> | 2022-07-19 12:53:34 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2022-07-19 12:53:34 +0200 |
| commit | 5677985dc1f19cf0a67112f4365c7fb79237fa16 (patch) | |
| tree | d6f07a6edc8471634e4c035881782b9736e58392 | |
| parent | 50936d784474747b4569d988767f1b5bab8bb6d0 (diff) | |
| download | luajit-5677985dc1f19cf0a67112f4365c7fb79237fa16.tar.gz luajit-5677985dc1f19cf0a67112f4365c7fb79237fa16.tar.bz2 luajit-5677985dc1f19cf0a67112f4365c7fb79237fa16.zip | |
ARM64: Allow building with unwinding disabled.
| -rw-r--r-- | src/vm_arm64.dasc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm_arm64.dasc b/src/vm_arm64.dasc index f5f1b5f1..3448d0d2 100644 --- a/src/vm_arm64.dasc +++ b/src/vm_arm64.dasc | |||
| @@ -3988,6 +3988,7 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
| 3988 | "\t.align 3\n" | 3988 | "\t.align 3\n" |
| 3989 | ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); | 3989 | ".LEFDE1:\n\n", (int)ctx->codesz - fcofs); |
| 3990 | #endif | 3990 | #endif |
| 3991 | #if !LJ_NO_UNWIND | ||
| 3991 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",%%progbits\n"); | 3992 | fprintf(ctx->fp, "\t.section .eh_frame,\"a\",%%progbits\n"); |
| 3992 | fprintf(ctx->fp, | 3993 | fprintf(ctx->fp, |
| 3993 | ".Lframe1:\n" | 3994 | ".Lframe1:\n" |
| @@ -4056,6 +4057,7 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
| 4056 | "\t.align 3\n" | 4057 | "\t.align 3\n" |
| 4057 | ".LEFDE3:\n\n", (int)ctx->codesz - fcofs); | 4058 | ".LEFDE3:\n\n", (int)ctx->codesz - fcofs); |
| 4058 | #endif | 4059 | #endif |
| 4060 | #endif | ||
| 4059 | break; | 4061 | break; |
| 4060 | #if !LJ_NO_UNWIND | 4062 | #if !LJ_NO_UNWIND |
| 4061 | case BUILD_machasm: { | 4063 | case BUILD_machasm: { |
