gas, sparc, dwarf2, and R_SPARC_(UA)64

Nick Clifton
Mon Jul 12 16:32:00 GMT 2004

Hi Jakub,

>>2004-07-09  Nick Clifton  <>
>>	* config/tc-sparc.c (cons_fix_new_sparc): Always use unaligned
>>	versions of the relocs
> This relies on the linker converting unaligned relocs to aligned ones
> if the object is aligned.
> GNU ld does this, but I'm not sure about Sun ld (especially when
> UA16/UA64 relocs are relatively new).

Hmm - so perhaps this change should be controlled by a command line 
switch ?  It would be off by default but set by GCC when it knows that 
it has been configured for a SPARC with a GNU LD present ?


More information about the Binutils mailing list