From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3578 invoked by alias); 15 Feb 2011 22:38:04 -0000 Received: (qmail 3526 invoked by uid 22791); 15 Feb 2011 22:38:03 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Feb 2011 22:37:58 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 485E72FB0002 for ; Tue, 15 Feb 2011 22:37:56 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WHd2qDEzMabQ; Tue, 15 Feb 2011 22:37:55 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001142] User defined linker sections. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 15 Feb 2011 22:38:00 -0000 Message-Id: <20110215223754.D7AA92F78003@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2011-02/txt/msg00056.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001142 --- Comment #24 from Ilija Kocho 2011-02-15 22:37:53 GMT --- (In reply to comment #23) > Hi > > (In reply to comment #22) > > Sometimes the solution is doing nothing or next to nothing. > > Fortunately, it happens sometimes. > > > Since method for production of section boundaries is fixed, > > straight-forward and common (for all sections): ___start > > ___end, it could be documented (possibly within > > http://ecos.sourceware.org/docs-latest/ref/hal- linker-scripts.html ) > > with some code snippet for zeroing of section. > > > > I guess USER_SECTION() would need a proper documentation anyway. > > Honestly, I could not grasp why you need START/END macros (then you have > convinced me). The first picture in my head was. A HAL/MLT designer (not > CT user) using USER_SECTION macro "describes" a few random access memory > regions for new CPU. For example, 'mem1', 'mem2', 'mem3' sections. This > HAL/MLT designer provides and a support to init (clear) the regions, so, > he/she knows the names. It is clear to him/her to use __mem1_start, > __mem1_end, etc. as external labels (he/she knows what USER_SECTION() > macro is). He/she is the HAL designer. Then if they want they can > provide via CDL rules a few choices for CT user, for example, to obtain > some rooms in one from a few (one from from one) section (I mean a choice > the values are allowed by our designer), i.e. with CDL func. legal_values > { mem1 mem2 mem3 }, I dislike an idea to allow CT user to name the > sections and "to code" in C/CPP using "complex" macros. But, this is mine. > > So, we can stay on USER_SECTION() innovation only. What your verdict be? > Will HAL/MLT designer be happy with it? As for me I like this rollback. Yea, that's it, I sometimes reach for more generality than practice needs. Sorry for confusion and thank you for your patience. I hope that HAL/MLT designers shall be happy, but even if someone convinces us that life without them is impossible (which is unlikely) it would be possible re-introduce them without breaking backward compatibility since for plain (non macro) names they have no effect. Now I agree with you to omit START/END macros. -- 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.