diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-07-18 15:24:41 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-07-18 15:24:41 +0000 |
commit | 718ddfc073092b46dde6d7c1eea2057808f8e554 (patch) | |
tree | 51fa14cb1bbf0000e9aee9a1ce79a607442369f4 /gas/config/tc-i386.h | |
parent | ad94be02019fd904a1dac0860bfa6d8457e6caef (diff) | |
download | gdb-718ddfc073092b46dde6d7c1eea2057808f8e554.zip gdb-718ddfc073092b46dde6d7c1eea2057808f8e554.tar.gz gdb-718ddfc073092b46dde6d7c1eea2057808f8e554.tar.bz2 |
gas/
2005-07-18 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (md_begin): Use IS_ELF.
(tc_i386_fix_adjustable): Likewise.
(md_estimate_size_before_relax): Likewise.
(md_apply_fix): Likewise.
(i386_target_format): Likewise.
(lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF.
(i386_immediate): Remove #ifdef LEX_AT.
(i386_displacement): Likewise.
* config/tc-i386.h (x86_cons): Prototype only when ELF and when not
LEX_AT.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r-- | gas/config/tc-i386.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 4acf3c1..0bd0660 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -391,7 +391,7 @@ arch_entry; #define GLOBAL_OFFSET_TABLE_NAME "_GLOBAL_OFFSET_TABLE_" #endif -#ifndef LEX_AT +#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 PARAMS ((expressionS *, int)); |