Start linking at the kernel link address....

# this gets me a loading, but not working, kernel on octeon's simulator.
This commit is contained in:
Warner Losh 2009-11-23 07:49:22 +00:00
parent cefc105a54
commit e04942b0d7

View File

@ -5,11 +5,9 @@
OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
OUTPUT_ARCH(mips)
ENTRY(_start)
__DYNAMIC = 0;
PROVIDE (_DYNAMIC = 0);
SECTIONS {
. = KERNLOADADDR + SIZEOF_HEADERS;
.text . : {
*(.text)
*(.dynamic)