* config/tc-mips.c (mips_target_format): Fix formatting.
Add recognition of n32 ABI formats.
This commit is contained in:
parent
7808a785c5
commit
cfe86eaadc
|
@ -1,3 +1,8 @@
|
||||||
|
2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
|
* config/tc-mips.c (mips_target_format): Fix formatting.
|
||||||
|
Add recognition of n32 ABI formats.
|
||||||
|
|
||||||
2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
|
||||||
* tc-mips.c (load_address): Don't clobber $at when loading a
|
* tc-mips.c (load_address): Don't clobber $at when loading a
|
||||||
|
|
|
@ -989,17 +989,26 @@ mips_target_format ()
|
||||||
return "pe-mips";
|
return "pe-mips";
|
||||||
case bfd_target_elf_flavour:
|
case bfd_target_elf_flavour:
|
||||||
#ifdef TE_TMIPS
|
#ifdef TE_TMIPS
|
||||||
/* This is traditional mips */
|
/* This is traditional mips. */
|
||||||
return (target_big_endian
|
return (target_big_endian
|
||||||
? (HAVE_64BIT_OBJECTS ? "elf64-tradbigmips"
|
? (HAVE_64BIT_OBJECTS
|
||||||
: "elf32-tradbigmips")
|
? "elf64-tradbigmips"
|
||||||
: (HAVE_64BIT_OBJECTS ? "elf64-tradlittlemips"
|
: (HAVE_NEWABI
|
||||||
: "elf32-tradlittlemips"));
|
? "elf32-ntradbigmips" : "elf32-tradbigmips"))
|
||||||
|
: (HAVE_64BIT_OBJECTS
|
||||||
|
? "elf64-tradlittlemips"
|
||||||
|
: (HAVE_NEWABI
|
||||||
|
? "elf32-ntradlittlemips" : "elf32-tradlittlemips")));
|
||||||
#else
|
#else
|
||||||
return (target_big_endian
|
return (target_big_endian
|
||||||
? (HAVE_64BIT_OBJECTS ? "elf64-bigmips" : "elf32-bigmips")
|
? (HAVE_64BIT_OBJECTS
|
||||||
: (HAVE_64BIT_OBJECTS ? "elf64-littlemips"
|
? "elf64-bigmips"
|
||||||
: "elf32-littlemips"));
|
: (HAVE_NEWABI
|
||||||
|
? "elf32-nbigmips" : "elf32-bigmips"))
|
||||||
|
: (HAVE_64BIT_OBJECTS
|
||||||
|
? "elf64-littlemips"
|
||||||
|
: (HAVE_NEWABI
|
||||||
|
? "elf32-nlittlemips" : "elf32-littlemips")));
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
abort ();
|
abort ();
|
||||||
|
|
Loading…
Reference in New Issue