From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27086 invoked by alias); 30 Apr 2003 17:49:36 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 27078 invoked from network); 30 Apr 2003 17:49:34 -0000 Received: from unknown (HELO anchor-post-32.mail.demon.net) (194.217.242.90) by sources.redhat.com with SMTP; 30 Apr 2003 17:49:34 -0000 Received: from calivar.demon.co.uk ([212.228.213.211] helo=miso.calivar.com) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 19Avi1-000NAL-0W; Wed, 30 Apr 2003 18:49:34 +0100 Received: from miso.calivar.com (miso.calivar.com [127.0.0.2]) by miso.calivar.com (Postfix) with ESMTP id 8BAD528DB84; Wed, 30 Apr 2003 15:59:56 +0100 (BST) To: "QiangHuang" Cc: "Andrew Lunn" , "Ecos-Discuss" References: From: Nick Garnett Date: Wed, 30 Apr 2003 18:24:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] Can I use the dynamic memory allocation on the class object? Thanks a lot. X-SW-Source: 2003-04/txt/msg00603.txt.bz2 "QiangHuang" writes: > Thank you. > from the command I can see: > /c/altera/excalibur/sopc_builder/bin/arm-gnupro/arm9-020528/bin/../lib/gcc-l > ib/arm-elf/2.96-arm9-020528/../../../../arm-elf/bin/ld: > is this not the right one? (This is the toolchain shipped with the Altera > Excalibur board for ARM9) It is probably the right one for the tools and libraries shipped with the board. But 2.96 is now very old. For eCos we have moved on to a 3.2.1 based GCC. There are a number of significant changes between the compilers such that it is very difficult to accomodate both at the same time -- especially in toolchain-specific things like linker scripts. > > BTW what is the eh_frame section used for? It is part of the compiler's C++ exception handling mechanism. > > Or is the eh_frame is a pre-defined section according to the compiler or > already included as subsection in any above section? > Thanks a lot. > What actually happens is that the .eh_frame section gets garbage collected out of the final link since there are no references to it. This was not the case with the 2.96 compiler. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com/ The eCos and RedBoot experts -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss