[PATCH] mips start.S: using marco EXPORT(_start) result _start symbol can not be found in System.map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the _start symbol is not found in System.map if using EXPORT(_start) .
when TEXT_BASE changed, I can't see if the _start linked to the right
address in System.map.

- - -
diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S
index 7e2ae5e..75d7ac8 100644
--- a/arch/mips/boot/start.S
+++ b/arch/mips/boot/start.S
@@ -49,9 +49,8 @@ _pc:  addiu   \rd, ra, \label - _pc           #
label is assumed to be
        .text
        .section ".text_bare_init"
        .align 4
-
-EXPORT(_start)
-
+       .globl _start
+_start:
        b       __start
         nop
- - -

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux