looking for a way to tell gcc not to remove some code he thinks is unreachable.

looking for a way to tell gcc not to remove some code he thinks is unreachable.

Muli Ben-Yehuda muli at il.ibm.com
Mon Mar 7 12:18:47 IST 2011


On Mon, Mar 07, 2011 at 12:11:36PM +0200, Erez D wrote:

> I have a function which is not called in a regular way, so gcc
> thinks it is dead code.  however it is not, and i am looking for a
> way to tell the linker not to remove it.

extern




More information about the Linux-il mailing list