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

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

Re: [avr-gcc-list] stack layout


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] stack layout
Date: Sun, 26 Jun 2005 23:20:20 +0200
User-agent: Mutt/1.4.2.1i

As Marek Michalkiewicz wrote:

> > Anyway, it seems that bug can easily be overcome.  ...

> Good.  I didn't think it would be so simple to fix (no need to set
> the value of __stack in a separate source file) - thanks.

I've been glad it was that simple, yes.

Anyway, do you think it would be worth a bug report for gas?

> The stack may be used before main() if there are any C++
> constructors.

Ah, I didn't think of that case.

> Correct me if I am wrong, but your avr-libc change shouldn't break
> GCC (stable or mainline) in any way.

They should not affect GCC in any way, yes.

> So, I think: go ahead and commit it to avr-libc

I just did that, to both HEAD and the 1.2 branch.

> - and making main() a normal function can be the next step (in GCC
> mainline, no need to backport that to the stable version).

OK, fine by me, and thanks for the reply!
-- 
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]