Skip to content

Commit

Permalink
fix the section noise in sparc head.S
Browse files Browse the repository at this point in the history
usual .text.head trick

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Nov 30, 2008
1 parent 1c4567a commit 5bac287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions arch/sparc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ SECTIONS
.text 0xf0004000 :
{
_text = .;
*(.text.head)
TEXT_TEXT
SCHED_TEXT
LOCK_TEXT
Expand Down

0 comments on commit 5bac287

Please sign in to comment.