public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add NT_LOONGARCH_* from Linux 5.19 to elf.h
@ 2022-08-17 19:13 Joseph Myers
  2022-08-24 17:48 ` Ping " Joseph Myers
  2022-08-24 18:06 ` Andreas Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph Myers @ 2022-08-17 19:13 UTC (permalink / raw)
  To: libc-alpha

Add the new NT_LOONGARCH_* constants from Linux 5.19 to glibc's elf.h.

Tested for x86_64.

diff --git a/elf/elf.h b/elf/elf.h
index 8d1c7fe7e6..065deca83c 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -830,6 +830,15 @@ typedef struct
 #define NT_MIPS_DSP	0x800		/* MIPS DSP ASE registers.  */
 #define NT_MIPS_FP_MODE	0x801		/* MIPS floating-point mode.  */
 #define NT_MIPS_MSA	0x802		/* MIPS SIMD registers.  */
+#define NT_LOONGARCH_CPUCFG	0xa00	/* LoongArch CPU config registers.  */
+#define NT_LOONGARCH_CSR	0xa01	/* LoongArch control and
+					   status registers.  */
+#define NT_LOONGARCH_LSX	0xa02	/* LoongArch Loongson SIMD
+					   Extension registers.  */
+#define NT_LOONGARCH_LASX	0xa03	/* LoongArch Loongson Advanced
+					   SIMD Extension registers.  */
+#define NT_LOONGARCH_LBT	0xa04	/* LoongArch Loongson Binary
+					   Translation registers.  */
 
 /* Legal values for the note segment descriptor types for object files.  */
 

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Ping Re: Add NT_LOONGARCH_* from Linux 5.19 to elf.h
  2022-08-17 19:13 Add NT_LOONGARCH_* from Linux 5.19 to elf.h Joseph Myers
@ 2022-08-24 17:48 ` Joseph Myers
  2022-08-24 18:06 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Joseph Myers @ 2022-08-24 17:48 UTC (permalink / raw)
  To: libc-alpha

Ping.  This patch 
<https://sourceware.org/pipermail/libc-alpha/2022-August/141482.html> is 
pending review.

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Re: Add NT_LOONGARCH_* from Linux 5.19 to elf.h
  2022-08-17 19:13 Add NT_LOONGARCH_* from Linux 5.19 to elf.h Joseph Myers
  2022-08-24 17:48 ` Ping " Joseph Myers
@ 2022-08-24 18:06 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2022-08-24 18:06 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

On Aug 17 2022, Joseph Myers wrote:

> Add the new NT_LOONGARCH_* constants from Linux 5.19 to glibc's elf.h.

Ok.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

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

end of thread, other threads:[~2022-08-24 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17 19:13 Add NT_LOONGARCH_* from Linux 5.19 to elf.h Joseph Myers
2022-08-24 17:48 ` Ping " Joseph Myers
2022-08-24 18:06 ` Andreas Schwab

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