* [PATCH] mips start.S: using marco EXPORT(_start) result _start symbol can not be found in System.map
@ 2013-11-26 2:25 Kevin Du Huanpeng
2013-11-26 2:57 ` Kevin Du Huanpeng
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Du Huanpeng @ 2013-11-26 2:25 UTC (permalink / raw)
To: barebox
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-26 2:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-26 2:25 [PATCH] mips start.S: using marco EXPORT(_start) result _start symbol can not be found in System.map Kevin Du Huanpeng
2013-11-26 2:57 ` Kevin Du Huanpeng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox