* expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
authorAlan Modra <amodra@gmail.com>
Tue, 1 Mar 2005 22:35:21 +0000 (22:35 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 1 Mar 2005 22:35:21 +0000 (22:35 +0000)
* config/tc-m68k.h (TARGET_WORD_SIZE): Delete.

gas/ChangeLog
gas/config/tc-m68k.h
gas/expr.c

index 4aaef65..63ee0ec 100644 (file)
@@ -1,5 +1,8 @@
 2005-03-02  Alan Modra  <amodra@bigpond.net.au>
 
+       * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
+       * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
+
        * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
 
 2005-03-01  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
index 559d5e3..123b824 100644 (file)
@@ -1,6 +1,6 @@
 /* This file is tc-m68k.h
    Copyright 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-   1998, 1999, 2000, 2001, 2002, 2003, 2004
+   1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -206,7 +206,6 @@ extern int m68k_parse_long_option PARAMS ((char *));
 
 #define md_operand(x)
 
-#define TARGET_WORD_SIZE 32
 #define TARGET_ARCH bfd_arch_m68k
 
 extern struct relax_type md_relax_table[];
index 49517c5..1f50eac 100644 (file)
@@ -1,6 +1,6 @@
 /* expr.c -operands, expressions-
    Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001, 2002
+   1999, 2000, 2001, 2002, 2003, 2004, 2005
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -609,10 +609,6 @@ integer_constant (int radix, expressionS *expressionP)
       else
        {
          expressionP->X_op = O_constant;
-#ifdef TARGET_WORD_SIZE
-         /* Sign extend NUMBER.  */
-         number |= (-(number >> (TARGET_WORD_SIZE - 1))) << (TARGET_WORD_SIZE - 1);
-#endif
          expressionP->X_add_number = number;
          input_line_pointer--; /* Restore following character.  */
        }                       /* Really just a number.  */