This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: pef.c:bfd_pef_object_p breaks other targets
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Klee Dienes <kdienes at apple dot com>, binutils at sources dot redhat dot com
- Date: Fri, 8 Nov 2002 09:57:34 +1030
- Subject: Re: pef.c:bfd_pef_object_p breaks other targets
- References: <20021107231303.GG967@bubble.sa.bigpond.net.au>
On Fri, Nov 08, 2002 at 09:43:03AM +1030, Alan Modra wrote:
> You can't just willy nilly assign to abfd->tdata. It's a union and
> may contain valid tdata for some other format. See elf_object_p
> for what needs to be done.
>
> Until this is fixed, I'm disabling pef from the targets appearing
> with --enable-targets=all.
>
> * targets.c (_bfd_target_vector): Disable pef_vec and pef_xlib_vec.
sym_vec too.
--
Alan Modra
IBM OzLabs - Linux Technology Centre