Просмотр исходного кода

Blackfin arch: Need to specify ax with the .init.text section,

Need to specify "ax" with the .init.text section, otherwise the linker will
make unique .init.text.1 .. .init.text.3 sections to cope with the flags
Bernd Schmidt 18 лет назад
Родитель
Сommit
0bad33d93a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      arch/blackfin/mach-common/entry.S

+ 1 - 1
arch/blackfin/mach-common/entry.S

@@ -881,7 +881,7 @@ ENTRY(_software_trace_buff)
 #endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */
 #endif /* CONFIG_DEBUG_BFIN_HWTRACE_EXPAND */
 
 
 #if CONFIG_EARLY_PRINTK
 #if CONFIG_EARLY_PRINTK
-.section .init.text
+.section .init.text,"ax"
 ENTRY(_early_trap)
 ENTRY(_early_trap)
 	SAVE_ALL_SYS
 	SAVE_ALL_SYS
 	trace_buffer_stop(p0,r0);
 	trace_buffer_stop(p0,r0);