Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'machine/x86_64/cpudefs-mdep.h')
-rw-r--r--machine/x86_64/cpudefs-mdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/machine/x86_64/cpudefs-mdep.h b/machine/x86_64/cpudefs-mdep.h
index da2a7f03..724f6e7e 100644
--- a/machine/x86_64/cpudefs-mdep.h
+++ b/machine/x86_64/cpudefs-mdep.h
@@ -227,7 +227,11 @@ int crawl_stack_frame(Context * ctx, StackFrame * frame, StackFrame * down) {
if (frame->is_top_frame) {
/* Top frame */
ContextAddress addr = trace_jump(ctx, reg_ip);
+#if ENABLE_Symbols
ContextAddress plt = is_plt_section(ctx, addr);
+#else
+ ContextAddress plt = 0;
+#endif
/*
* we don't have a stack frame in a few restricted but useful cases:

Back to the top