summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-01-22 12:43:43 +0100
committerMartin Roth <martinroth@google.com>2016-01-26 04:40:44 +0100
commit546f29dbf1613d40b6b816a87aa3c144b1cd0b90 (patch)
tree48415112855fbc44f2b06026380c7324a2c3d087 /src/arch/x86
parentca41a6ab0a2306665669ba2197ab400605031e96 (diff)
arch/x86: move SetCodeSelector to .text segment
It ended up in .data, and that doesn't seem to be actually necessary. Change-Id: Ib17d6f9870379d1b7ad7bbd3f16a0839b28f72c8 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/13134 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/c_start.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/c_start.S b/src/arch/x86/c_start.S
index 65ab0be042..6bda64fffa 100644
--- a/src/arch/x86/c_start.S
+++ b/src/arch/x86/c_start.S
@@ -398,6 +398,7 @@ _idt:
.fill 20, 8, 0 # idt is uninitialized
_idt_end:
+ .section ".text._start", "ax", @progbits
#ifdef __x86_64__
SetCodeSelector:
# save rsp because iret will align it to a 16 byte boundary