From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1212 invoked by alias); 10 Mar 2010 09:49:18 -0000 Received: (qmail 1188 invoked by uid 22791); 10 Mar 2010 09:49:16 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS 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; Wed, 10 Mar 2010 09:49:12 +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.13.8/8.13.8) with ESMTP id o2A9nBHB000878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 10 Mar 2010 04:49:11 -0500 Received: from zebedee.pink (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2A9n9ww010200; Wed, 10 Mar 2010 04:49:10 -0500 Message-ID: <4B976B14.4080808@redhat.com> Date: Wed, 10 Mar 2010 09:49:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Re: ARM gcc help References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00132.txt.bz2 On 03/09/2010 09:15 AM, Ruvinda Dhambarage wrote: > hi, > Iam using gcc 4.1.0 to compile code for a ARM922T. > my code runs from the internal 64KB SRAM. > when i run some functions it gets stuck or behaves unexpectedly when > the .bin file gets larger than ~28KB. > curiously, its the functions in the .o files that i added last that > gets stuck. The functions in the .o which were added first, work > without getting stuck. > > what are the possible causes? Bad hardware. OS bug. Linker bug. You made a mistake somewhere that corrupts memory. Etc, etc. Andrew.