This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.
- From: jose dot marchesi at oracle dot com (Jose E. Marchesi)
- To: David Miller <davem at davemloft dot net>
- Cc: binutils at sourceware dot org
- Date: Sun, 05 Oct 2014 14:38:01 +0200
- Subject: Re: [PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.
- Authentication-results: sourceware.org; auth=none
- References: <1412266782-14873-1-git-send-email-jose dot marchesi at oracle dot com> <1412266782-14873-5-git-send-email-jose dot marchesi at oracle dot com> <20141004 dot 202206 dot 345746553279242002 dot davem at davemloft dot net>
> -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.