aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2020-12-23 08:11:27 -0700
committerSimon Glass2021-01-05 12:24:41 -0700
commit7dc82591d68e2ae922abb3e78e59f2d1a6d13c4e (patch)
treeeb85b093fc1582f2c6dd460de1a556687bda48f5
parent52d2e9c142c0079bba51011bb95301c986ff11bb (diff)
x86: Move call64 into its own section
When this code is not used (e.g. by TPL) we want it to be excluded from the image. Put it in its own section so that this happens. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/x86/cpu/i386/call64.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/cpu/i386/call64.S b/arch/x86/cpu/i386/call64.S
index 275063c4af8..0ffc1006bbf 100644
--- a/arch/x86/cpu/i386/call64.S
+++ b/arch/x86/cpu/i386/call64.S
@@ -11,6 +11,7 @@
#include <asm/processor-flags.h>
.code32
+.section .text_call64
.globl cpu_call64
cpu_call64:
/*