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>
This commit is contained in:
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 .align 4
/* The Sparc trap table, bootloader gives us control at _start. */ /* The Sparc trap table, bootloader gives us control at _start. */
.text .section .text.head,"ax"
.globl start, _stext, _start, __stext .globl start, _stext, _start, __stext
.globl trapbase .globl trapbase
_start: /* danger danger */ _start: /* danger danger */

View File

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