[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Using Named Address spaces.
From: |
Weddington, Eric |
Subject: |
Re: [avr-gcc-list] Using Named Address spaces. |
Date: |
Tue, 12 Mar 2013 15:19:37 +0000 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Thomas, George
> Sent: Tuesday, March 12, 2013 6:54 AM
> To: address@hidden
> Subject: [avr-gcc-list] Using Named Address spaces.
>
> Hi,
>
> I was trying to use the named address spaces to use the complete flash
> space.
>
> eg.
> const int __flash2 k = 20;
> int l = 10;
>
> int main () {
>
> const int __memx *ramVar = &k;
> ramVar = &l;
> return (*ramVar);
> }
>
> When I checked the linker scripts, all __flashN's are going into the
> same location.
>
> In this case ramVar will be set appropriately only if the linker puts
> __flash2
> in the the third page.
>
> Are there any issues in fixing these in the linker scripts ?
>
> Also saw some discussion in the list regarding the same.
> http://lists.nongnu.org/archive/html/avr-gcc-list/2012-12/msg00038.html
> but could not find any patches in trunk.
>
Hi George,
Are the linker scripts still broken in the Binutils repository? Did you build
Binutils from trunk?
Eric Weddington
Atmel
- [avr-gcc-list] Using Named Address spaces., Thomas, George, 2013/03/12
- Re: [avr-gcc-list] Using Named Address spaces.,
Weddington, Eric <=
- Re: [avr-gcc-list] Using Named Address spaces., Erik Christiansen, 2013/03/13
- Re: [avr-gcc-list] Using Named Address spaces., Thomas, George, 2013/03/13
- Re: [avr-gcc-list] Using Named Address spaces., Georg-Johann Lay, 2013/03/14
- Re: [avr-gcc-list] Using Named Address spaces., Erik Christiansen, 2013/03/15
- Re: [avr-gcc-list] Using Named Address spaces., Erik Christiansen, 2013/03/17
- Re: [avr-gcc-list] Using Named Address spaces., Erik Christiansen, 2013/03/18
- Re: [avr-gcc-list] Using Named Address spaces., Thomas, George, 2013/03/18
- Re: [avr-gcc-list] Using Named Address spaces., Thomas, George, 2013/03/18