aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-03-31 07:49:45 +0000
committerTristan Gingold <gingold@adacore.com>2011-03-31 07:49:45 +0000
commit00e98fc7596ff93e1b30d012cecdf7f3025eaea1 (patch)
treeca7c14a461f5398ccddb25521e8804ce229e3bf0 /include
parent822e989dfe76cb81aa06003f12d76ea78961d79e (diff)
downloadgdb-00e98fc7596ff93e1b30d012cecdf7f3025eaea1.zip
gdb-00e98fc7596ff93e1b30d012cecdf7f3025eaea1.tar.gz
gdb-00e98fc7596ff93e1b30d012cecdf7f3025eaea1.tar.bz2
binutils/
2011-03-31 Tristan Gingold <gingold@adacore.com> * readelf.c (get_ia64_vms_note_type): New function. (print_ia64_vms_note): Ditto. (process_note): Recognize VMS/ia64 specific notes. Display them. (process_corefile_note_segment): Decode VMS notes. include/elf 2011-03-31 Tristan Gingold <gingold@adacore.com> * ia64.h (Elf64_External_VMS_Note): New struct. (NT_VMS_MHD, NT_VMS_LNM, NT_VMS_SRC, NT_VMS_TITLE, NT_VMS_EIDC, NT_VMS_FPMODE, NT_VMS_LINKTIME, NT_VMS_IMGNAM, NT_VMS_IMGID NT_VMS_LINKID, NT_VMS_IMGBID, NT_VMS_GSTNAM, NT_VMS_ORIG_DYN) NT_VMS_PATCHTIME) New macros.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog8
-rw-r--r--include/elf/ia64.h24
2 files changed, 32 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 182a59b..e3685d8 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,11 @@
+2011-03-31 Tristan Gingold <gingold@adacore.com>
+
+ * ia64.h (Elf64_External_VMS_Note): New struct.
+ (NT_VMS_MHD, NT_VMS_LNM, NT_VMS_SRC, NT_VMS_TITLE, NT_VMS_EIDC)
+ (NT_VMS_FPMODE, NT_VMS_LINKTIME, NT_VMS_IMGNAM, NT_VMS_IMGID)
+ (NT_VMS_LINKID, NT_VMS_IMGBID, NT_VMS_GSTNAM, NT_VMS_ORIG_DYN)
+ (NT_VMS_PATCHTIME) New macros.
+
2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
* arm.h (R_ARM_IRELATIVE): New relocation.
diff --git a/include/elf/ia64.h b/include/elf/ia64.h
index fb3d99f..5b62173 100644
--- a/include/elf/ia64.h
+++ b/include/elf/ia64.h
@@ -232,6 +232,30 @@ typedef struct
unsigned char fill_1[4];
} Elf64_External_VMS_IMAGE_RELA;
+/* Note segments. VMS is special as it uses 64-bit entries. */
+
+typedef struct {
+ unsigned char namesz[8]; /* Size of entry's owner string */
+ unsigned char descsz[8]; /* Size of the note descriptor */
+ unsigned char type[8]; /* Interpretation of the descriptor */
+ char name[1]; /* Start of the name+desc data */
+} Elf64_External_VMS_Note;
+
+#define NT_VMS_MHD 1 /* Object module name, version, and date/time. */
+#define NT_VMS_LNM 2 /* Language processor name. */
+#define NT_VMS_SRC 3 /* Source files. */
+#define NT_VMS_TITLE 4 /* Title text. */
+#define NT_VMS_EIDC 5 /* Entity ident consistency check. */
+#define NT_VMS_FPMODE 6 /* Whole program floating-point mode. */
+#define NT_VMS_LINKTIME 101 /* Date/time image was linked. */
+#define NT_VMS_IMGNAM 102 /* Image name string. */
+#define NT_VMS_IMGID 103 /* Image ident string. */
+#define NT_VMS_LINKID 104 /* Linker ident string. */
+#define NT_VMS_IMGBID 105 /* Image build ident string. */
+#define NT_VMS_GSTNAM 106 /* Global Symbol Table Name. */
+#define NT_VMS_ORIG_DYN 107 /* Original setting of dynamic data. */
+#define NT_VMS_PATCHTIME 108 /* Date/time of last patch. */
+
/* IA64-specific relocation types: */
/* Relocs apply to specific instructions within a bundle. The least