aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-06-09 08:53:05 +0000
committerTristan Gingold <gingold@adacore.com>2011-06-09 08:53:05 +0000
commit2ddcd4af494e35b07b9fd2ccaead33f17300652a (patch)
treefbb5c74db87ad05e158ec81b6bc488e9dc2df651
parent56d4d7f261e8a259d1eaf7454015f6f184b36d2e (diff)
downloadgdb-2ddcd4af494e35b07b9fd2ccaead33f17300652a.zip
gdb-2ddcd4af494e35b07b9fd2ccaead33f17300652a.tar.gz
gdb-2ddcd4af494e35b07b9fd2ccaead33f17300652a.tar.bz2
2011-06-09 Tristan Gingold <gingold@adacore.com>
* ia64.h (Elf64_External_VMS_ORIG_DYN_Note): New struct.
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/ia64.h12
2 files changed, 16 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index d999e6a..8a1bf13 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -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.
diff --git a/include/elf/ia64.h b/include/elf/ia64.h
index 5b62173..d8f6f50 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