mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Fix for Bug 171421 - CDT ELF parser do not detect COLDFIRE cpu from ELF machine id (patch by Uwe Stieber)
This commit is contained in:
parent
db7ea396ea
commit
24f59a092f
1 changed files with 4 additions and 0 deletions
|
@ -108,6 +108,7 @@ public class Elf {
|
||||||
public final static int EM_H8_300 = 46;
|
public final static int EM_H8_300 = 46;
|
||||||
public final static int EM_H8_300H = 47;
|
public final static int EM_H8_300H = 47;
|
||||||
public final static int EM_IA_64 = 50;
|
public final static int EM_IA_64 = 50;
|
||||||
|
public final static int EM_COLDFIRE = 52;
|
||||||
public final static int EM_X86_64 = 62;
|
public final static int EM_X86_64 = 62;
|
||||||
public final static int EM_ST100 = 60;
|
public final static int EM_ST100 = 60;
|
||||||
public final static int EM_AVR = 83;
|
public final static int EM_AVR = 83;
|
||||||
|
@ -817,6 +818,9 @@ public class Elf {
|
||||||
case Elf.ELFhdr.EM_IA_64 :
|
case Elf.ELFhdr.EM_IA_64 :
|
||||||
attrib.cpu = "ia64"; //$NON-NLS-1$
|
attrib.cpu = "ia64"; //$NON-NLS-1$
|
||||||
break;
|
break;
|
||||||
|
case Elf.ELFhdr.EM_COLDFIRE:
|
||||||
|
attrib.cpu = "coldfire"; //$NON-NLS-1$
|
||||||
|
break;
|
||||||
case Elf.ELFhdr.EM_AVR :
|
case Elf.ELFhdr.EM_AVR :
|
||||||
attrib.cpu = "avr"; //$NON-NLS-1$
|
attrib.cpu = "avr"; //$NON-NLS-1$
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue