This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld broken on Solaris 8
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