mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 02:36:01 +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_300H = 47;
|
||||
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_ST100 = 60;
|
||||
public final static int EM_AVR = 83;
|
||||
|
@ -817,6 +818,9 @@ public class Elf {
|
|||
case Elf.ELFhdr.EM_IA_64 :
|
||||
attrib.cpu = "ia64"; //$NON-NLS-1$
|
||||
break;
|
||||
case Elf.ELFhdr.EM_COLDFIRE:
|
||||
attrib.cpu = "coldfire"; //$NON-NLS-1$
|
||||
break;
|
||||
case Elf.ELFhdr.EM_AVR :
|
||||
attrib.cpu = "avr"; //$NON-NLS-1$
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue