Set MIPS n32 ABI flag in ELF header if appropriate.

This commit is contained in:
Thiemo Seufer 2001-08-16 21:48:28 +00:00
parent 99c14723f3
commit be00bdddad
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (mips_elf_final_processing): Set elf header flags
for n32 ABI if appropriate.
2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (cons_fix_new_mips): Remove.

View file

@ -11556,6 +11556,10 @@ mips_elf_final_processing ()
else
elf_elfheader (stdoutput)->e_flags |= E_MIPS_ABI_EABI32;
}
else if (strcmp (mips_abi_string, "n32") == 0)
elf_elfheader (stdoutput)->e_flags |= EF_MIPS_ABI2;
/* Nothing to do for "64". */
if (mips_32bitmode)
elf_elfheader (stdoutput)->e_flags |= EF_MIPS_32BITMODE;