8242244: Remove redundant ELF machine definitions
Reviewed-by: dholmes
This commit is contained in:
parent
184b433630
commit
1b0a423f6f
@ -1845,12 +1845,6 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
||||
char* name; // String representation
|
||||
} arch_t;
|
||||
|
||||
#ifndef EM_486
|
||||
#define EM_486 6 /* Intel 80486 */
|
||||
#endif
|
||||
#ifndef EM_AARCH64
|
||||
#define EM_AARCH64 183 /* ARM AARCH64 */
|
||||
#endif
|
||||
#ifndef EM_RISCV
|
||||
#define EM_RISCV 243 /* RISC-V */
|
||||
#endif
|
||||
|
@ -1425,10 +1425,6 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
||||
char* name; // String representation
|
||||
} arch_t;
|
||||
|
||||
#ifndef EM_AARCH64
|
||||
#define EM_AARCH64 183 /* ARM AARCH64 */
|
||||
#endif
|
||||
|
||||
static const arch_t arch_array[]={
|
||||
{EM_386, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
|
||||
{EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user