This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC [PATCH] Use .strtab section for section name strings
- From: Rafael EspÃndola <rafael dot espindola at gmail dot com>
- To: Cary Coutant <ccoutant at gmail dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Binutils <binutils at sourceware dot org>
- Date: Tue, 30 Jun 2015 07:24:50 -0400
- Subject: Re: RFC [PATCH] Use .strtab section for section name strings
- Authentication-results: sourceware.org; auth=none
- References: <20150628000035 dot GA30222 at intel dot com> <20150629042319 dot GE1723 at bubble dot grove dot modra dot org> <CAJimCsFCjv+K7z7nJhVgXkDA_C7XqYotFPbj_t_71VPL=sOaJg at mail dot gmail dot com>
> GCC's implementation, however, still appends a mangled name to the
> section name, quite unnecessarily, and also does so for
> -ffunction-sections. Rafael Espindola has proposed a new .section
> directive syntax that would allow the compiler to generate multiple
> .text sections without having to decorate the section name with a
> unique symbol name, and I think *that's* the right way to reduce the
> size of the section string table.
I have implemented this in llvm/clang (-fno-unique-section-names) but
it is off by default for now because of
https://sourceware.org/bugzilla/show_bug.cgi?id=18440.
Cheers,
Rafael