binutils-gdb/binutils/testsuite/binutils-all/x86-64
H.J. Lu 1fc87489b4 Properly dump NT_GNU_PROPERTY_TYPE_0
Property type and datasz are always 4 bytes for both 32-bit and 64-bit
objects.  Property values for GNU_PROPERTY_X86_ISA_1_USED and
GNU_PROPERTY_X86_ISA_1_NEEDED are 4 bytes for both i386 and x86-64
objects.  We should also check GNU_PROPERTY_LOPROC and
GNU_PROPERTY_LOUSER.

binutils/

	PR binutils/21231
	* readelf.c (decode_x86_isa): Change argument to unsigned int.
	(print_gnu_property_note): Retrieve property type and datasz as
	4-byte integer.  Consolidate property datasz check.  Check
	GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER.
	* testsuite/binutils-all/i386/pr21231a.d: New file.
	* testsuite/binutils-all/i386/pr21231a.s: Likewise.
	* testsuite/binutils-all/i386/pr21231b.d: Likewise.
	* testsuite/binutils-all/i386/pr21231b.s: Likewise.
	* testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
	* testsuite/binutils-all/x86-64/pr21231a.s: Likewise.
	* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
	* testsuite/binutils-all/x86-64/pr21231b.s: Likewise.

include/

	PR binutils/21231
	* elf/common.h (GNU_PROPERTY_LOPROC): New.
	(GNU_PROPERTY_HIPROC): Likewise.
	(GNU_PROPERTY_LOUSER): Likewise.
	(GNU_PROPERTY_HIUSER): Likewise.
2017-03-08 07:44:17 -08:00
..
compressed-1.s
compressed-1a.d
compressed-1b.d Fix copying Solaris binaries with objcopy. 2016-04-14 12:04:09 +01:00
compressed-1c.d Fix copying Solaris binaries with objcopy. 2016-04-14 12:04:09 +01:00
pr21231a.d Properly dump NT_GNU_PROPERTY_TYPE_0 2017-03-08 07:44:17 -08:00
pr21231a.s Properly dump NT_GNU_PROPERTY_TYPE_0 2017-03-08 07:44:17 -08:00
pr21231b.d Properly dump NT_GNU_PROPERTY_TYPE_0 2017-03-08 07:44:17 -08:00
pr21231b.s Properly dump NT_GNU_PROPERTY_TYPE_0 2017-03-08 07:44:17 -08:00
x86-64.exp Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30