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 #26 from John Dallaway <john@dallaway.org.uk> 2011-02-16 10:11:25 GMT ---
(In reply to comment #25)

> In comment 9 Sergei wrote:
> > If we do not need those defs at all, I would be happy with (not tested)
> 
> In comment 10 John wrote:
> > It does seem preferable to eliminate the SECTION_START() and SECTION_END()
> > macros if possible. I assume these macros are not used elsewhere.
> 
> In comment 23 Ilija wrote:
> > Now I agree with you to omit START/END macros.
> 
> Consensus? If it is, Ilija, could you, please, submit a final patch for
> cortexm.ld after testing?

If I've understood correctly, you (Ilija and Sergei) are now in agreement that
peripheral memory section names will need not require de-stringification. I
agree with this. In fact, I expect peripheral memory sections will typically
have fixed names. Packages like lwIP will be configured to use the section name
provided by the HAL package, not vice-versa.

So lets eliminate the SECTION_START() and SECTION_END() macros and add a single
USER_SECTION() macro to cortexm.ld. We can check this in ahead of the LPC17xx
contribution and it will be one less thing to hold in our minds.

-- 
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]