On Fri, Aug 12, 2005 at 04:28:12PM +0200, Eric Botcazou wrote: > > So who is right here? Is there really an alignment problem with the > > debug sections in the object file, or is the solaris linker just > > confused? If there is a problem, why doesn't binutils ld complain? > > GNU ld supports unaligned R_SPARC_32 relocations, while Sun ld doesn't. The > relocations should have been R_SPARC_UA32 for Sun ld to be able to grok > them. The bottom line is that you need GNU ld if you want to directly > use -gdwarf2 with GNU as (or use -g on an assembly file with GCC).
Silly question, perhaps, but why not have gas generate R_SPARC_UA32? -- Daniel Jacobowitz CodeSourcery, LLC _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils