From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1173 invoked by alias); 18 Jun 2008 09:36:14 -0000 Received: (qmail 1165 invoked by uid 22791); 18 Jun 2008 09:36:14 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from atlantis.wh2.tu-dresden.de (HELO atlantis.wh2.tu-dresden.de) (141.30.228.39) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Jun 2008 09:35:54 +0000 Received: from [141.76.92.86] (unknown [141.76.92.86]) by atlantis.wh2.tu-dresden.de (Postfix) with ESMTP id 397B91F63 for ; Wed, 18 Jun 2008 11:35:52 +0200 (CEST) Message-Id: <92187523-464B-4EFE-A03F-AA54E4AD3E6A@wh2.tu-dresden.de> From: Lars Poeschel To: ecos-devel@ecos.sourceware.org Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-65--748654978" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Subject: Strange buildsystem behaviour Date: Wed, 18 Jun 2008 09:36:00 -0000 X-Pgp-Agent: GPGMail d51 (Leopard) X-Mailer: Apple Mail (2.924) X-Virus-Checked: Checked by ClamAV on sourceware.org 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/msg00021.txt.bz2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-65--748654978 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Content-length: 964 Hello! I am currently working on flash support for fr30, skmb91302 platform. I added some code to platform.S file. I want to build a redboot image now and the following happens: platform.S gets assembled to hal_fr30_skmb91302_platform.o and then added to libtarget.a correctly. I can verify that the contents is there and correct with objdump. Then redboot gets build, but the image (redboot.elf) does not contain my new code! The Linker seems to throw it away. But when I copy the code from platform.S and paste it as it is without modification into variant.S(the .sections are the same), at first the same happens. The code gets assembled to hal_fr30_mb91301_variant.o and added to libtarget.a. But then redboot builds and the resulting image contains the code! The linker script I use has no special rule for platform or variant files. Does anybody have a hint for me ? How can I get the code linked when it is in platform.S ? Thanks, Lars --Apple-Mail-65--748654978 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit Content-length: 194 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkhY1vIACgkQ3m3cZ1XsbwdPvgCaAkdhp5NSCLGJzX8gvN8YmvcO +QUAnRCVtBqVwdgT1IvTvXY+JKEcVTZn =N0WR -----END PGP SIGNATURE----- --Apple-Mail-65--748654978--