Re: SPARC linker command files

2013-12-05 Thread Sebastian Huber
On 2013-12-05 22:57, Jiri Gaisler wrote: On 12/03/2013 11:29 AM, Sebastian Huber wrote: On 2013-12-03 10:13, Jiri Gaisler wrote: On 12/03/2013 08:46 AM, Sebastian Huber wrote: On 2013-12-02 23:06, Jiri Gaisler wrote: On 11/30/2013 02:31 AM, Gedare Bloom wrote: Does the NGMP allow for var

Re: SPARC linker command files

2013-12-05 Thread Jiri Gaisler
On 12/03/2013 11:29 AM, Sebastian Huber wrote: > On 2013-12-03 10:13, Jiri Gaisler wrote: >> >> On 12/03/2013 08:46 AM, Sebastian Huber wrote: >>> >On 2013-12-02 23:06, Jiri Gaisler wrote: >> >>On 11/30/2013 02:31 AM, Gedare Bloom wrote: >> >>> >Does the NGMP allow for variant sizes

Re: SPARC linker command files

2013-12-03 Thread Sebastian Huber
On 2013-12-03 10:13, Jiri Gaisler wrote: On 12/03/2013 08:46 AM, Sebastian Huber wrote: >On 2013-12-02 23:06, Jiri Gaisler wrote: >> >>On 11/30/2013 02:31 AM, Gedare Bloom wrote: >>> >Does the NGMP allow for variant sizes of ROM and RAM? If so will we >>> >provide separate BSP variants for al

Re: SPARC linker command files

2013-12-03 Thread Jiri Gaisler
On 12/03/2013 08:46 AM, Sebastian Huber wrote: > On 2013-12-02 23:06, Jiri Gaisler wrote: >> >> On 11/30/2013 02:31 AM, Gedare Bloom wrote: >>> >Does the NGMP allow for variant sizes of ROM and RAM? If so will we >>> >provide separate BSP variants for all possibilities, or how does the >>> >user

Re: SPARC linker command files

2013-12-02 Thread Sebastian Huber
On 2013-12-02 23:06, Jiri Gaisler wrote: On 11/30/2013 02:31 AM, Gedare Bloom wrote: >Does the NGMP allow for variant sizes of ROM and RAM? If so will we >provide separate BSP variants for all possibilities, or how does the >user select the right size for their board? The boot loader (or gdb d

Re: SPARC linker command files

2013-12-02 Thread Jiri Gaisler
On 11/30/2013 02:31 AM, Gedare Bloom wrote: > Does the NGMP allow for variant sizes of ROM and RAM? If so will we > provide separate BSP variants for all possibilities, or how does the > user select the right size for their board? The boot loader (or gdb debug monitor) supplies the top-of-stack

Re: SPARC linker command files

2013-12-01 Thread Sebastian Huber
On 2013-11-30 02:44, Joel Sherrill wrote: -DXXX on the linker command line overrides the defaults The problem with this approach is that the linker has no ability to detect region overflows. On Nov 29, 2013 7:30 PM, Gedare Bloom wrote: Does the NGMP allow for variant sizes of ROM and RAM?

Re: SPARC linker command files

2013-11-29 Thread Joel Sherrill
-DXXX on the linker command line overrides the defaults On Nov 29, 2013 7:30 PM, Gedare Bloom wrote: Does the NGMP allow for variant sizes of ROM and RAM? If so will we provide separate BSP variants for all possibilities, or how does the user select the right size for their board? On Fri, Nov 29

Re: SPARC linker command files

2013-11-29 Thread Gedare Bloom
Does the NGMP allow for variant sizes of ROM and RAM? If so will we provide separate BSP variants for all possibilities, or how does the user select the right size for their board? On Fri, Nov 29, 2013 at 8:20 AM, Sebastian Huber wrote: > Hello, > > most SPARC BSPs use current the following linke

SPARC linker command files

2013-11-29 Thread Sebastian Huber
Hello, most SPARC BSPs use current the following linker provided symbols to specify the memory layout: _PROM_SIZE = DEFINED (_PROM_SIZE) ? _PROM_SIZE : 2M; _PROM_START = DEFINED (_PROM_START) ? _PROM_START : 0x; _RAM_SIZE = DEFINED (_RAM_SIZE) ? _RAM_SIZE : 4M; _RAM_START = DEFINED (_