mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Bug 465976 aarch64 support in Elf reader
Change-Id: I226efbe1013cb254686979fd4cd48a05f9800c01
This commit is contained in:
parent
9f03bd1ee2
commit
95c65f0a9c
1 changed files with 22 additions and 17 deletions
|
@ -148,6 +148,8 @@ public class Elf {
|
|||
|
||||
/** @since 5.4 */
|
||||
public final static int EM_RL78 = 197; /* Renesas RL78 Microcontroller */
|
||||
/** @since 5.12 */
|
||||
public final static int EM_AARCH64 = 183;
|
||||
|
||||
public final static int EM_NIOS = 0xFEBB;
|
||||
public final static int EM_CYGNUS_POWERPC = 0x9025;
|
||||
|
@ -769,6 +771,9 @@ public class Elf {
|
|||
case Elf.ELFhdr.EM_ARM :
|
||||
attrib.cpu = "arm"; //$NON-NLS-1$
|
||||
break;
|
||||
case Elf.ELFhdr.EM_AARCH64 :
|
||||
attrib.cpu = "aarch64"; //$NON-NLS-1$
|
||||
break;
|
||||
case Elf.ELFhdr.EM_MIPS_RS3_LE :
|
||||
case Elf.ELFhdr.EM_MIPS :
|
||||
attrib.cpu = "mips"; //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue