This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Extend powerpc cpu bit mask to 64-bits.
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: binutils at sourceware dot org
- Date: Sat, 14 Jun 2008 01:00:02 +0930
- Subject: Re: [PATCH] Extend powerpc cpu bit mask to 64-bits.
- References: <20080613031146.GA23150@vervain.rchland.ibm.com>
On Thu, Jun 12, 2008 at 10:11:46PM -0500, Peter Bergner wrote:
> The bit mask that is used to hold the cpu type we are assembling/disassembling
> for on powerpc is currently a 32-bit bit mask. As it stands now, we have used
> 30 of the 32 available bits. In the not too distant future, we (IBM) will be
> posting some patches to add support for additional cpus which will push us over
> the limit. This mostly mechanical patch changes the cpu mask to a 64-bit
> bit mask. This has built and make check'ed with no errors. Is it ok for
> mainline?
As Joseph said you can't use stdint.h directly. Use bfd_stdint.h
instead. In fact, until we actually need the extra bits, let's
typedef ppc_cpu_t to unsigned long. OK with that change.
--
Alan Modra
Australia Development Lab, IBM