[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] binutils, gcc and avr-libc versions
From: |
Joerg Wunsch |
Subject: |
Re: [avr-chat] binutils, gcc and avr-libc versions |
Date: |
Sun, 28 Apr 2013 21:55:58 +0200 (MET DST) |
Bob von Knobloch <address@hidden> wrote:
> While this seems to be 'more correct', it seems a large change from
> previous versions.
Actually, GCC not insisting on a flash object being "const" before has
been a bug (which simply nobody noticed before). That bug had to be
fixed in order for Johann to be able to implement the new __flash
named address space.
It's an unfortunate side-effect of fixing bugs that the fix sometimes
breaks code that used to work in the past.
On the pro side, the __flash named address space is something we've
not even dared thinking about in GCC some ten years ago.
--
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)