mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8242244: Remove redundant ELF machine definitions
Reviewed-by: dholmes
This commit is contained in:
parent
184b433630
commit
1b0a423f6f
2 changed files with 0 additions and 10 deletions
|
@ -1845,12 +1845,6 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
||||||
char* name; // String representation
|
char* name; // String representation
|
||||||
} arch_t;
|
} 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
|
#ifndef EM_RISCV
|
||||||
#define EM_RISCV 243 /* RISC-V */
|
#define EM_RISCV 243 /* RISC-V */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1425,10 +1425,6 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
|
||||||
char* name; // String representation
|
char* name; // String representation
|
||||||
} arch_t;
|
} arch_t;
|
||||||
|
|
||||||
#ifndef EM_AARCH64
|
|
||||||
#define EM_AARCH64 183 /* ARM AARCH64 */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static const arch_t arch_array[]={
|
static const arch_t arch_array[]={
|
||||||
{EM_386, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
|
{EM_386, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
|
||||||
{EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
|
{EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue