From d473f01520af910fbc7d61ed8504a8a35a1aa720 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 19 Mar 2018 18:08:48 +0000 Subject: 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. --- ChangeLog | 5 +++++ elf/elf.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4eb0632..72dd269 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-03-19 Joseph Myers + + [BZ #20079] + * elf/elf.h (SHT_X86_64_UNWIND): New macro. + 2018-03-19 Wilco Dijkstra * benchtests/bench-timing.h (attribute_hidden): Undefine. diff --git a/elf/elf.h b/elf/elf.h index 4f43577..677fccb 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -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. */ -- cgit v1.1