Hi Vincent,
(I have not forgotten about this problem, but I am really swamped
just at the moment).
However, I'm quite surprised when I look at the b-cvs-elf.o symbol table : the
_f symbol is both undefined and defined in the .text segment !
This is because of the stab warning - it creates an undefined reference
to the symbol that it is warning about.
I did find that if you rearrange your test case so that the declaration
of _f in b.s occurs before the .stabs directives then the conversion
will work as well.
The problem seems to be that when the undefined reference to _f occurs
in b.s before the definition, then when b.o is converted into ELF format
*two* instances of _f are created, one undefined and one defined, and
when a.o is linked in it is this undefined instance that is used, not
the defined one. I have so far been unable to locate exactly where
these two instances are created in the BFD library. But I am working on
it...
Cheers
Nick
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils