[v3,5/6] elf.h: Reorder SHT_RISCV_*
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
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,13 +4002,13 @@ enum
#define R_RISCV_NUM 59
+/* RISC-V specific values for the sh_type field. */
+#define SHT_RISCV_ATTRIBUTES (SHT_LOPROC + 3)
+
/* RISC-V specific values for the st_other field. */
#define STO_RISCV_VARIANT_CC 0x80 /* Function uses variant calling
convention */
-/* RISC-V specific values for the sh_type field. */
-#define SHT_RISCV_ATTRIBUTES (SHT_LOPROC + 3)
-
/* RISC-V specific values for the p_type field. */
#define PT_RISCV_ATTRIBUTES (PT_LOPROC + 3)