Moving Data Segment content to Text Segment
lrtaylor@micron.com
lrtaylor@micron.com
Fri Apr 23 16:59:00 GMT 2004
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
More information about the Gcc-help
mailing list