mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* crx-dis.c (EXTRACT): Make macro work on 64-bit hosts.
This commit is contained in:
parent
0bd7906139
commit
a854efa328
@ -1,3 +1,7 @@
|
||||
2006-05-22 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* crx-dis.c (EXTRACT): Make macro work on 64-bit hosts.
|
||||
|
||||
2006-05-22 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* po/nl.po: Updated translation.
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
/* Extract 'n_bits' from 'a' starting from offset 'offs'. */
|
||||
#define EXTRACT(a, offs, n_bits) \
|
||||
(n_bits == 32 ? (((a) >> (offs)) & ~0L) \
|
||||
(n_bits == 32 ? (((a) >> (offs)) & 0xffffffffL) \
|
||||
: (((a) >> (offs)) & ((1 << (n_bits)) -1)))
|
||||
|
||||
/* Set Bit Mask - a mask to set all bits starting from offset 'offs'. */
|
||||
|
Loading…
Reference in New Issue
Block a user