This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[Bug 1001142] User defined linker sections.
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 14 Feb 2011 13:16:04 +0000
- Subject: [Bug 1001142] User defined linker sections.
- Auto-submitted: auto-generated
- References: <bug-1001142-104@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001142
--- Comment #12 from John Dallaway <john@dallaway.org.uk> 2011-02-14 13:16:02 GMT ---
(In reply to comment #11)
> I introduced them because of properties of CPP concatenation ## with respect to
> argument prescan.
> http://gcc.gnu.org/onlinedocs/cpp/Argument-Prescan.html#Argument-Prescan
> They are needed if "_name_" is a macro:
>
> #define FOO "foo"
> USER_SECTION(FOO, reg, vma, lma)
>
> Example use case is when the section name is provided via CDL.
> I would keep them but we may consider more suitable names.
Ilija, thank you for the clarification. I now agree that we should keep them.
Perhaps they could be renamed to CYG_USER_SECTION_START() and
CYG_USER_SECTION_END() to reduce the possibility of a naming clash?
--
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.