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]

Re: relocs_compatible hook considered harmful


On Wed, Apr 23, 2008 at 10:09:15PM -0400, Daniel Jacobowitz wrote:
> Still... if a file is incompatible enough that we can't check its
> relocs, why're we telling the backend to process them anyway?

It boils down to whether an input file passes the particular backend
bfd_check_format_matches.  For ELF, this is elf_object_p.  If a
backend needs further restrictions for some reason, I guess it could
implement elf_backend_object_p.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]