<div dir="ltr">I have a function which is not called in a regular way, so gcc thinks it is dead code.<br>however it is not, and i am looking for a way to tell the linker not to remove it.<br><br>i can call it from some place with a flag that tells it to do nothing, but this is a ugly hack <br>
is there a directive telling gcc not to remove that certain function ?<br><br><br>thanks,<br>erez.<br></div>