This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The problem is something like this. a.o is an ELF object file containing an undefined symbol b.o is an a.out object file defining the symbol.
If the ld output format is ELF, the link success.
If the ld output format is a.out or "binary", the link fails with "undefined reference".
If I convert b.o to ELF using objcopy, the link succeed in every case.
That sounds like a bug... or maybe I'm trying to make an unsupported mix?
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |