This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch/mips] select EABI64 when EABI64, not EABI32


FYI,

	Andrew
Sat Jun 17 15:39:28 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	* mips-tdep.c (mips_gdbarch_init): When the object file header
 	specifies EABI64, select EABI64 and not EABI32.

Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.17
diff -p -r1.17 mips-tdep.c
*** mips-tdep.c	2000/06/12 04:35:39	1.17
--- mips-tdep.c	2000/06/17 05:40:39
*************** mips_gdbarch_init (info, arches)
*** 3871,3877 ****
        mips_abi = MIPS_ABI_EABI32;
        break;
      case E_MIPS_ABI_EABI64:
!       mips_abi = MIPS_ABI_EABI32;
        break;
      default:
        mips_abi = MIPS_ABI_UNKNOWN;
--- 3871,3877 ----
        mips_abi = MIPS_ABI_EABI32;
        break;
      case E_MIPS_ABI_EABI64:
!       mips_abi = MIPS_ABI_EABI64;
        break;
      default:
        mips_abi = MIPS_ABI_UNKNOWN;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]