Blackfin arch: Need to specify ax with the .init.text section,
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 21 Nov 2007 08:33:47 +0000 (16:33 +0800)
committerBryan Wu <bryan.wu@analog.com>
Wed, 21 Nov 2007 08:33:47 +0000 (16:33 +0800)
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

arch/blackfin/mach-common/entry.S

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