sh-elf: the substraction of two symbols

kaz Kojima kkojima@rr.iij4u.or.jp
Thu Jan 11 16:46:00 GMT 2001


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>


More information about the Binutils mailing list