From e720cf09bda5c5278c72f376a11b0912ebb610f5 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 9 Jun 2011 08:53:05 +0000 Subject: [PATCH] 2011-06-09 Tristan Gingold * ia64.h (Elf64_External_VMS_ORIG_DYN_Note): New struct. --- include/elf/ChangeLog | 4 ++++ include/elf/ia64.h | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index d999e6a94..8a1bf1364 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2011-06-09 Tristan Gingold + + * ia64.h (Elf64_External_VMS_ORIG_DYN_Note): New struct. + 2011-06-02 Nick Clifton * common.h: Fix spelling mistake in comment. diff --git a/include/elf/ia64.h b/include/elf/ia64.h index 5b6217394..d8f6f5015 100644 --- a/include/elf/ia64.h +++ b/include/elf/ia64.h @@ -256,6 +256,18 @@ typedef struct { #define NT_VMS_ORIG_DYN 107 /* Original setting of dynamic data. */ #define NT_VMS_PATCHTIME 108 /* Date/time of last patch. */ +/* Corresponding data for NT_VMS_ORIG_DYM. */ + +typedef struct { + unsigned char major_id[4]; /* Should be 1. */ + unsigned char minor_id[4]; /* Should be 3. */ + unsigned char manipulation_date[8]; /* Original NT_VMS_LNKTIME. */ + unsigned char link_flags[8]; /* Original NT_VMS_LNKFLAGS. */ + unsigned char elf_flags[4]; /* Original ehdr flags. */ + unsigned char _pad[4]; + unsigned char imgid[1]; /* Original NT_VMS_IMGID. */ +} Elf64_External_VMS_ORIG_DYN_Note; + /* IA64-specific relocation types: */ /* Relocs apply to specific instructions within a bundle. The least -- 2.43.5