mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Kevin Du Huanpeng <u74147@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH] mips start.S: using marco EXPORT(_start) result _start symbol can not be found in System.map
Date: Tue, 26 Nov 2013 10:25:12 +0800	[thread overview]
Message-ID: <CANvTkNZJFP+SiHtm3GwJayNwv6zarRHnoCd3HjtaCL5MdQ2Q1A@mail.gmail.com> (raw)

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

             reply	other threads:[~2013-11-26  2:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26  2:25 Kevin Du Huanpeng [this message]
2013-11-26  2:57 ` Kevin Du Huanpeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANvTkNZJFP+SiHtm3GwJayNwv6zarRHnoCd3HjtaCL5MdQ2Q1A@mail.gmail.com \
    --to=u74147@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox