14.1.2.14 noload

The noload attribute indicates that space should be allocated for the function, but that the actual code should not be loaded into memory. This attribute could be useful if an application is designed to load a function into memory at run time, such as from a serial EEPROM.

void bar() __attribute__ ((noload)) {
...
}