Blame SOURCES/gdb-rhbz1420304-s390x-03of35.patch

e1d87d
commit bfcfbe611b4d7e650236f8b8ba7d0706cfe6a0b7
e1d87d
Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
e1d87d
Date:   Mon May 29 12:33:15 2017 +0200
e1d87d
e1d87d
    S/390: Remove optional operand flag.
e1d87d
    
e1d87d
    The per operand optional flag hasn't been used for quite some time.
e1d87d
    Cleanup some remains.
e1d87d
    
e1d87d
    include/ChangeLog:
e1d87d
    
e1d87d
    2017-05-30  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
e1d87d
    
e1d87d
            * opcode/s390.h: Remove S390_OPERAND_OPTIONAL.
e1d87d
    
e1d87d
    gas/ChangeLog:
e1d87d
    
e1d87d
    2017-05-30  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
e1d87d
    
e1d87d
            * config/tc-s390.c (md_gather_operands): Remove code dealing with
e1d87d
            S390_OPERAND_OPTIONAL.
e1d87d
e1d87d
--- a/include/opcode/s390.h
e1d87d
+++ b/include/opcode/s390.h
e1d87d
@@ -156,21 +156,17 @@ extern const struct s390_operand s390_operands[];
e1d87d
 /* This operand is a length.  */
e1d87d
 #define S390_OPERAND_LENGTH 0x200
e1d87d
 
e1d87d
-/* This operand is optional. Only a single operand at the end of
e1d87d
-   the instruction may be optional.  */
e1d87d
-#define S390_OPERAND_OPTIONAL 0x400
e1d87d
-
e1d87d
 /* The operand needs to be a valid GP or FP register pair.  */
e1d87d
-#define S390_OPERAND_REG_PAIR 0x800
e1d87d
+#define S390_OPERAND_REG_PAIR 0x400
e1d87d
 
e1d87d
 /* This operand names a vector register.  The disassembler uses this
e1d87d
    to print register names with a leading 'v'.  */
e1d87d
-#define S390_OPERAND_VR 0x1000
e1d87d
+#define S390_OPERAND_VR 0x800
e1d87d
 
e1d87d
-#define S390_OPERAND_CP16 0x2000
e1d87d
+#define S390_OPERAND_CP16 0x1000
e1d87d
 
e1d87d
-#define S390_OPERAND_OR1 0x4000
e1d87d
-#define S390_OPERAND_OR2 0x8000
e1d87d
-#define S390_OPERAND_OR8 0x10000
e1d87d
+#define S390_OPERAND_OR1 0x2000
e1d87d
+#define S390_OPERAND_OR2 0x4000
e1d87d
+#define S390_OPERAND_OR8 0x8000
e1d87d
 
e1d87d
 #endif /* S390_H */