summaryrefslogtreecommitdiff
path: root/src/arch/x86/lib
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2012-11-25 17:31:25 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2012-11-27 22:01:02 +0100
commit6999217ab6e4c8ed4c7f19a5578c36b01ad883ed (patch)
tree9aaf971665adeeeaa601f14e5249ed0941b8cb2c /src/arch/x86/lib
parent23f38cd05c05ed1876febfa59b652cd7171027ca (diff)
build system: Eliminate special case for c_start
c_start.o has a special case in the build system, which we can eliminate, somewhat simplifying the build. To ensure that the entry point is at the beginning, introduce a new section .textfirst that is placed appropriately. In principle the ENTRY() definition in the linker script should be enough, but better be safe. Change-Id: I9737f7f5731e12ceb2119eb432b0e09832bc53fa Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/1909 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch/x86/lib')
-rw-r--r--src/arch/x86/lib/c_start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/lib/c_start.S b/src/arch/x86/lib/c_start.S
index a84724d7b9..9a8b4ac3c2 100644
--- a/src/arch/x86/lib/c_start.S
+++ b/src/arch/x86/lib/c_start.S
@@ -1,6 +1,6 @@
#include <cpu/x86/post_code.h>
- .section ".text"
+ .section ".textfirst"
.code32
.globl _start
_start: