aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-04-10 13:00:02 +0000
committerAlan Modra <amodra@gmail.com>2002-04-10 13:00:02 +0000
commitedde18a5779830b43398f9f658f1705c50924fdc (patch)
tree1e10469ba583529ee480b1a0e215857c750697e1 /gas/config
parent8cfda98c96e1f0ed4da4d3fc7f05ab62f80a1bca (diff)
downloadgdb-edde18a5779830b43398f9f658f1705c50924fdc.zip
gdb-edde18a5779830b43398f9f658f1705c50924fdc.tar.gz
gdb-edde18a5779830b43398f9f658f1705c50924fdc.tar.bz2
* as.c (parse_args <OPTION_VERSION>): Use VERSION is
BFD_VERSION_STRING unavailable. * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 2567b4c..1d874af 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -58,6 +58,14 @@
#define DEFAULT_ARCH "i386"
#endif
+#ifndef INLINE
+#if __GNUC__ >= 2
+#define INLINE __inline__
+#else
+#define INLINE
+#endif
+#endif
+
static INLINE unsigned int mode_from_disp_size PARAMS ((unsigned int));
static INLINE int fits_in_signed_byte PARAMS ((offsetT));
static INLINE int fits_in_unsigned_byte PARAMS ((offsetT));