bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24836] --as-needed leaves unused direct dependencies


From: crusader.mike at gmail dot com
Subject: [Bug ld/24836] --as-needed leaves unused direct dependencies
Date: Tue, 23 Jul 2019 19:49:56 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24836

--- Comment #6 from crusader.mike at gmail dot com ---
Symbol table '.dynsym' contains 361 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
...
   237: 0000000000415bb0    33 FUNC    WEAK   DEFAULT   13
xalanc_1_11::XalanVector<unsigned short,
xalanc_1_11::MemoryManagedConstructionTraits<unsigned short> >::~XalanVector()
   289: 0000000000415bb0    33 FUNC    WEAK   DEFAULT   13
xalanc_1_11::XalanVector<unsigned short,
xalanc_1_11::MemoryManagedConstructionTraits<unsigned short> >::~XalanVector()
...

Symbol table '.symtab' contains 1412 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
...
   859: 0000000000415bb0    33 FUNC    WEAK   DEFAULT   13
xalanc_1_11::XalanVector<unsigned short,
xalanc_1_11::MemoryManagedConstructionTraits<unsigned short> >::~XalanVector()
  1374: 0000000000415bb0    33 FUNC    WEAK   DEFAULT   13
xalanc_1_11::XalanVector<unsigned short,
xalanc_1_11::MemoryManagedConstructionTraits<unsigned short> >::~XalanVector()
...


Apologies, but my understanding is somewhat limited in this area (I am reading
related docs right now, but it'll take time). Can someone explain what these
entries mean and how to find why my binary ended up having them?

Another question would be why there are two symbols
(_ZN11xalanc_1_1111XalanVectorItNS_31MemoryManagedConstructionTraitsItEEED1Ev
and
_ZN11xalanc_1_1111XalanVectorItNS_31MemoryManagedConstructionTraitsItEEED2Ev)
that unmangle to the same C++ symbol?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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