Recognize GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.

binutils/
	* readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
	GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.

include/elf/
	* common.h (GNU_ABI_TAG_SYLLABLE): New macro.
	(GNU_ABI_TAG_NACL): New macro.
This commit is contained in:
Roland McGrath 2015-05-29 09:13:53 -07:00
parent 32c17175af
commit 14ae95f220
4 changed files with 24 additions and 6 deletions

View File

@ -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.

View File

@ -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);
}

View File

@ -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 ...

View File

@ -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". */