@@ -114,6 +114,8 @@ public class ELFhdr {
114
114
public static final int EM_SPARC32PLUS = 18 ;
115
115
public static final int EM_PPC = 20 ;
116
116
public static final int EM_PPC64 = 21 ;
117
+ /** @since 8.5*/
118
+ public static final int EM_V800 = 36 ;
117
119
public static final int EM_ARM = 40 ;
118
120
public static final int EM_SH = 42 ;
119
121
public static final int EM_SPARCV9 = 43 ;
@@ -157,6 +159,10 @@ public class ELFhdr {
157
159
public static final int EM_RL78 = 197 ; /* Renesas RL78 Microcontroller */
158
160
/** @since 6.0 */
159
161
public static final int EM_AARCH64 = 183 ;
162
+ /** @since 8.5 */
163
+ public static final int EM_AVR32 = 185 ;
164
+ /** @since 8.5 */
165
+ public static final int EM_MICROBLAZE = 189 ;
160
166
161
167
/** @since 7.0 */
162
168
public static final int EM_RISCV = 243 ;
@@ -824,6 +830,9 @@ public Attribute getAttributes() throws IOException {
824
830
case Elf .ELFhdr .EM_H8_300H :
825
831
attrib .cpu = "h8300" ; //$NON-NLS-1$
826
832
break ;
833
+ case Elf .ELFhdr .EM_V800 :
834
+ attrib .cpu = "v800" ; //$NON-NLS-1$
835
+ break ;
827
836
case Elf .ELFhdr .EM_V850 :
828
837
case Elf .ELFhdr .EM_CYGNUS_V850 :
829
838
attrib .cpu = "v850" ; //$NON-NLS-1$
@@ -870,6 +879,9 @@ public Attribute getAttributes() throws IOException {
870
879
case Elf .ELFhdr .EM_AVR :
871
880
attrib .cpu = "avr" ; //$NON-NLS-1$
872
881
break ;
882
+ case Elf .ELFhdr .EM_AVR32 :
883
+ attrib .cpu = "avr32" ; //$NON-NLS-1$
884
+ break ;
873
885
case Elf .ELFhdr .EM_MSP430 :
874
886
attrib .cpu = "msp430" ; //$NON-NLS-1$
875
887
break ;
@@ -882,6 +894,7 @@ public Attribute getAttributes() throws IOException {
882
894
case Elf .ELFhdr .EM_X86_64 :
883
895
attrib .cpu = "x86_64" ; //$NON-NLS-1$
884
896
break ;
897
+ case Elf .ELFhdr .EM_MICROBLAZE :
885
898
case Elf .ELFhdr .EM_XILINX_MICROBLAZE :
886
899
attrib .cpu = "microblaze" ; //$NON-NLS-1$
887
900
break ;
0 commit comments