From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19014 invoked by alias); 11 Oct 2004 18:27:09 -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 18991 invoked from network); 11 Oct 2004 18:27:06 -0000 Received: from unknown (HELO smtp2.iitb.ac.in) (203.199.51.149) by sourceware.org with SMTP; 11 Oct 2004 18:27:06 -0000 Received: (qmail 22558 invoked by uid 780); 11 Oct 2004 18:27:03 -0000 Received: from 10.105.1.11 by ldns2 (envelope-from , uid 502) with qmail-scanner-1.23 (spamassassin: 2.64. Clear:RC:1(10.105.1.11):. Processed in 0.055871 secs); 11 Oct 2004 18:27:03 -0000 Received: from unknown (HELO mars.cse.iitb.ac.in) (10.105.1.11) by smtp2.iitb.ac.in with SMTP; 11 Oct 2004 18:27:03 -0000 Date: Mon, 11 Oct 2004 18:27:00 -0000 From: Virender Kashyap To: lrtaylor@micron.com cc: vinaymr_02@yahoo.co.in, sriharsha.v@redpinesignals.com, GCC HELP Subject: RE: Storing specified variables in the same memory page! In-Reply-To: <363801FFD7B74240A329CEC3F7FE4CC40309635D@ntxboimbx07.micron.com> Message-ID: References: <363801FFD7B74240A329CEC3F7FE4CC40309635D@ntxboimbx07.micron.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SW-Source: 2004-10/txt/msg00071.txt.bz2 global variables are store in data area rather than on stack . On Mon, 11 Oct 2004 lrtaylor@micron.com wrote: > Aren't local, non-static variables always stored on the stack? It > wouldn't make sense to me to put them anywhere else... > > Thanks, > Lyle > > > -----Original Message----- > From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On > Behalf Of Vinay > Sent: Monday, October 11, 2004 10:03 AM > To: Sriharsha Vedurmudi > Cc: gcc-help@gcc.gnu.org > Subject: Re: Storing specified variables in the same memory page! > > Hi Harsha, > > But the variables I would like to specify can be local > also. I need a way by which I can specify any type of > variable and they must be stored in the same memory > page. > > Thanks, > Vinay > --- Sriharsha Vedurmudi > wrote: >> Will global/static variables not be stored stored >> consistantly in one page? >> >> -Harsha >> >> Vinay wrote: >> >>> Hi, >>> >>> I would like to know if there is any way by which I >>> can inform the compiler to store certain variables >> in >>> the same memory page. This would really help my >>> project. If not possible, is there a way to change >> the >>> source code of GCC to implement the same. >>> >>> Thanks, >>> Vinay >>> >> >> _______________________________________________________________________ > _ >>> Yahoo! India Matrimony: Find your life partner >> online >>> Go to: http://yahoo.shaadi.com/india-matrimony >>> >>> >> >> -- >> ***************************** >> * Sriharsha Vedurmudi >> * Software Engineer >> * >> * Redpine Signals Inc. >> * Gate #395, Plot 87,88 >> * Sagar Society, Road #2, >> * Banjara Hills, >> * Hyderabad - 500 034 >> * www.redpinesignals.com >> * >> * +91-40-23559911 (Office) >> * +91-9849133133 (Mobile) >> ***************************** >> >> > > ________________________________________________________________________ > Yahoo! India Matrimony: Find your life partner online > Go to: http://yahoo.shaadi.com/india-matrimony > -- Regards. Virender ---------------------------------------------- Virender Kashyap Senior Undergraduate Student Roll No 00d05011 ADD: Room 182 ,Hostel 2 IIT Bombay ,Powaii Mumbai -400076 Homepage: www.cse.iitb.ac.in/~virenk Email : viren16@rediffmail.com