mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-14 06:09:10 +00:00
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.
This commit is contained in:
parent
3aad21cf47
commit
0561d57c86
@ -1,3 +1,11 @@
|
||||
2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
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.
|
||||
|
||||
2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
|
||||
|
||||
PR gas/10479
|
||||
|
@ -8087,7 +8087,10 @@ i386_target_format (void)
|
||||
case bfd_target_aout_flavour:
|
||||
return AOUT_TARGET_FORMAT;
|
||||
#endif
|
||||
#ifdef OBJ_MAYBE_COFF
|
||||
#ifdef TE_GO32
|
||||
case bfd_target_coff_flavour:
|
||||
return "coff-go32";
|
||||
#elif defined (OBJ_MAYBE_COFF)
|
||||
case bfd_target_coff_flavour:
|
||||
return "coff-i386";
|
||||
#endif
|
||||
|
@ -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
|
||||
|
@ -22,8 +22,6 @@
|
||||
#define LOCAL_LABELS_DOLLAR 1
|
||||
#define LOCAL_LABELS_FB 1
|
||||
|
||||
#define TARGET_FORMAT "coff-go32"
|
||||
|
||||
/* GAS should treat '.align value' as an alignment of 2**value. */
|
||||
#define USE_ALIGN_PTWO
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user