[v3,6/6] elf.h: Reorder PT_RISCV_*
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
These match the MIPS ordering.
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
---
elf/elf.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -4002,6 +4002,9 @@ enum
#define R_RISCV_NUM 59
+/* RISC-V specific values for the p_type field. */
+#define PT_RISCV_ATTRIBUTES (PT_LOPROC + 3)
+
/* RISC-V specific values for the sh_type field. */
#define SHT_RISCV_ATTRIBUTES (SHT_LOPROC + 3)
@@ -4009,9 +4012,6 @@ enum
#define STO_RISCV_VARIANT_CC 0x80 /* Function uses variant calling
convention */
-/* RISC-V specific values for the p_type field. */
-#define PT_RISCV_ATTRIBUTES (PT_LOPROC + 3)
-
/* RISC-V specific values for the d_tag field. */
#define DT_RISCV_VARIANT_CC (DT_LOPROC + 1)
#define DT_RISCV_NUM 2