[Info-vax] ELF images on X86
David Jones
osuvman50 at gmail.com
Wed Mar 31 16:45:37 EDT 2021
On Wednesday, March 31, 2021 at 3:13:18 PM UTC-4, xyzz... at gmail.com wrote:
> This is an OpenVMS X86-64 (Elf format) executable image file
> Magic: (7F 45 4C 46)
> Class: 64-bit (0x2)
> DataEncoding: LittleEndian (0x1)
> FileVersion: 1
> OS/ABI: OpenVMS (0xD)
> ABIVersion: 2
> Unused: (00 00 00 00 00 00 00)
> }
> Type: Executable (0x2)
> Machine: EM_X86_64 (0x3E)
> Version: 1
0x3E = 62
The VSI C compiler I'm using (or rather sys$startlet_c(elfdef) from 2017) doesn't
seem to define a EHDR$K_EM_X86_64 macro to go along with the
EHDR$K_EM_IA_64 macro.
I have a program that scans a directory of shareable images to see which ones
define a particular symbol in their symbol vector. I want it to deal gracefully
with all files it may encounter in a mixed-architecture cluster.
>>Dave
More information about the Info-vax
mailing list