##// END OF EJS Templates
Fixed Win32 build but lppmonplot python wrapper still broken!
Jeandet Alexis -
r49:d9c54528bd30 Win32 build Ok default
parent child
Show More
Add another comment
@@ -23,6 +23,7
23 ----------------------------------------------------------------------------*/
23 ----------------------------------------------------------------------------*/
24 #include "elffile.h"
24 #include "elffile.h"
25 #include "srec/srecfile.h"
25 #include "srec/srecfile.h"
26 #include <stdint.h>
26
27
27 ElfFile::ElfFile()
28 ElfFile::ElfFile()
28 :abstractBinFile()
29 :abstractBinFile()
@@ -479,8 +480,7
479 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SYSV)return "Alias";
480 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SYSV)return "Alias";
480 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_HPUX)return "HP-UX";
481 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_HPUX)return "HP-UX";
481 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_NETBSD)return "NetBSD";
482 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_NETBSD)return "NetBSD";
482 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_GNU)return "Object uses GNU ELF extensions";
483 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_LINUX)return "Object uses GNU ELF extensions";
483 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_LINUX)return "Compatibility alias";
484 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SOLARIS)return "Sun Solaris";
484 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SOLARIS)return "Sun Solaris";
485 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_AIX)return "IBM AIX";
485 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_AIX)return "IBM AIX";
486 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_IRIX)return "SGI Irix";
486 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_IRIX)return "SGI Irix";
@@ -155,8 +155,7
155 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SYSV)return "Alias";
155 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SYSV)return "Alias";
156 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_HPUX)return "HP-UX";
156 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_HPUX)return "HP-UX";
157 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_NETBSD)return "NetBSD";
157 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_NETBSD)return "NetBSD";
158 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_GNU)return "Object uses GNU ELF extensions";
158 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_LINUX)return "Object uses GNU ELF extensions";
159 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_LINUX)return "Compatibility alias";
160 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SOLARIS)return "Sun Solaris";
159 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_SOLARIS)return "Sun Solaris";
161 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_AIX)return "IBM AIX";
160 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_AIX)return "IBM AIX";
162 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_IRIX)return "SGI Irix";
161 if(this->ehdr.e_ident[EI_OSABI]==ELFOSABI_IRIX)return "SGI Irix";
@@ -168,6 +168,7
168 #define ELFOSABI_NSK 14 /* Hewlett-Packard Non-Stop Kernel */
168 #define ELFOSABI_NSK 14 /* Hewlett-Packard Non-Stop Kernel */
169 #define ELFOSABI_AROS 15 /* Amiga Research OS */
169 #define ELFOSABI_AROS 15 /* Amiga Research OS */
170 /* these are probably obsolete: */
170 /* these are probably obsolete: */
171 #define ELFOSABI_ARM_AEABI 64 /* ARM EABI */
171 #define ELFOSABI_ARM 97 /* ARM */
172 #define ELFOSABI_ARM 97 /* ARM */
172 #define ELFOSABI_STANDALONE 255 /* standalone (embedded) application */
173 #define ELFOSABI_STANDALONE 255 /* standalone (embedded) application */
173
174
@@ -213,7 +214,7
213 #define EM_RH32 38 /* TRW RH-32 */
214 #define EM_RH32 38 /* TRW RH-32 */
214 #define EM_RCE 39 /* Motorola RCE */
215 #define EM_RCE 39 /* Motorola RCE */
215 #define EM_ARM 40 /* Advanced RISC Machines ARM */
216 #define EM_ARM 40 /* Advanced RISC Machines ARM */
216 #define EM_ALPHA 41 /* Digital Alpha */
217 #define EM_FAKE_ALPHA 41 /* Digital Alpha */
217 #define EM_SH 42 /* Hitachi SH */
218 #define EM_SH 42 /* Hitachi SH */
218 #define EM_SPARCV9 43 /* SPARC Version 9 */
219 #define EM_SPARCV9 43 /* SPARC Version 9 */
219 #define EM_TRICORE 44 /* Siemens TriCore embedded processor */
220 #define EM_TRICORE 44 /* Siemens TriCore embedded processor */
@@ -282,7 +283,12
282 #define EM_SEP 108 /* Sharp embedded microprocessor */
283 #define EM_SEP 108 /* Sharp embedded microprocessor */
283 #define EM_ARCA 109 /* Arca RISC Microprocessor */
284 #define EM_ARCA 109 /* Arca RISC Microprocessor */
284 #define EM_UNICORE 110 /* Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University */
285 #define EM_UNICORE 110 /* Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University */
285 #define EM_NUM 111
286 #define EM_AARCH64 183 /* ARM AARCH64 */
287 #define EM_TILEPRO 188 /* Tilera TILEPro */
288 #define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */
289 #define EM_TILEGX 191 /* Tilera TILE-Gx */
290 #define EM_NUM 192
291
286
292
287 /*
293 /*
288 * e_ident[EI_VERSION], e_version
294 * e_ident[EI_VERSION], e_version
General Comments 0
You need to be logged in to leave comments. Login now