sh-elf shared library dilemma

Toshi Morita tm2@best.com
Fri Feb 9 20:03:00 GMT 2001


> I see two solutions:
> 
>   (1) Stop doing partial-in-place stuff and use the RELA addend
>       as it's supposed to.
> 
>   (2) Leave the object file relocations alone and use REL dynamic
>       relocations.
> 
> Both solutions have binary compatibility issues: the later only
> affects sh-linux; the former affects everyone.  The former seems
> more Correct.
> 
> So: I'm soliciting opinions from those affected by this problem.
> 
> 
> r~
> 

DO both of these solutions:

1) Preserve the ability to link with SHC-generated object files
   (which use REL)?

2) Preserve the linker relaxation capability?

Toshi



More information about the Binutils mailing list