X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Falpha-opc.c;h=215733e7ef47b8cf7b813c1d62c908396c833bbe;hb=3b646889b0f71fda1e46bde8206d4d6aba7f5387;hp=6be51e51a5e252342f89b2a844649e7b4872d1ac;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/alpha-opc.c b/opcodes/alpha-opc.c index 6be51e51a5..215733e7ef 100644 --- a/opcodes/alpha-opc.c +++ b/opcodes/alpha-opc.c @@ -1,5 +1,5 @@ /* alpha-opc.c -- Alpha AXP opcode list - Copyright (C) 1996-2014 Free Software Foundation, Inc. + Copyright (C) 1996-2020 Free Software Foundation, Inc. Contributed by Richard Henderson , patterned after the PPC opcode handling written by Ian Lance Taylor. @@ -274,7 +274,7 @@ const struct alpha_operand alpha_operands[] = /* The signed "23-bit" aligned displacement of Branch format insns. */ #define BDISP (MDISP + 1) - { 21, 0, BFD_RELOC_23_PCREL_S2, + { 21, 0, BFD_RELOC_23_PCREL_S2, AXP_OPERAND_RELATIVE, insert_bdisp, extract_bdisp }, /* The 26-bit PALcode function */ @@ -332,7 +332,7 @@ const unsigned alpha_num_operands = sizeof(alpha_operands)/sizeof(*alpha_operand /* Macros used to form opcodes. */ /* The main opcode. */ -#define OP(x) (((x) & 0x3F) << 26) +#define OP(x) (((x) & 0x3Fu) << 26) #define OP_MASK 0xFC000000 /* Branch format instructions. */