Ask for helping about LD linker

2008-06-01 Thread jian
Buff2() { 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

Re: Re: Ask for helping about LD linker

2008-06-02 Thread jian
Dear Nick, I see, thank you so much. Best regards 2008-06-02 jian 发件人: Nick Clifton 发送时间: 2008-06-02 16:32:40 收件人: jian 抄送: bug-binutils 主题: Re: Ask for helping about LD linker Hi Jian, > But how to remove the unused functions in system library(maybe compile > the

Re: Re: Ask for helping about LD linker

2008-06-02 Thread jian
Dear Nick, Thanks for your advice,It works well according to your advice. But how to remove the unused functions in system library(maybe compile the system library without --funciton-sections) when linking program. Best regards. 2008-06-02 jian 发件人: Nick Clifton 发送时间: 2008-06-02 15:08