Add SHT_X86_64_UNWIND to elf.h (bug 20079).

As requested in bug 20079, this patch adds SHT_X86_64_UNWIND (a
standard value from the x86_64 ABI) to elf.h.

Tested for x86_64.

	[BZ #20079]
	* elf/elf.h (SHT_X86_64_UNWIND): New macro.
This commit is contained in:
Joseph Myers 2018-03-19 18:08:48 +00:00
parent fbce6f7260
commit d473f01520
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2018-03-19 Joseph Myers <joseph@codesourcery.com>
[BZ #20079]
* elf/elf.h (SHT_X86_64_UNWIND): New macro.
2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
* benchtests/bench-timing.h (attribute_hidden): Undefine.

View File

@ -3367,6 +3367,9 @@ enum
relaxable. */
#define R_X86_64_NUM 43
/* x86-64 sh_type values. */
#define SHT_X86_64_UNWIND 0x70000001 /* Unwind information. */
/* AM33 relocations. */
#define R_MN10300_NONE 0 /* No reloc. */