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: bfd target vector rationalisation


On Wed, Apr 30, 2014 at 04:42:48PM +0200, Tristan Gingold wrote:
> 
> On 30 Apr 2014, at 16:35, Alan Modra <amodra@gmail.com> wrote:
> 
> > This renames the bfd targets to <cpu>_<format>_<other>_<endian>_vec.
> > So for example, bfd_elf32_ntradlittlemips_vec becomes
> > mips_elf32_ntrad_le_vec and hp300bsd_vec becomes m68k_aout_hp300bsd_vec.
> 
> Shouldn't this convention be documented (for example in targets.c) ?

Good point.  I added this to the comment:

	   Try to keep it in order when adding new targets, and
	   use a name of the form <cpu>_<format>_<other>_<endian>_vec.
	   Note that sorting is done as if _<endian>_vec wasn't present.

Now committed.

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