diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-08-10 21:32:26 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-08-10 21:32:26 +0000 |
commit | 0561d57c86bcec2cb9203d682a636928a6ea1352 (patch) | |
tree | 04d2c4487f5201995b320b9ff0591699438c9ba0 /gas/config/tc-i386.h | |
parent | 3aad21cf47cf21a777acc6dbd0853049976eb219 (diff) | |
download | gdb-0561d57c86bcec2cb9203d682a636928a6ea1352.zip gdb-0561d57c86bcec2cb9203d682a636928a6ea1352.tar.gz gdb-0561d57c86bcec2cb9203d682a636928a6ea1352.tar.bz2 |
gas/
Fix compilation of i386-*-go32.
* config/tc-i386.c (i386_target_format <TE_GO32>): New.
(i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
* config/te-go32.h (TARGET_FORMAT): Move the definition ...
* config/tc-i386.h <!i386_target_format>: ... here.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r-- | gas/config/tc-i386.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index b51a9f4..3d89a32 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -81,6 +81,9 @@ extern unsigned long i386_mach (void); extern const char *i386_target_format (void); #define TARGET_FORMAT i386_target_format () #else +#ifdef TE_GO32 +#define TARGET_FORMAT "coff-go32" +#endif #ifdef OBJ_AOUT #define TARGET_FORMAT AOUT_TARGET_FORMAT #endif |