C language > Tips & tricks
WCRT C runtime library with source
Pelle:
Jibz is absolutely correct.
Function pointers from #pragma startup/exit (or equivalent) are stored in a section called .CRT, which is merged with the .rdata section (read-only data) by POLINK. Microsoft merge .CRT with the .data section (read-write data). Not really sure why - might be a C++ thing. I should probably change this...
Pelle
Navigation
[0] Message Index
[*] Previous page
Go to full version