binutils/
[deliverable/binutils-gdb.git] / gas / config / tc-alpha.c
index 2d0407847ac8b1f98793cfb3dc3651ef6daf0a2a..29fa9220152ccf2f0a649faa1f4a01269917c04e 100644 (file)
@@ -1968,7 +1968,8 @@ assemble_insn (const struct alpha_opcode *opcode,
        {
          reloc_howto_type *reloc_howto
            = bfd_reloc_type_lookup (stdoutput, reloc);
-         if (reloc_howto->bitsize != reloc_operand->bits)
+         if (reloc_operand == NULL
+             || reloc_howto->bitsize != reloc_operand->bits)
            {
              as_bad (_("invalid relocation for field"));
              return;
This page took 0.02343 seconds and 4 git commands to generate.