瀏覽代碼

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 17 年之前
父節點
當前提交
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);