x86: Move call64 into its own section
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 15:11:27 +0000 (08:11 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:41 +0000 (12:24 -0700)
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>
arch/x86/cpu/i386/call64.S

index 275063c..0ffc100 100644 (file)
@@ -11,6 +11,7 @@
 #include <asm/processor-flags.h>
 
 .code32
+.section .text_call64
 .globl cpu_call64
 cpu_call64:
        /*