public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Virender Kashyap <virenk@cse.iitb.ac.in>
To: lrtaylor@micron.com
Cc: vinaymr_02@yahoo.co.in, sriharsha.v@redpinesignals.com,
	 GCC HELP <gcc-help@gcc.gnu.org>
Subject: RE: Storing specified variables in the same memory page!
Date: Mon, 11 Oct 2004 18:27:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.61.0410120001470.11316@mars.cse.iitb.ac.in> (raw)
In-Reply-To: <363801FFD7B74240A329CEC3F7FE4CC40309635D@ntxboimbx07.micron.com>

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
> <sriharsha.v@redpinesignals.com> 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

  reply	other threads:[~2004-10-11 18:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-11 16:17 lrtaylor
2004-10-11 18:27 ` Virender Kashyap [this message]
2004-10-11 18:31   ` Eljay Love-Jensen
  -- strict thread matches above, loose matches on Subject: below --
2004-10-11 15:53 Vinay
2004-10-11 15:57 ` Sriharsha Vedurmudi
2004-10-11 16:08   ` Vinay
2004-10-13  8:51     ` energon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0410120001470.11316@mars.cse.iitb.ac.in \
    --to=virenk@cse.iitb.ac.in \
    --cc=gcc-help@gcc.gnu.org \
    --cc=lrtaylor@micron.com \
    --cc=sriharsha.v@redpinesignals.com \
    --cc=vinaymr_02@yahoo.co.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).