aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c18
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/common.h2
4 files changed, 24 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f681468..03eb240 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-29 Roland McGrath <mcgrathr@google.com>
+
+ * readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
+ GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.
+
2015-05-29 Stephen Kitt <steve@sk2.org>
* dlltool.c (make_one_lib_file): Clear .idata$6 before use.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index b584db5..a0c20a3 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -12185,7 +12185,7 @@ dump_section_as_bytes (Elf_Internal_Shdr * section,
& new_size))
section_size = new_size;
}
-
+
if (relocate)
{
apply_relocations (file, section, start, section_size, NULL, NULL);
@@ -14297,7 +14297,7 @@ process_mips_specific (FILE * file)
return 0;
}
offset += option->size;
-
+
++option;
++cnt;
}
@@ -15125,6 +15125,12 @@ print_gnu_note (Elf_Internal_Note *pnote)
case GNU_ABI_TAG_NETBSD:
osname = "NetBSD";
break;
+ case GNU_ABI_TAG_SYLLABLE:
+ osname = "Syllable";
+ break;
+ case GNU_ABI_TAG_NACL:
+ osname = "NaCl";
+ break;
default:
osname = "Unknown";
break;
@@ -15193,7 +15199,7 @@ print_v850_note (Elf_Internal_Note * pnote)
case EF_RH850_DATA_ALIGN8: printf (_("8-byte\n")); return 1;
}
break;
-
+
case V850_NOTE_DATA_SIZE:
switch (val)
{
@@ -15201,7 +15207,7 @@ print_v850_note (Elf_Internal_Note * pnote)
case EF_RH850_DOUBLE64: printf (_("8-bytes\n")); return 1;
}
break;
-
+
case V850_NOTE_FPU_INFO:
switch (val)
{
@@ -15209,7 +15215,7 @@ print_v850_note (Elf_Internal_Note * pnote)
case EF_RH850_FPU30: printf (_("FPU-3.0\n")); return 1;
}
break;
-
+
case V850_NOTE_MMU_INFO:
case V850_NOTE_CACHE_INFO:
case V850_NOTE_SIMD_INFO:
@@ -15570,7 +15576,7 @@ process_corefile_note_segment (FILE * file, bfd_vma offset, bfd_vma length)
inote.descdata = inote.namedata;
inote.namesz = 0;
}
-
+
inote.descpos = offset + (inote.descdata - (char *) pnotes);
next = inote.descdata + align_power (inote.descsz, 2);
}
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index c09a05b..3e7671c 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-29 Roland McGrath <mcgrathr@google.com>
+
+ * common.h (GNU_ABI_TAG_SYLLABLE): New macro.
+ (GNU_ABI_TAG_NACL): New macro.
+
2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
* common.h (EM_486): Renamed to ...
diff --git a/include/elf/common.h b/include/elf/common.h
index b087d9c..e6d8c14 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -635,6 +635,8 @@
#define GNU_ABI_TAG_SOLARIS 2
#define GNU_ABI_TAG_FREEBSD 3
#define GNU_ABI_TAG_NETBSD 4
+#define GNU_ABI_TAG_SYLLABLE 5
+#define GNU_ABI_TAG_NACL 6
/* Values for NetBSD .note.netbsd.ident notes. Note name is "NetBSD". */