8165440: Add Zero support for x86_64-linux-gnux32 target

Reviewed-by: erikj, ihse
This commit is contained in:
John Paul Adrian Glaubitz 2018-09-05 11:15:28 +02:00
parent e2eab3c1b7
commit e7a2c9d679
3 changed files with 11 additions and 2 deletions

View file

@ -1742,7 +1742,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
#if (defined IA32)
static Elf32_Half running_arch_code=EM_386;
#elif (defined AMD64)
#elif (defined AMD64) || (defined X32)
static Elf32_Half running_arch_code=EM_X86_64;
#elif (defined IA64)
static Elf32_Half running_arch_code=EM_IA_64;