Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123557

Forum Post: RE: .const section appears without any .const keyword

$
0
0

The compiler does not make such variables const.  It's more likely to be string constants and initializers for local variables.  It could also be const data from the library.  Please generate the linker map file with the --map_file linker option and look at the link map for the .const section; this will tell you what files contributed .const to your program.


Viewing all articles
Browse latest Browse all 123557

Trending Articles



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