From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11672 invoked by alias); 16 Oct 2002 14:57:43 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 10931 invoked from network); 16 Oct 2002 14:57:32 -0000 Received: from unknown (HELO excalibur.skynet.be) (195.238.3.90) by sources.redhat.com with SMTP; 16 Oct 2002 14:57:32 -0000 Received: from srv001.traficon.com (144.255-136-217.adsl-fix.skynet.be [217.136.255.144]) by excalibur.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.20) with ESMTP id g9GEvPd25480 for ; Wed, 16 Oct 2002 16:57:26 +0200 (MET DST) (envelope-from ) Message-ID: <3B7F5856BBB6D311B18200508B976158660CA5@SRV001> From: Pascal Degryze To: "'gcc-help@gcc.gnu.org'" Subject: heap initialisation for malloc Date: Wed, 16 Oct 2002 07:57:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2002-10/txt/msg00201.txt.bz2 Hi all, when using malloc, my code crashes. Because malloc is part of a library, I cannot debug the source. I think the problem has to do with heap-initialisation. Therefor, how can the heap be initialised, such as: heapbase, heapsize... What must be added to the linker script? I'm using arm-elf tools. Thanks, Pascal Degryze PDG@Traficon.com R&D department Traficon n.v. Meensesteenweg 449, bus 2 B-8501 Bissegem Belgium Tel: +32(0)56/37 22 00 Fax: +32(0)56/37 21 96 http://www.Traficon.com