bug-binutils
[Top][All Lists]
Advanced

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

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


From: thestig at google dot com
Subject: [Bug gold/10338] New: Incorrect stab symbols when linking with gold
Date: 26 Jun 2009 20:52:48 -0000

This is a follow up to bug 10219. I have a slightly more complicated test case
that works with ld but fails with gold.

gcc -m32 -gstabs foo.c abcdefghijklmnopqrstuvwxyz/bar.c -o foo; dump_syms foo

outputs:

MODULE Linux x86 14CA077E2EEA0AD8414217ED5D9862B70 foo
FILE 0 foo.c
FILE 1 abcdefghijklmnopqrstuvwxyz/bar.c
FUNC 3a4 30 0 main
3a4 11 5 0
3b5 c 6 0
3c1 5 7 0
3c6 5 8 0
3cb 9 9 0
FUNC 3d4 14 0 bar
3d4 6 4 1
3da c 5 1
3e6 2 6 1

gcc -m32 -gstabs foo.c abcdefghijklmnopqrstuvwxyz/bar.c -o foo -B/path/to/gold;
dump_syms foo

outputs:

MODULE Linux x86 FE9F1B283112582FEBD35996C677C4160 foo
FILE 0 foo.c
FILE 1 foo.c
FUNC 1e4 30 0 main
1e4 11 5 0
1f5 c 6 0
201 5 7 0
206 5 8 0
20b 9 9 0
FUNC 214 14 0 ijklmnopqrstuvwxyz/bar.c
214 6 4 1
21a c 5 1
226 2 6 1

-- 
           Summary: Incorrect stab symbols when linking with gold
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: thestig at google dot com
                CC: bug-binutils at gnu dot org


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]