aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-02-25 18:59:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-02-25 18:59:52 +0000
commit784788d2f758e76488ce5c12242fb97907d27b53 (patch)
tree3158392371b0c5c2b3d2d917ca958b14d182c150
parent89c83b10fbb1bc4c78a450498b0c5e00285b8754 (diff)
downloadgdb-784788d2f758e76488ce5c12242fb97907d27b53.zip
gdb-784788d2f758e76488ce5c12242fb97907d27b53.tar.gz
gdb-784788d2f758e76488ce5c12242fb97907d27b53.tar.bz2
2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (fits_in_imm4): Removed.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-i386.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d84cb47..140623d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (fits_in_imm4): Removed.
+
2009-02-24 Helge Deller <deller@gmx.de>
* config/tc-hppa.c (pa_ip): Add check of immediate values.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index e780759..1f8cc10 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -1673,12 +1673,6 @@ fits_in_unsigned_long (offsetT num ATTRIBUTE_UNUSED)
#endif
} /* fits_in_unsigned_long() */
-static INLINE int
-fits_in_imm4 (offsetT num)
-{
- return (num & 0xf) == num;
-}
-
static i386_operand_type
smallest_imm_type (offsetT num)
{