From: Joseph Myers <joseph@codesourcery.com>
To: <libc-alpha@sourceware.org>
Subject: Add SHT_X86_64_UNWIND to elf.h (bug 20079)
Date: Tue, 13 Mar 2018 23:16:00 -0000 [thread overview]
Message-ID: <alpine.DEB.2.20.1803132315420.22082@digraph.polyomino.org.uk> (raw)
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.
2018-03-13 Joseph Myers <joseph@codesourcery.com>
[BZ #20079]
* elf/elf.h (SHT_X86_64_UNWIND): New macro.
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. */
--
Joseph S. Myers
joseph@codesourcery.com
next reply other threads:[~2018-03-13 23:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 23:16 Joseph Myers [this message]
2018-03-19 17:49 ` Ping " Joseph Myers
2018-03-19 17:58 ` H.J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1803132315420.22082@digraph.polyomino.org.uk \
--to=joseph@codesourcery.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).