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:
parent
5d5aa91800
commit
20d9715213
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93311
8
sys/boot/sparc64/boot1/_start.S
Normal file
8
sys/boot/sparc64/boot1/_start.S
Normal file
@ -0,0 +1,8 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
.text
|
||||
.globl _start
|
||||
_start:
|
||||
call ofw_init
|
||||
nop
|
||||
sir
|
8
sys/boot/sparc64/boot1/_start.s
Normal file
8
sys/boot/sparc64/boot1/_start.s
Normal file
@ -0,0 +1,8 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
.text
|
||||
.globl _start
|
||||
_start:
|
||||
call ofw_init
|
||||
nop
|
||||
sir
|
Loading…
Reference in New Issue
Block a user