This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gas relocations for .uleb128
- From: Yvan ROUX <yvan dot roux at st dot com>
- To: M R Swami Reddy <MR dot Swami dot Reddy at nsc dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Fri, 07 Aug 2009 15:30:05 +0200
- Subject: Re: gas relocations for .uleb128
- References: <4A7A91CB.5030606@nsc.com> <4A7BBB45.4050008@nsc.com> <4A7C1EF5.9080901@nsc.com>
- Reply-to: yvan dot roux at st dot com
Hi Swami,
M R Swami Reddy wrote:
Hello,
Is the ".uleb128" directive expression generate relocation?
As far as I know, the answer is No, and it's a problem if
you want to support c++ exceptions and relaxation (for instance ;-)).
What we've done in the SH backend, is to disable the leb128
encoding (in the compiler) when relaxation is enable (a patch
for the SH relaxation is under construction). However, I think that
it would be better to add the "leb128 support" in the linker, to
take benefits from both sides.
Cheers,
Yvan