This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sh-elf: the substraction of two symbols


Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:
> You're changing the type of R_SH_REL32 to be partial_inplace
> (about like it from RELA to REL) with further adjustments to
> make *that* change work.  I think instead you should make gas
> and the linker set rel->r_offset right for R_SH_REL32 and
> section symbols.

It seems that almost SH ELF relocations doesn't use addend in
usual way besides their type is RELA. I think it's intentional. 

Thank you for your comment.

	kaz Kojima <kkojima@rr.iij4u.or.jp>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]