bfd target vector rationalisation

Alan Modra amodra@gmail.com
Fri May 2 10:44:00 GMT 2014


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



More information about the Binutils mailing list