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: [patch] bfd/elfxx-target.h and rx: multi-targets ?


On Wed, Jun 01, 2011 at 06:19:18PM -0400, DJ Delorie wrote:
> +/* It is possible for a target to include this header twice, providing
> +   it's careful about the differences between the two inclusions, as
> +   long as we only define this static variable once.  See elf32-rx.c
> +   for an example.  */
> +#ifndef ELFNN_BED_DEFINED
> +#define ELFNN_BED_DEFINED 1

Not OK.  Many targets include elfxx-target.h multiple times, and want
a different elfnn_bed for each inclusion.

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