1
0
Fork 0

fix the section noise in sparc head.S

usual .text.head trick

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
hifive-unleashed-5.1
Al Viro 2008-11-22 17:36:04 +00:00 committed by Linus Torvalds
parent 1c4567aeed
commit 5bac287ea5
2 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,7 @@ sun4e_notsup:
.align 4
/* The Sparc trap table, bootloader gives us control at _start. */
.text
.section .text.head,"ax"
.globl start, _stext, _start, __stext
.globl trapbase
_start: /* danger danger */

View File

@ -13,6 +13,7 @@ SECTIONS
.text 0xf0004000 :
{
_text = .;
*(.text.head)
TEXT_TEXT
SCHED_TEXT
LOCK_TEXT