]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 b7e457897dc6419ee9cca1aa51365143fd60157e..7cf535331d2c5965e9d14c8689d8f76ac2762037 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);