public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add SHT_X86_64_UNWIND to elf.h (bug 20079)
@ 2018-03-13 23:16 Joseph Myers
  2018-03-19 17:49 ` Ping " Joseph Myers
  2018-03-19 17:58 ` H.J. Lu
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph Myers @ 2018-03-13 23:16 UTC (permalink / raw)
  To: libc-alpha

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-19 17:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13 23:16 Add SHT_X86_64_UNWIND to elf.h (bug 20079) Joseph Myers
2018-03-19 17:49 ` Ping " Joseph Myers
2018-03-19 17:58 ` H.J. Lu

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).