summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/scripts
diff options
context:
space:
mode:
authorMichael Brown2011-02-23 21:20:55 +0100
committerMichael Brown2011-02-23 21:23:03 +0100
commit295c2fd671ebd8c149e5e9fc4fe745ab8ea87b9e (patch)
treea8bf11ac9275e26483389e60c6828bbf83c9b6df /src/arch/i386/scripts
parent[iscsi] Disambiguate the expected target errors in the login response (diff)
downloadipxe-295c2fd671ebd8c149e5e9fc4fe745ab8ea87b9e.tar.gz
ipxe-295c2fd671ebd8c149e5e9fc4fe745ab8ea87b9e.tar.xz
ipxe-295c2fd671ebd8c149e5e9fc4fe745ab8ea87b9e.zip
[build] Ensure an entry point symbol exists in all builds
Commit 623469d ("[build] Eliminate unused sections at link-time") introduced a regression in several build formats, in which the prefix would end up being garbage-collected out of existence. Fix by ensuring that an entry symbol exists in each possible prefix, and is required by the linker script. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/scripts')
-rw-r--r--src/arch/i386/scripts/i386.lds2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds
index c5bc631f..dd07194c 100644
--- a/src/arch/i386/scripts/i386.lds
+++ b/src/arch/i386/scripts/i386.lds
@@ -5,6 +5,8 @@
*
*/
+ENTRY ( start )
+
SECTIONS {
/* Each section starts at a virtual address of zero.