This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

[commit] Handle ARM EABI version 5 quietly


>From GDB's perspective, EABI v4 and v5 are the same; v4 was used during
development, and is still used by the GNU tools, and ARM's compilers
generate v5 in the ELF header.

Tested on arm-none-eabi and committed.

-- 
Daniel Jacobowitz
CodeSourcery

2006-11-02  Daniel Jacobowitz  <dan@codesourcery.com>

	* arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.

Index: gdb/arm-tdep.c
===================================================================
RCS file: /scratch/gcc/repos/src/src/gdb/arm-tdep.c,v
retrieving revision 1.214
diff -u -p -r1.214 arm-tdep.c
--- gdb/arm-tdep.c	1 Aug 2006 18:27:51 -0000	1.214
+++ gdb/arm-tdep.c	2 Nov 2006 20:35:53 -0000
@@ -2635,6 +2635,7 @@ arm_gdbarch_init (struct gdbarch_info in
 		  break;
 
 		case EF_ARM_EABI_VER4:
+		case EF_ARM_EABI_VER5:
 		  arm_abi = ARM_ABI_AAPCS;
 		  /* EABI binaries default to VFP float ordering.  */
 		  if (fp_model == ARM_FLOAT_AUTO)


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