Browse Source

* config/tc-i386.c (x86_elf_abi): Only define for targets that use

it.
gdb_7_3-branch
Nick Clifton 16 years ago
parent
commit
7af8ed2d47
  1. 5
      gas/ChangeLog
  2. 5
      gas/config/tc-i386.c

5
gas/ChangeLog

@ -1,3 +1,8 @@
2011-01-10 Nick Clifton <nickc@redhat.com>
* config/tc-i386.c (x86_elf_abi): Only define for targets that use
it.
2011-01-10 Nick Clifton <nickc@redhat.com> 2011-01-10 Nick Clifton <nickc@redhat.com>
* config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only

5
gas/config/tc-i386.c

@ -391,6 +391,10 @@ static enum flag_code flag_code;
static unsigned int object_64bit; static unsigned int object_64bit;
static int use_rela_relocations = 0; static int use_rela_relocations = 0;
#if ((defined (OBJ_MAYBE_COFF) && defined (OBJ_MAYBE_AOUT)) \
|| defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) \
|| defined (TE_PE) || defined (TE_PEP) || defined (OBJ_MACH_O))
/* The ELF ABI to use. */ /* The ELF ABI to use. */
enum x86_elf_abi enum x86_elf_abi
{ {
@ -400,6 +404,7 @@ enum x86_elf_abi
}; };
static enum x86_elf_abi x86_elf_abi = I386_ABI; static enum x86_elf_abi x86_elf_abi = I386_ABI;
#endif
/* The names used to print error messages. */ /* The names used to print error messages. */
static const char *flag_code_names[] = static const char *flag_code_names[] =

Loading…
Cancel
Save