This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Remove redundant bits from "fa", "da" and "ed" flags


Hi Guys,

  It was pointed out recently on the bug-gnu-utils list that the
  "fa", "da" and "ed" flags in the ARM sources for GAS have a
  redundant (bit harmless) bit set.  This patch removes that bit,
  making the sources slightly more intuitive.

Cheers
	Nick

2001-01-18  Nick Clifton  <nickc@redhat.com>

	* config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
	"da" flags.
	(stm_flags): Remove redundant bit from "ed" and	"da" flags.

Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvs/src//src/gas/config/tc-arm.c,v
retrieving revision 1.71
diff -p -r1.71 tc-arm.c
*** tc-arm.c	2001/01/11 01:40:18	1.71
--- tc-arm.c	2001/01/19 04:20:49
*************** static CONST struct asm_flg ldm_flags[] 
*** 344,367 ****
    {"ed", 0x01800000},
    {"fd", 0x00800000},
    {"ea", 0x01000000},
!   {"fa", 0x08000000},
    {"ib", 0x01800000},
    {"ia", 0x00800000},
    {"db", 0x01000000},
!   {"da", 0x08000000},
    {NULL, 0}
  };
  
  static CONST struct asm_flg stm_flags[] =
  {
!   {"ed", 0x08000000},
    {"fd", 0x01000000},
    {"ea", 0x00800000},
    {"fa", 0x01800000},
    {"ib", 0x01800000},
    {"ia", 0x00800000},
    {"db", 0x01000000},
!   {"da", 0x08000000},
    {NULL, 0}
  };
  
--- 344,367 ----
    {"ed", 0x01800000},
    {"fd", 0x00800000},
    {"ea", 0x01000000},
!   {"fa", 0x00000000},
    {"ib", 0x01800000},
    {"ia", 0x00800000},
    {"db", 0x01000000},
!   {"da", 0x00000000},
    {NULL, 0}
  };
  
  static CONST struct asm_flg stm_flags[] =
  {
!   {"ed", 0x00000000},
    {"fd", 0x01000000},
    {"ea", 0x00800000},
    {"fa", 0x01800000},
    {"ib", 0x01800000},
    {"ia", 0x00800000},
    {"db", 0x01000000},
!   {"da", 0x00000000},
    {NULL, 0}
  };
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]