1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00

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:
David E. O'Brien 2002-03-28 02:41:52 +00:00
parent 5d5aa91800
commit 20d9715213
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93311
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