2011-06-09 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 9 Jun 2011 08:53:05 +0000 (08:53 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 9 Jun 2011 08:53:05 +0000 (08:53 +0000)
* ia64.h (Elf64_External_VMS_ORIG_DYN_Note): New struct.

include/elf/ChangeLog
include/elf/ia64.h

index d999e6a..8a1bf13 100644 (file)
@@ -1,3 +1,7 @@
+2011-06-09  Tristan Gingold  <gingold@adacore.com>
+
+       * ia64.h (Elf64_External_VMS_ORIG_DYN_Note): New struct.
+
 2011-06-02  Nick Clifton  <nickc@redhat.com>
 
        * common.h: Fix spelling mistake in comment.
index 5b62173..d8f6f50 100644 (file)
@@ -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