0000000000000000 A LIBTEST_1@@LIBTEST_1
Other linkers such as LLVM lld and GNU gold don't generate the LIBTEST_1@@LIBTEST_1.
It's a nullptr SHN_ABS symbol meaning it's completely useless in practice.
Detecting these in symbol_is_internal() isn't sufficient as there're existing symbol
files with these symbols.
As such I've:
* Added Dpkg::Shlibs::Symbol::get_internal() to classify such symbols.
* Added with_internal option Dpkg::Shlibs::SymbolFile to allow omitting these symbols.
* Changed dpkg-gensymbols to keep such symbols for before, but not after. This allows
graceful removal of these from existing symbol files.
debian/changelog | 5 ++++
scripts/Dpkg/Shlibs/Symbol.pm | 12 ++++++++++
scripts/Dpkg/Shlibs/SymbolFile.pm | 2 ++
scripts/dpkg-gensymbols.pl | 2 +-
scripts/t/Dpkg_Shlibs.t | 24 +++++++++++++++++--
.../t/Dpkg_Shlibs/symbols.internal-existing | 5 ++++
6 files changed, 47 insertions(+), 3 deletions(-)
create mode 100644 scripts/t/Dpkg_Shlibs/symbols.internal-existing