[v3,2/6] elf.h: Remove duplicate STO_RISCV_VARIANT_CC
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
Commit Message
I missed the update from last year that included these already, having
duplicates breaks the build due to redefinition errors like
elf/elf.h:4013: error: macro STO_RISCV_VARIANT_CC redefined
elf.h:3941: note: location of previous definition
Reported-by: Joseph S. Myers <joseph@codesourcery.com>
Fixes: 117e8b341c ("riscv: Resolve symbols directly for symbols with STO_RISCV_VARIANT_CC.")
Link: https://inbox.sourceware.org/libc-alpha/mhng-0d9fb5a0-63fa-4b02-8029-7c20232f39ee@palmer-ri-x1c9/T/#t
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
---
elf/elf.h | 3 ---
1 file changed, 3 deletions(-)
@@ -3937,9 +3937,6 @@ enum
#define DT_RISCV_VARIANT_CC (DT_LOPROC + 1)
#define DT_RISCV_NUM 2
-/* RISC-V specific values for the st_other field. */
-#define STO_RISCV_VARIANT_CC 0x80
-
/* RISC-V ELF Flags */
#define EF_RISCV_RVC 0x0001
#define EF_RISCV_FLOAT_ABI 0x0006