Dear,
Excuse me,I don't know how to  remove unused functions and variable when 
linking ELF.

please let me know ASAP.

eg.

int main()
{

int i;

i= 5;
return i;
}


char tmpBuffer[5];

char *getTmpBuff()
{
return tmpBuffer;
}

char *getTmpBuff1()
{
return tmpBuffer;
}

char *getTmpBuff2()
{
return tmpBuffer;
}
how to discard the functions(getTmpBuff,getTmpBuff1,getTmpBuff2) when linking.

Best regards.


2008-06-02 



jian 
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to