This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] bfd/elfxx-target.h and rx: multi-targets ?
- From: Alan Modra <amodra at gmail dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 2 Jun 2011 10:04:12 +0930
- Subject: Re: [patch] bfd/elfxx-target.h and rx: multi-targets ?
- References: <201106012219.p51MJIOn019516@greed.delorie.com>
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