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] Extend powerpc cpu bit mask to 64-bits.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]