[PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.
David Miller
davem@davemloft.net
Sun Oct 5 00:22:00 GMT 2014
More information about the Binutils mailing list
Sun Oct 5 00:22:00 GMT 2014
- Previous message (by thread): [PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.
- Next message (by thread): [PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: "Jose E. Marchesi" <jose.marchesi@oracle.com> Date: Thu, 2 Oct 2014 18:19:37 +0200 > -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. In fact I do all of my binutils builds with a 32-bit generating toolset. If you want to store all of the hw capability bits into a single variable, you will need to explicitly use a 64-bit type such as perhap bfd_uint64_t.
- Previous message (by thread): [PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.
- Next message (by thread): [PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list