Commit 9ecb1563 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Aurelio Colosimo

bare-linux.lds: move entry point

With new compilers (e.g., Debian 6) the resulting binary
was not starting because there's an extra section before .text
parent 987288dc
...@@ -5,8 +5,8 @@ ENTRY(_pproto_start) ...@@ -5,8 +5,8 @@ ENTRY(_pproto_start)
SECTIONS SECTIONS
{ {
. = 0x10000000; /* A random address, non-standard by choice*/ . = 0x10000000; /* A random address, non-standard by choice*/
_pproto_start = .;
.text : { .text : {
_pproto_start = .;
*(.boot) *(.boot)
*(.text) *(.text)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment