This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Patch,AVR]: Add built-in to get flash segment
- From: "Weddington, Eric" <Eric dot Weddington at atmel dot com>
- To: "Georg-Johann Lay" <avr at gjlay dot de>, <gcc-patches at gcc dot gnu dot org>
- Cc: "Denis Chertykov" <chertykov at gmail dot com>
- Date: Thu, 1 Mar 2012 08:11:39 -0700
- Subject: RE: [Patch,AVR]: Add built-in to get flash segment
- References: <4F4F7F37.1060708@gjlay.de>
> -----Original Message-----
> From: Georg-Johann Lay [mailto:avr@gjlay.de]
> Sent: Thursday, March 01, 2012 6:53 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Denis Chertykov; Weddington, Eric
> Subject: [Patch,AVR]: Add built-in to get flash segment
>
> This built-in basically returns the high byte of a 24-bit address.
>
> It can be used to test at run time where a pointer points to (Flash or
RAM).
>
> Ok for trunk?
>
Please commit, thanks!
Eric