This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[vms/committed] add Elf64_External_VMS_ORIG_DYN_Note in include/elf/ia64.h
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Thu, 9 Jun 2011 10:52:45 +0200
- Subject: [vms/committed] add Elf64_External_VMS_ORIG_DYN_Note in include/elf/ia64.h
Hi,
I will commit the following patch to declare the Elf64_External_VMS_ORIG_DYN_Note structure.
Tristan.
include/elf
2011-06-09 Tristan Gingold <gingold@adacore.com>
* ia64.h (Elf64_External_VMS_ORIG_DYN_Note): New struct.
RCS file: /cvs/src/src/include/elf/ia64.h,v
retrieving revision 1.19
diff -c -r1.19 ia64.h
*** ia64.h 31 Mar 2011 07:49:45 -0000 1.19
--- ia64.h 9 Jun 2011 08:50:23 -0000
***************
*** 256,261 ****
--- 256,273 ----
#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