From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 501 invoked by alias); 22 Feb 2011 15:04:02 -0000 Received: (qmail 489 invoked by uid 22791); 22 Feb 2011 15:04:00 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Feb 2011 15:03:56 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p1MF3sGQ018328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 22 Feb 2011 10:03:54 -0500 Received: from [10.36.7.68] (vpn1-7-68.ams2.redhat.com [10.36.7.68]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p1MF3rj0019408 for ; Tue, 22 Feb 2011 10:03:54 -0500 Message-ID: <4D63D088.2020905@redhat.com> Date: Tue, 22 Feb 2011 15:04:00 -0000 From: Nick Clifton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: binutils@sourceware.org Subject: Re: Strange linker problem after updating binutils and gcc References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00266.txt.bz2 Hi Jan, > unfortunately there is still an error because the generated elf file > is wrong - some data are written in high addresses, resulting bin file > has size of 500MB instead of 500kB. Have you tried generating a linker map file (-M command line to ld) and then looking in this to see what is being stored at the high addresses ? Cheers Nick