bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binutils 2.16.1 assembler dwarf2 relocations break solaris native ld


From: Eric Botcazou
Subject: Re: binutils 2.16.1 assembler dwarf2 relocations break solaris native ld
Date: Fri, 12 Aug 2005 16:28:12 +0200

> 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).

--
Eric Botcazou





reply via email to

[Prev in Thread] Current Thread [Next in Thread]