https://sourceware.org/bugzilla/show_bug.cgi?id=10111
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|NEW
--- 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 before.
--- Additional Comments From amodra at bigpond dot net dot au 2009-04-29
12:54 ---
I checked strip -K myself, and, yes, it won't help. You still lose the name on
any section symbols in elf.c:swap_out_syms. So I don't think there is any way
you can use the GNU tools to strip debug secti
--- 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-strippe
--- Additional Comments From amodra at bigpond dot net dot au 2009-04-29
06:14 ---
This would appear to be due to strip replacing section symbols in test2.o
18: 0 SECTION LOCAL DEFAULT5 i.CallTestInline2
..
24: 0 SECTION LOCAL DEFAULT6 i.TestI