Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001142
--- Comment #10 from John Dallaway <[email protected]> 2011-02-14 12:44:15 GMT --- (In reply to comment #9) > So, we are happy with USER_SECTION(). What's about those SECTION_START, > SECTION_END definitions in the Attachment 1116 [details] ? Will be they ever > used then? IMO, the names are too generic and seem like the "reserved" > words ... > > If you need those defs, what is about USER_LABEL() instead? > > #define USER_LABEL(_label_) \ > ... > > If we do not need those defs at all, I would be happy with (not tested) > > --- a/packages/hal/cortexm/arch/current/src/cortexm.ld > +++ b/packages/hal/cortexm/arch/current/src/cortexm.ld > @@ -268,5 +268,11 @@ OUTPUT_FORMAT(elf32-bigarm) > > #define SECTIONS_END . = ALIGN(4); _end = .; PROVIDE (end = .); > > +#define USER_SECTION(_name_, _region_, _vma_, _lma_) \ > + . ## _name_ _vma_ : _lma_ \ > + { __ ## _name_ ## _start = ABSOLUTE (.); \ > + *(. ## _name_)* \ > + __ ## _name_ ## _end = ABSOLUTE (.); } > + > #include <pkgconf/hal_cortexm.h> > #include CYGHWR_MEMORY_LAYOUT_LDI > > Comments? It does seem preferable to eliminate the SECTION_START() and SECTION_END() macros if possible. I assume these macros are not used elsewhere. -- 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.
