This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: sh-elf: the substraction of two symbols
- To: binutils at sources dot redhat dot com
- Subject: Re: sh-elf: the substraction of two symbols
- From: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Fri, 12 Jan 2001 09:50:08 +0900
- References: <200101111356.OAA29942@ignucius.axis.se>
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>