gas relocations for .uleb128

Yvan ROUX yvan.roux@st.com
Fri Aug 7 13:30:00 GMT 2009


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



More information about the Binutils mailing list