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: binutils testsuite pr21231b


On Mon, Apr 10, 2017 at 08:57:42AM -0700, H.J. Lu wrote:
> On Sun, Apr 9, 2017 at 9:15 PM, Alan Modra <amodra@gmail.com> wrote:
> > You can't emit errors/warnings in _bfd_elf_parse_gnu_properties except
> > for those that will occur for all targets.  Please fix.
> >
> 
> Here is a patch to make generic ELF target vectors the last resort.

Not a good idea.  It sets a bad precedent that the target vector order
can be changed to suit poorly written code.  Next thing you'll be
wanting x86_64_elf64_fbsd_vec to sort before x86_64_elf64_vec, or
someone else will want something similar for other targets, and we'll
have breakage if the vector order is changed.

-- 
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]