From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31287 invoked by alias); 15 Oct 2003 15:45:04 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 31280 invoked from network); 15 Oct 2003 15:45:03 -0000 Received: from unknown (HELO sand3.gxn.net) (195.147.249.238) by sources.redhat.com with SMTP; 15 Oct 2003 15:45:03 -0000 Received: from ip02.quartzelec.adsl.gxn.net ([195.147.203.154] helo=server2000.Quartz.local) by sand3.gxn.net with esmtp (Exim 4.20) id 1A9nsI-0006eF-C5; Wed, 15 Oct 2003 16:47:46 +0100 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Wed, 15 Oct 2003 15:45:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "James Yates" To: "Gary Thomas" Cc: Subject: RE: [ECOS] Problems with var_mk_defs.c X-SW-Source: 2003-10/txt/msg00258.txt.bz2 After looking at the generated var_mk_defs.s file by adding -save-temps to = the global compiler flags, the first line the compiler complains about is: .equ HAL_UCACHE_SIZE, #0 .loc 1 82 0 Would I be right in assuming that this should read: .equ HAL_UCACHE_SIZE, 0 .loc 1 82 0 The function call that creates this line is: DEFINE(HAL_UCACHE_SIZE, HAL_UCACHE_SIZE); The macro itself: #define DEFINE(sym, val) \ asm volatile("\n\t.equ\t" #sym ", %0" : : "i" (val)) I guess this is the assembler equivalent of #define HAL_UCACHE_SIZE 0 so th= at wherever HAL_UCACHE_SIZE is referenced, the value of 0 is used. However, I am unsure about how to modify the macro, my skill in assembler i= s extremely poor. Any ideas? James Yates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss