RISCV relocs .

umesh kalappa ukalappa@gmail.com
Fri May 27 10:07:20 GMT 2022


Thank you Kito for the quick reply.

Do we need to relocate them to enable debugging and stack unwinding.

~Umesh

On Fri, May 27, 2022 at 3:15 PM Kito Cheng <kito.cheng@gmail.com> wrote:

> Those relocations are used in EH frame and debug info IIRC.
>
>
> On Fri, May 27, 2022 at 5:31 PM umesh kalappa via Binutils
> <binutils@sourceware.org> wrote:
> >
> > Hi All ,
> >
> > We build the loadable kernel module ,where we do partially link (-r) and
> > for riscv
> >
> > we are understanding the relocs like
> >
> > 000000000030  001300000034 R_RISCV_SUB6      0000000000000002 <null> + 0
> > 000000000033  001700000035 R_RISCV_SET6      0000000000000008 <null> + 0
> >
> > Currently we are ignoring the above relocs ,is that ok to do so ?
> >
> > ~Umesh
>


More information about the Binutils mailing list