avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Stdio and Atmega256X


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Stdio and Atmega256X
Date: Sun, 10 Feb 2008 08:47:39 +0100 (MET)

"Sven Schlender" <address@hidden> wrote:

> In the __file structure of stdio is only a 16-Bit datatype for
> saving the function pointers for put and get functions. So if I call
> printf() in application the AVR jumps to the Black Forest.

It's supposed to be redirected through the trampoline.  However, while
the linker deals properly with this for all the symbols under its
control, offhand I don't have an idea how you could trick it into
doing this for an absoulte address...  Effectively, Andy's suggestion
is one possible solution.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]