aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-03-01 22:35:21 +0000
committerAlan Modra <amodra@gmail.com>2005-03-01 22:35:21 +0000
commit9d0e75cb1b32e4556b06f6be313e885fc5380564 (patch)
tree66aa0504c7e086bc58173f7ade4d1528b7a33677 /gas/expr.c
parent33a3fb7b23777eb4dc2b36349ad7f921c590ae8c (diff)
downloadgdb-9d0e75cb1b32e4556b06f6be313e885fc5380564.zip
gdb-9d0e75cb1b32e4556b06f6be313e885fc5380564.tar.gz
gdb-9d0e75cb1b32e4556b06f6be313e885fc5380564.tar.bz2
* expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
* config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 49517c5..1f50eac 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -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. */