Bug 55524 - Linker leaves bloat in .dynstr for hidden symbols
Linker leaves bloat in .dynstr for hidden symbols
Product: Red Hat Linux
Classification: Retired
Component: binutils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2001-11-01 11:49 EST by Alexander Larsson
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-11-01 11:49:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexander Larsson 2001-11-01 11:49:36 EST
The linker (really bfd) does not remove the actual string from the dynstr
section when symbols are hidden (using symbol versioning). Only the symbol
entry is removed.

The FIXME for this can be found at:
in elf_link_assign_sym_version() a few pages down:

  h->elf_link_hash_flags |= ELF_LINK_FORCED_LOCAL;
  (*bed->elf_backend_hide_symbol) (info, h);
  /* FIXME: The name of the symbol has
     already been recorded in the dynamic
     string table section.  */
Comment 1 Jakub Jelinek 2001-11-28 07:43:33 EST
Should be fixed in

Note You need to log in before you can comment on or make changes to this bug.