Apparently either gcc or ld, in their infinite wisdom, want to

put a bunch of crap before the code in .text.  Since the firmware
doesn't seem to honour the a.out entry point, we need to include
a little assmbler file which jumps to where we want to be in C.

Submitted by:	jake
This commit is contained in:
obrien 2002-03-28 02:41:52 +00:00
parent f4fef940b5
commit 892e01faba
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
/* $FreeBSD$ */
.text
.globl _start
_start:
call ofw_init
nop
sir

View File

@ -0,0 +1,8 @@
/* $FreeBSD$ */
.text
.globl _start
_start:
call ofw_init
nop
sir