8242244: Remove redundant ELF machine definitions

Reviewed-by: dholmes
This commit is contained in:
John Paul Adrian Glaubitz 2020-04-28 11:43:00 +02:00
parent 184b433630
commit 1b0a423f6f
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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"},