* elf32-mips.c (elf_mips_abi_name): Return the right ABI string for

E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64
This commit is contained in:
Thiemo Seufer 2001-08-25 01:27:54 +00:00
parent dda688fcad
commit aee61b1396
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2001-08-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* elf32-mips.c (elf_mips_abi_name): Return the right ABI string for
E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64
2001-08-24 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_merge_sections): Fail if not using an ELF

View file

@ -1928,15 +1928,15 @@ elf_mips_abi_name (abfd)
{
flagword flags;
if (ABI_N32_P (abfd))
return "N32";
else if (ABI_64_P (abfd))
return "64";
flags = elf_elfheader (abfd)->e_flags;
switch (flags & EF_MIPS_ABI)
{
case 0:
if (ABI_N32_P (abfd))
return "N32";
else if (ABI_64_P (abfd))
return "64";
else
return "none";
case E_MIPS_ABI_O32:
return "O32";