[PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.

Jose E. Marchesi jose.marchesi@oracle.com
Sun Oct 5 12:47:00 GMT 2014


    
    > -static int hwcap_seen;
    > +static unsigned long hwcap_seen;
     ...
    > -static int hwcap_allowed;
    > +static unsigned long hwcap_allowed;
    ...
    > +	  unsigned long hwcaps
    > +	    = (((unsigned long) insn->hwcaps2) << 32) | insn->hwcaps;
    
    "unsigned long" is not necessarily 64-bits.
    
Oops, sorry for the 64bitism.  I will use bfd_uint64_t instead.



More information about the Binutils mailing list