Browse Source

parisc: move head.S to head.text section

And explicitly list it in vmlinux.lds...

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Kyle McMartin 17 years ago
parent
commit
1138a72cd9
2 changed files with 3 additions and 1 deletions
  1. 2 1
      arch/parisc/kernel/head.S
  2. 1 0
      arch/parisc/kernel/vmlinux.lds.S

+ 2 - 1
arch/parisc/kernel/head.S

@@ -32,7 +32,8 @@ ENTRY(boot_args)
 	.word 0 /* arg3 */
 END(boot_args)
 
-	.section .text.head
+	__HEAD
+
 	.align	4
 	.import init_thread_union,data
 	.import fault_vector_20,code    /* IVA parisc 2.0 32 bit */

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

@@ -50,6 +50,7 @@ SECTIONS
 
 	_text = .;		/* Text and read-only data */
 	.text ALIGN(16) : {
+		HEAD_TEXT
 		TEXT_TEXT
 		SCHED_TEXT
 		LOCK_TEXT