From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2548 invoked by alias); 18 Jun 2008 10:23:23 -0000 Received: (qmail 2540 invoked by uid 22791); 18 Jun 2008 10:23:22 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Jun 2008 10:23:05 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1K8uoS-0006mR-00; Wed, 18 Jun 2008 12:22:48 +0200 Date: Wed, 18 Jun 2008 10:23:00 -0000 From: Andrew Lunn To: Lars Poeschel Cc: Andrew Lunn , ecos-devel@ecos.sourceware.org Subject: Re: Strange buildsystem behaviour Message-ID: <20080618102248.GB10893@lunn.ch> References: <92187523-464B-4EFE-A03F-AA54E4AD3E6A@wh2.tu-dresden.de> <20080618095232.GA10893@lunn.ch> <38B53518-83B4-47A6-A64D-FC8266DB0602@wh2.tu-dresden.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38B53518-83B4-47A6-A64D-FC8266DB0602@wh2.tu-dresden.de> User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-06/txt/msg00024.txt.bz2 > I read about this and added a KEEP() around the regarding input > sections, but it should not matter in this case, because for the > variant.S file it works. Im not sure this is true. I guess the KEEP() will only help if the object file is loaded. If no symbols in the file are referenced, it never loads the file and so never knows it needs to keep anything. The real solution here is the reference one of your symbols which must be in the image, or move it into libextras.a, which the linker will never discard symbols from. Andrew