This is the mail archive of the ecos-bugs@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 #4 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2011-02-13 19:50:11 GMT ---
(In reply to comment #2)

Hi Ilija,

> Sergei
> 
> There has been discussion on this in bug 1001114 where user sections were
> introduced, and this bug is an outcome of that discussion. Please refer to bug
> 1001114 for a complete evolution.

Indeed, I read comments on bug 1001114 before to post as I have got
doubts about the placement for new macro (architecture ld script),
but that is *mine*.

To be clear. All SECTION_xxx macros in arch. ld script have stable set
of arguments: _region_, _vma_, _lma_; all of them are the very tuned by
their own bodies and SECTION_user with a different set of arguments *IMO*
is something odd.

Well, variants could be CUSTOM_SECTION, DEFINE_SECTION, ABS_SECTION
(though I dislike these enters too), so I asked about variant's land.

[snip]

>   - Shall we need this kind of facility for other future variants and how often?
>   - Is the macro (as is or with reasonable modifications) generic enough to
> enter at architecture level?

Exactly these questions excited my comment 1.

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


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