RISC-V: Improve the version parsing for arch string.
[binutils-gdb.git] / include / opcode / dlx.h
index 54dadd07277fd5ec2d33a104f9abd34897f762db..b0c984a686b9fe3373fce5ed6b3a206fd20938f5 100644 (file)
@@ -1,5 +1,5 @@
 /* Table of opcodes for the DLX microprocess.
-   Copyright 2002, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2002-2020 Free Software Foundation, Inc.
 
    This file is part of GDB and GAS.
 
 struct dlx_opcode
 {
   /* Name of the instruction.  */
-  char *name;
+  const char *name;
 
   /* Opcode word.  */
   unsigned long opcode;
@@ -161,7 +161,7 @@ struct dlx_opcode
      D       An immediate operand is in bits 0-25 of the instruction.
      N       No opperands needed, for nops.
      P       it can be a register or a 16 bit operand.  */
-  char *args;
+  const char *args;
 };
 
 static const struct dlx_opcode dlx_opcodes[] =