Re: [PATCH v2 3/4] RISC-V: Add definiion of extract symbol's index and type for 32-bit
From: Zong Li
Date: Fri Jun 29 2018 - 12:54:05 EST
Christoph Hellwig <hch@xxxxxxxxxxxxx> æ 2018å6æ29æ éä äå3:12åéï
>
> On Mon, Jun 25, 2018 at 04:49:39PM +0800, Zong Li wrote:
> > Use generic marco to get the index and type of symbol.
>
> Why do we even need this in a uapi header? Shouldn't ELF_RISCV_R_SYM
> and ELF_RISCV_R_TYPE move to module.c? In that case we could just
> use CONFIG_64BIT.
Make sense. I even think the all definitions can be move to include/asm/elf.h.
How do you think about that?