From: Joseph Myers Date: Mon, 19 Mar 2018 18:08:48 +0000 (+0000) Subject: Add SHT_X86_64_UNWIND to elf.h (bug 20079). X-Git-Tag: glibc-2.28~444 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d473f01520af910fbc7d61ed8504a8a35a1aa720;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 4eb063289f8..72dd269a5cc 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 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. */