public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Moving Data Segment content to Text Segment
@ 2004-04-23  5:38 Lalit Seth
  0 siblings, 0 replies; 2+ messages in thread
From: Lalit Seth @ 2004-04-23  5:38 UTC (permalink / raw)
  To: gcc-help

Hi,

How can i move the data segment contents of the executabel generated by gcc 
3.2 on Linux to the Text Segment of it.

Is this good to do and whts are the pros and cons of it.

I wanted to do this to over come the limit  of Data Segment which is met 
very soon as the execuatbe is runned.

Rgds
Lalit

_________________________________________________________________
Pay Cash on delivery of  products.  http://go.msnserver.com/IN/47509.asp 
Free Registration on Baazee.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Moving Data Segment content to Text Segment
@ 2004-04-23 16:59 lrtaylor
  0 siblings, 0 replies; 2+ messages in thread
From: lrtaylor @ 2004-04-23 16:59 UTC (permalink / raw)
  To: laalit_seth, gcc-help

I thought the size of the data segment was determined at compile/link time and was static - that is, it doesn't change at run time.  Are you sure you're not running into stack size problems?

Cheers,
Lyle

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of Lalit Seth
Sent: Thursday, April 22, 2004 11:38 PM
To: gcc-help@gcc.gnu.org
Subject: Moving Data Segment content to Text Segment

Hi,

How can i move the data segment contents of the executabel generated by gcc 
3.2 on Linux to the Text Segment of it.

Is this good to do and whts are the pros and cons of it.

I wanted to do this to over come the limit  of Data Segment which is met 
very soon as the execuatbe is runned.

Rgds
Lalit

_________________________________________________________________
Pay Cash on delivery of  products.  http://go.msnserver.com/IN/47509.asp 
Free Registration on Baazee.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-23 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-23  5:38 Moving Data Segment content to Text Segment Lalit Seth
2004-04-23 16:59 lrtaylor

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).