summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-03-19 18:08:48 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-03-19 18:08:48 +0000
commitd473f01520af910fbc7d61ed8504a8a35a1aa720 (patch)
treec8e35b8ec3514313bd874cb11cd8be40c1c16658 /elf
parentfbce6f7260c3847f14dfa38f60c9111978fb33a5 (diff)
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.
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 4f4357705b..677fccb555 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. */