Switch to DWARF-2 on sparc-sun-solaris2.7+
Jason Merrill
jason@redhat.com
Sun Apr 4 01:44:00 GMT 2004
On Sat, 3 Apr 2004 09:11:29 +0200, Eric Botcazou <ebotcazou@libertysurf.fr> wrote:
>> There's probably been some discussion of this that I haven't been paying
>> attention to, but dwarf2 used to be broken with the Solaris binutils
>> because they didn't properly support unaligned relocs. Has this been
>> fixed?
>
> How is this problem supposed to show up if it exists? How come that DWARF-2
> has been the default on sparc64-sun-solaris2.* for a while?
Unfortunately, I don't remember the details at this point; I ran into these
problems several years ago when I was finishing up the gcc dwarf2
implementation.
Perhaps the sparc64 Solaris binutils don't have this problem--perhaps the
sparc32 Solaris binutils don't have it anymore, either. If the GDB
testsuite gets reasonable results when you use the system binutils, I would
go ahead with this change--but please do test with them, not just with the
GNU ones.
Jason
More information about the Gcc-patches
mailing list