This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Functions in RAM
- From: Mike Stump <mrs at apple dot com>
- To: mckennad at esatclear dot ie
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 8 Apr 2004 14:28:43 -0700
- Subject: Re: Functions in RAM
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.