RFC [PATCH] Use .strtab section for section name strings

Rafael Espíndola rafael.espindola@gmail.com
Tue Jun 30 11:24:00 GMT 2015


> 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



More information about the Binutils mailing list