From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11182 invoked by alias); 28 Apr 2005 15:39:12 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 11131 invoked from network); 28 Apr 2005 15:39:03 -0000 Received: from unknown (HELO anchor-post-34.mail.demon.net) (194.217.242.92) by sourceware.org with SMTP; 28 Apr 2005 15:39:03 -0000 Received: from calivar.demon.co.uk ([83.104.54.243] helo=xl5.calivar.com) by anchor-post-34.mail.demon.net with esmtp (Exim 4.42) id 1DRB6U-000N8C-EB; Thu, 28 Apr 2005 15:39:02 +0000 Received: from xl5.calivar.com (localhost [127.0.0.1]) by xl5.calivar.com (Postfix) with ESMTP id 94F99DE5B; Thu, 28 Apr 2005 16:39:01 +0100 (BST) To: David Bonfrer Cc: ecos-discuss@sources.redhat.com References: <200504270959.j3R9xYcY010497@router.bonfrer.thuis> <4270FCB0.50705@bonfrer.com> From: Nick Garnett Original-Sender: nickg@ecoscentric.com Date: Thu, 28 Apr 2005 19:06:00 -0000 In-Reply-To: <4270FCB0.50705@bonfrer.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [ECOS] RE: eCos Loader X-SW-Source: 2005-04/txt/msg00297.txt.bz2 David Bonfrer writes: > Where did it go wrong in your dynamic loader? > > I now have the relocation types R_386_GLOB_DAT and R_386_JMP_SLOT > implemented. It might work for i386, perhaps the elf tools have all the dynamic support still in place. It didn't work for ARM, MIPS, PowerPC, SH4 etc. The toolchains don't all have the support. It has to work for all of the architecture we support, not just one. This is why I believe that object file loading is better than shared libraries, we won't have to change the toolchains and rewrite the HALs to support this. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com The eCos and RedBoot experts -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss