Functions in RAM

Mike Stump mrs@apple.com
Thu Apr 8 21:28:00 GMT 2004


On Thursday, April 8, 2004, at 02:16 PM, David Mc Kenna wrote:
> Is it possible to write functions in C that will be copied into RAM at 
> programme
> startup?

Yes.  This is the wrong list to discuss such issues.  A better place 
would be the binutils list.  See the gcc manual on attributes and named 
sections for one possible way this is done in the C source code.



More information about the Gcc mailing list