From 7a0a8bd1f8f649e4fd2e16280770ccb55f1df3f2 Mon Sep 17 00:00:00 2001 From: John Cortell Date: Sun, 11 Feb 2007 15:08:58 +0000 Subject: [PATCH] Add Freescale StarCore machine recognition (173784)) --- .../utils/org/eclipse/cdt/utils/elf/Elf.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java index 0ef09c4b363..0184bbb586d 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/elf/Elf.java @@ -109,6 +109,7 @@ public class Elf { public final static int EM_H8_300H = 47; public final static int EM_IA_64 = 50; public final static int EM_COLDFIRE = 52; + public final static int EM_STARCORE = 58; public final static int EM_X86_64 = 62; public final static int EM_ST100 = 60; public final static int EM_AVR = 83; @@ -846,6 +847,9 @@ public class Elf { case Elf.ELFhdr.EM_M16C: attrib.cpu = "M16C"; //$NON-NLS-1$ break; + case Elf.ELFhdr.EM_STARCORE: + attrib.cpu = "StarCore"; //$NON-NLS-1$ + break; case Elf.ELFhdr.EM_BLACKFIN : attrib.cpu = "bfin"; //$NON-NLS-1$ break;