1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

fix enhancement PR 149102 for BlackFin support

This commit is contained in:
Alain Magloire 2006-11-12 19:51:08 +00:00
parent 031c0901af
commit c7d8278a6a

View file

@ -25,10 +25,7 @@ import org.eclipse.cdt.utils.Addr32Factory;
import org.eclipse.cdt.utils.Addr64;
import org.eclipse.cdt.utils.Addr64Factory;
import org.eclipse.cdt.utils.ERandomAccessFile;
import org.eclipse.cdt.utils.coff.Coff.SectionHeader;
import org.eclipse.cdt.utils.coff.PE.Attribute;
import org.eclipse.cdt.utils.debug.dwarf.DwarfReader;
import org.eclipse.cdt.utils.debug.stabs.StabsReader;
// test checkin
public class Elf {
@ -120,6 +117,7 @@ public class Elf {
public final static int EM_MN10300 = 89;
public final static int EM_MN10200 = 90;
public final static int EM_MSP430 = 105;
public final static int EM_BLACKFIN = 106;
public final static int EM_EXCESS = 111;
public final static int EM_NIOSII = 113;
public final static int EM_C166 = 116;
@ -843,6 +841,9 @@ public class Elf {
case Elf.ELFhdr.EM_M16C:
attrib.cpu = "M16C"; //$NON-NLS-1$
break;
case Elf.ELFhdr.EM_BLACKFIN :
attrib.cpu = "bfin"; //$NON-NLS-1$
break;
case Elf.ELFhdr.EM_NONE :
default :
attrib.cpu = "none"; //$NON-NLS-1$