bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/10338] Incorrect stab symbols when linking with gold


From: ian at airs dot com
Subject: [Bug gold/10338] Incorrect stab symbols when linking with gold
Date: 30 Dec 2009 01:34:56 -0000

------- Additional Comments From ian at airs dot com  2009-12-30 01:34 -------
I finally took another look at this.  The problem here is simply that dump_syms 
is incorrect.  It only works if the stabs strings have been optimized into a 
single compilation unit.  The GNU linker does that optimization by default, but 
gold does not (since very few people use stabs debugging these days).

When there are multiple compilation units in the stabs data, a special stabs 
entry with a type of 0 gives the size of each unit.  This is documented 
(briefly) here: http://sourceware.org/gdb/onlinedocs/stabs/Stab-Section-
Basics.html#Stab-Section-Basics .

I'll append a patch which fixes the google-breakpad problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=10338

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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