public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] printf and R9 in ARM architecture
@ 2015-01-20  6:12 Da Shi Cao
  2015-01-20  9:37 ` Albert ARIBAUD
  2015-01-20 10:56 ` Marek Vasut
  0 siblings, 2 replies; 5+ messages in thread
From: Da Shi Cao @ 2015-01-20  6:12 UTC (permalink / raw)
  To: u-boot

In standalone applications, it seems that the execution of printf
function in U-Boot is dependent on the value of register R9, which is
setup in app_startup. But r9 can be used by your program at the
decision of gcc compilation which is not aware of this dependence.
This is especially the case if +O2 is used!

My version is U-Boot 2014.10

Regards,
Dashi Cao

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-20 12:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20  6:12 [U-Boot] printf and R9 in ARM architecture Da Shi Cao
2015-01-20  9:37 ` Albert ARIBAUD
2015-01-20 11:34   ` Da Shi Cao
2015-01-20 12:20     ` Albert ARIBAUD
2015-01-20 10:56 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox