I saw at some places in my code the functions were defined in this way
#define USED_ATTR __attribute__ ((used))
return_type func_name(parameters) const USED_ATTR { }
I tried to read this but cannot understand the real use case of this
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0348c/BABCJJID.html
What exactly is __attribute__ ((used)) doing underneath
What does it mean by retain in object file