Kaynağa Gözat

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>
Al Viro 16 yıl önce
ebeveyn
işleme
5bac287ea5
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 1 1
      arch/sparc/kernel/head.S
  2. 1 0
      arch/sparc/kernel/vmlinux.lds.S

+ 1 - 1
arch/sparc/kernel/head.S

@@ -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 */

+ 1 - 0
arch/sparc/kernel/vmlinux.lds.S

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