This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Can I link a.out .o with ELF?
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: Can I link a.out .o with ELF?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sun, 4 Jun 2000 18:16:36 -0700
- References: <20000604180739.A14233@valinux.com>
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.
H.J.