bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26168] New: Feature request: support .symtab .strtab and .


From: i at maskray dot me
Subject: [Bug binutils/26168] New: Feature request: support .symtab .strtab and .shstrtab as output section descriptions
Date: Wed, 24 Jun 2020 16:02:41 +0000

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

            Bug ID: 26168
           Summary: Feature request: support .symtab .strtab and .shstrtab
                    as output section descriptions
           Product: binutils
           Version: 2.35 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: i at maskray dot me
  Target Milestone: ---

Many other synthesized sections can be renamed or discarded, so it seems
natural to extend the ability to .symtab .strtab and .shstrtab

Use case 1: discard .symtab, .strtab (similar to --strip-all) or .shstrtab

SECTIONS {
  /DISCARD/ : { *(.symtab) *(.strtab) }
}

Use case 2: rename

SECTIONS
{
  .symtab2 : { *(.symtab) }
  .strtab2 : { *(.strtab) }
  .shstrtab2 : { *(.shstrtab) }
}

-- 
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]