This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001142] User defined linker sections.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001142

--- Comment #8 from Ilija Kocho <ilijak@siva.com.mk> 2011-02-14 09:17:02 GMT ---
(In reply to comment #7)
> (In reply to comment #6)
> > The macro is intended to be completely generic, suitable to any variant. We
> > know that other Cortex-M variants include peripheral memory which could be
> > used via such a macro. Placing this definition in cortex.ld seems like the
> > right approach to me. I could envisage a similar definition being added to
> > *.ld for other architectures in the future.
> > 
> > The *.ldi files were once generated by a memory layout tool and it seems best
> > to avoid adding arbitrary code to these files so the possibility of
> > re-introducing such a tool is preserved.
> 
> > I do agree that the name "SECTION_user()" could lead to some confusion with
> > the existing SECTION_*() macros which have a different number of parameters.
> > I would be happy to use a macro name such as "USER_SECTION()" instead.
> 
> John, then I "found" such a name too :-), and I like this name and now
> I would argee with your points about macro placement (cortexm.ld).

Me too, do you need me to produce a new patch?

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]