This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Moving Data Segment content to Text Segment


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]