From: Vlad Lungu <vlad@comsys.ro>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [MIPS] Introduce machine_restart
Date: Wed, 19 Mar 2008 12:47:08 +0200 [thread overview]
Message-ID: <47E0EF2C.2050909@comsys.ro> (raw)
In-Reply-To: <20080318192432.1039624349@gemini.denx.de>
Wolfgang Denk wrote:
> In message <004701c88928$4f457bb0$edd07310$@Tjernlund@transmode.se>
> Joakim Tjernlund wrote:
>
>> I don't think it is good to use global fun ptrs. These are not
>> available until
>> relocated to RAM.
>>
>
> Agreed!
>
> In message <20080318184338.GA8728@game.jcrosoft.org>
> Jean-Christophe Plagniol-Villar wrote:
>
>> If possible I will prefer a weak function
>>
>
> ...which raises the interesting question if, and how, weak function
> pointers work before relocation.
>
> Has anyone ever tested / analyzed this?
>
>
Weak symbols are a compile-time thing, not a run-time thing. The linker
discards weak symbols
if a "regular" symbol with the same name is found, that's all. So it's
actually link-time, rather than compile-time :-).
Vlad
next prev parent reply other threads:[~2008-03-19 10:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-18 17:55 [U-Boot-Users] [MIPS] Introduce machine_restart Shinya Kuribayashi
2008-03-18 18:43 ` Jean-Christophe PLAGNIOL-VILLARD
2008-03-18 19:24 ` Wolfgang Denk
2008-03-18 19:37 ` Shinya Kuribayashi
2008-03-25 5:26 ` Shinya Kuribayashi
2008-03-18 22:23 ` Joakim Tjernlund
2008-03-19 10:47 ` Vlad Lungu [this message]
2008-03-18 18:45 ` Joakim Tjernlund
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=47E0EF2C.2050909@comsys.ro \
--to=vlad@comsys.ro \
--cc=u-boot@lists.denx.de \
/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