0007-add-NT_RISCV_VECTOR-macro-definition-to-align-with-l.patch 763 B

12345678910111213141516171819202122232425
  1. From 4ca3f0f9517885ab7b6c60d9ec4e3a15b83d8d82 Mon Sep 17 00:00:00 2001
  2. From: "max.ma" <max.ma@starfivetech.com>
  3. Date: Tue, 21 Dec 2021 18:39:15 -0800
  4. Subject: [PATCH 7/8] add NT_RISCV_VECTOR macro definition to align with linux
  5. elf.h
  6. ---
  7. elf/elf.h | 1 +
  8. 1 file changed, 1 insertion(+)
  9. diff --git a/elf/elf.h b/elf/elf.h
  10. index 50f87baceb..27f46afa27 100644
  11. --- a/elf/elf.h
  12. +++ b/elf/elf.h
  13. @@ -822,6 +822,7 @@ typedef struct
  14. #define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers. */
  15. #define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode. */
  16. #define NT_MIPS_MSA 0x802 /* MIPS SIMD registers. */
  17. +#define NT_RISCV_VECTOR 0x900 /* RISC-V vector registers */
  18. /* Legal values for the note segment descriptor types for object files. */
  19. --
  20. 2.33.1