]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add SHT_X86_64_UNWIND to elf.h (bug 20079).
authorJoseph Myers <joseph@codesourcery.com>
Mon, 19 Mar 2018 18:08:48 +0000 (18:08 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 19 Mar 2018 18:08:48 +0000 (18:08 +0000)
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
elf/elf.h

index 4eb063289f863896570f5ff30cb7968a2d88d937..72dd269a5cc0fecc48a5a0964fde4527968b6ef5 100644 (file)
--- 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.
index 4f4357705b563b0e0dcdac90ab273def77f884e3..677fccb555a093ea2de350d8816382dcd9ec8c0e 100644 (file)
--- 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.  */