diff options
author | Joseph Myers <joseph@codesourcery.com> | 2022-08-24 18:19:13 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2022-08-24 18:19:13 +0000 |
commit | 025a8cce63a1d9b3ea9e84d0e844f14ec872e184 (patch) | |
tree | e16d2dc60e389179b623131f2ecb2cfa718242f1 /elf | |
parent | 6f85dbf102ad7982409ba0fe96886caeb6389fef (diff) | |
download | glibc-025a8cce63a1d9b3ea9e84d0e844f14ec872e184.zip glibc-025a8cce63a1d9b3ea9e84d0e844f14ec872e184.tar.gz glibc-025a8cce63a1d9b3ea9e84d0e844f14ec872e184.tar.bz2 |
Add NT_LOONGARCH_* from Linux 5.19 to elf.h
Add the new NT_LOONGARCH_* constants from Linux 5.19 to glibc's elf.h.
Tested for x86_64.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/elf.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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. */ |