Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22035

Avoid the use of .data segment

$
0
0

Is there a way to avoid that the compiled code use the .data segment? Is it possible to write a C code and use compiler options to force everything to be in .text? The reason I ask is because I want to put the assembly code of another program in the stack and run the code from there. So it will not work if this program is using the data segment.


Viewing all articles
Browse latest Browse all 22035

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>