------- 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: 00000000 0 SECTION LOCAL DEFAULT 5 i.CallTestInline2
..
24: 00000000 0 SECTION LOCAL DEFAULT 6 i.TestInline
with
6: 00000000 0 SECTION LOCAL DEFAULT 1
7: 00000000 0 SECTION LOCAL DEFAULT 2
8: 00000000 0 SECTION LOCAL DEFAULT 4
You get one extra, for .comment, and the ones for i.CallTestInline2 and
i.TestInline sections no longer have names. Presumably a bug in armlink fails
to interpret these section symbols properly.
This odd behaviour of strip is due to strip removing the section symbols (since
they are not used in any relocs), but bfd/elf.c:elf_map_symbols adds back a
section symbol for all normal sections.
You may be able to work around this by telling strip to keep the original
section symbols with the -K option.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
GCC build triplet|make armlink |
GCC target triplet|arm |arm-elf
Summary|sripe a .o using inline |strip .o using inline func,
|func,the armlink but fail |then armlink fails
http://sourceware.org/bugzilla/show_bug.cgi?id=10111
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils