From 546f29dbf1613d40b6b816a87aa3c144b1cd0b90 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 22 Jan 2016 12:43:43 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/13134 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Tested-by: Raptor Engineering Automated Test Stand --- src/arch/x86/c_start.S | 1 + 1 file changed, 1 insertion(+) (limited to 'src/arch') 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 -- cgit v1.2.3