Revert the commit "nios2: fix section mismatch".
We want _start() located at the beginning.

Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
---
 linux-2.6.x/arch/nios2nommu/kernel/head.S |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/linux-2.6.x/arch/nios2nommu/kernel/head.S 
b/linux-2.6.x/arch/nios2nommu/kernel/head.S
index b1ca973..dd93f70 100644
--- a/linux-2.6.x/arch/nios2nommu/kernel/head.S
+++ b/linux-2.6.x/arch/nios2nommu/kernel/head.S
@@ -70,10 +70,9 @@ _current_thread:
  * if the code resides in flash (looks for "Nios" at offset 0x0c from
  * the potential executable image).
  */
-
-__INIT
-
-ENTRY(_start)
+       .text
+       .global _start
+_start:
        wrctl   status,r0               /* Disable interrupts */
        
        /* Flush all cache lines within the instruction cache */
@@ -227,7 +226,3 @@ data_flush:
        /* End of startup code */
 .set at
 
-ENDPROC(_start)
-
-__FINIT
-
-- 
1.5.3.3

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to