This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Memory map: User defined section
- To: 'Jonathan Larmour' <jlarmour at redhat dot com>, Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: RE: [ECOS] Memory map: User defined section
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Fri, 15 Sep 2000 18:10:14 -0700
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
> -----Original Message-----
> From: Jonathan Larmour [mailto:jlarmour@redhat.com]
> Sent: Friday, September 01, 2000 12:37 PM
> To: Fabrice Gautier
> Cc: Ecos-List (E-mail)
> Subject: Re: [ECOS] Memory map: User defined section
>
>
> Do you really need it? If you include the appropriate MLT
> generated .h file
> (by using
> #include <pkgconf/system.h>
> #include CYGHWR_MEMORY_LAYOUT_H
> ) you can get the end by using (&CYGMEM_SECTION_FOO +
> CYGMEM_SECTION_FOO_SIZE).
I just try the solution you gave me some time ago, but it seems that in the
target.ld script the symbol is __FOO while the .h file assume it is _FOO.
Don't know which is worng and where this should be changed.
Thanks
--
Fabrice Gautier
fabrice_gautier@sdesigns.com