aboutsummaryrefslogtreecommitdiffstats
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
parentfbce6f7260c3847f14dfa38f60c9111978fb33a5 (diff)
downloadtermbaud-d473f01520af910fbc7d61ed8504a8a35a1aa720.tar.gz
termbaud-d473f01520af910fbc7d61ed8504a8a35a1aa720.tar.xz
termbaud-d473f01520af910fbc7d61ed8504a8a35a1aa720.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--elf/elf.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4eb063289f8..72dd269a5cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/elf/elf.h b/elf/elf.h
index 4f4357705b5..677fccb555a 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. */