提交 5bac287e 编写于 作者: A Al Viro 提交者: Linus Torvalds

fix the section noise in sparc head.S

usual .text.head trick
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 1c4567ae
...@@ -72,7 +72,7 @@ sun4e_notsup: ...@@ -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 */
......
...@@ -13,6 +13,7 @@ SECTIONS ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册