Can I link a.out .o with ELF?
H . J . Lu
Sun Jun 4 18:16:00 GMT 2000
On Sun, Jun 04, 2000 at 06:07:39PM -0700, H . J . Lu wrote:
> I believe I used to be able to link a .o file in a.out on an ELF
> system. But now I got
> # gcc -o aout x.o
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped
> on Linux/ia32/ELF. Any ideas?
It seems that it has something to do with symbol versioning. If
the a.out .o calls an unversioned symbol, it works.
More information about the Binutils