RE: Moving Data Segment content to Text Segment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On Behalf Of Lalit Seth
Sent: Thursday, April 22, 2004 11:38 PM
To: gcc-help@xxxxxxxxxxx
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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux