This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Not linking 32-bit and 64-bit objects
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Andreas Jaeger <aj at suse dot de>, Martin Schwidefsky <schwidefsky at de dot ibm dot com>, Peter Bergner <bergner at brule dot borg dot umn dot edu>, Alan Modra <amodra at bigpond dot net dot au>, <binutils at sources dot redhat dot com>
- Date: Tue, 12 Mar 2002 21:05:38 -0500 (EST)
- Subject: Re: Not linking 32-bit and 64-bit objects
On Tue, 12 Mar 2002, Hans-Peter Nilsson wrote:
> Putting the test in
> bfd_merge_private_bfd_data gives you an error (in the case of
> library files, the file is ignored).
... provided you have a check in your elf_backend_object_p that
prevents mismatching elf-sizes from being recognized.
Or try getting that test generically in elfcode.h:elf_object_p.
brgds, H-P