This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: about Reloc Type: BFD_RELOC_8/16/32
- From: DJ Delorie <dj at redhat dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 29 Oct 2009 16:03:06 -0400
- Subject: Re: about Reloc Type: BFD_RELOC_8/16/32
- References: <mcriqdy9qvy.fsf@dhcp-172-17-9-151.mtv.corp.google.com>
Ian Lance Taylor <iant@google.com> writes:
> You may well see relocations involving a subtraction between some
> symbol and .Ldebug_abbrev0. That will only happen if the other symbol
> is in the .debug_abbrev section. That kind of calculation can be made
> by the assembler at assembly time, and does not involve a relocation.
One exception is targets that support linker relaxation - they may have
a "difference of symbols" reloc so that the difference can be adjusted
after linker relaxation is done.