ld broken on Solaris 8

Jakub Jelinek jakub@redhat.com
Fri May 11 13:13:00 GMT 2001


On Fri, May 11, 2001 at 03:30:39PM -0400, Jeff Sturm wrote:
> Your interpretation sounds reasonable.  In my example (a static
> relocation in .data) this would be pointless, unless it causes ld to
> substitute an unaligned variant of the load insn (if such a thing exists
> on SPARC).

SPARC does not have unaligned load insn (generates an exception, the OS can
emulate it but usually does not and if it does, it is expensive).
R_SPARC_UA{16,32,64} is there for the dynamic linker and makes sense only if
r_offset is not aligned.

	Jakub



More information about the Binutils mailing list