[PATCH] Extend powerpc cpu bit mask to 64-bits.

Alan Modra amodra@bigpond.net.au
Fri Jun 13 15:44:00 GMT 2008


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



More information about the Binutils mailing list