aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-04-11 08:27:48 +0000
committerNick Clifton <nickc@redhat.com>2011-04-11 08:27:48 +0000
commit4e4f7c872bc46d8b26ebe03a61536620de7bcdea (patch)
tree854e5e44b9404aab465614a0a3831904cd2dda36 /gas/config/tc-i386.h
parent249c2423d47e9b0d1ab783d57a0f75026a37210d (diff)
downloadgdb-4e4f7c872bc46d8b26ebe03a61536620de7bcdea.zip
gdb-4e4f7c872bc46d8b26ebe03a61536620de7bcdea.tar.gz
gdb-4e4f7c872bc46d8b26ebe03a61536620de7bcdea.tar.bz2
* config/tc-i386.c (x86_cons): Define even for non-ELF targets.
* config/tc-i386.h (x86_cons): Always prototype.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 6ce88af..bf227c6 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -125,8 +125,8 @@ extern const char *i386_comment_chars;
#if (defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && !defined (LEX_AT)
#define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) x86_cons (EXP, NBYTES)
-extern void x86_cons (expressionS *, int);
#endif
+extern void x86_cons (expressionS *, int);
#define TC_CONS_FIX_NEW(FRAG,OFF,LEN,EXP) x86_cons_fix_new(FRAG, OFF, LEN, EXP)
extern void x86_cons_fix_new