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: ARM SIM: Accept iWMMXt2 binaries


Hi Guys,

  I am applying the patch below so that the ARM simulator will not
  reject iWMMXt2 ARM binaries.  The patch does not add support for any
  of the new WMMX2 instructions (that may come later), but at least the
  binaries can be loaded and run now.

Cheers
  Nick

sim/arm/ChangeLog
2012-06-13  Nick Clifton  <nickc@redhat.com>

	* wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
	binaries (for now).

Index: sim/arm/wrapper.c
===================================================================
RCS file: /cvs/src/src/sim/arm/wrapper.c,v
retrieving revision 1.44
diff -u -3 -p -r1.44 wrapper.c
--- sim/arm/wrapper.c	24 May 2012 16:51:40 -0000	1.44
+++ sim/arm/wrapper.c	13 Jun 2012 10:04:26 -0000
@@ -270,6 +270,7 @@ sim_create_inferior (sd, abfd, argv, env
       ARMul_SelectProcessor (state, ARM_v5_Prop | ARM_v5e_Prop | ARM_XScale_Prop | ARM_v6_Prop);
       break;
 
+    case bfd_mach_arm_iWMMXt2:
     case bfd_mach_arm_iWMMXt:
       {
 	extern int SWI_vector_installed;


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