[Bug binutils/10111] strip .o using inline func, then armlink fails

2009-04-29 Thread lijiyou at huawei dot com
--- Additional Comments From lijiyou at huawei dot com 2009-04-30 01:28 --- I don't know the GNU ld before. as you said,I tried ld. I tried many options like: -S -r --discard-none --no-strip-discarded --no-gc- sections,but finally when I use it to armlink,armlink still fails like b

[Bug binutils/10111] strip .o using inline func, then armlink fails

2009-04-29 Thread lijiyou at huawei dot com
--- Additional Comments From lijiyou at huawei dot com 2009-04-29 09:34 --- I tried the -K option as following: strip-new -g -K i.TestInline test2.o -o test2-stripped.o but no useful,armlink still fail like before. and I tried : strip-new -g --keep-file-symbols test2.o -o test2

[Bug binutils/10111] sripe a .o using inline func, the armlink but fail

2009-04-28 Thread lijiyou at huawei dot com
--- Additional Comments From lijiyou at huawei dot com 2009-04-29 02:26 --- My purpose is to using strip to remove debug info in some .o files,and accelerate the link speed. but when I strip one file which this file include inline function,the armlink will fail.even I add "-nor

[Bug binutils/10111] sripe a .o using inline func, the armlink but fail

2009-04-28 Thread lijiyou at huawei dot com
--- Additional Comments From lijiyou at huawei dot com 2009-04-29 02:24 --- Created an attachment (id=3915) --> (http://sourceware.org/bugzilla/attachment.cgi?id=3915&action=view) my test samples -- http://sourceware.org/bugzilla/show_bug.cgi?id=10111 --- You are re

[Bug binutils/10111] New: sripe a .o using inline func, the armlink but fail

2009-04-28 Thread lijiyou at huawei dot com
sing inline func,the armlink but fail Product: binutils Version: 2.19 Status: NEW Severity: critical Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: lijiyou at huawei dot com