[PATCH 0/6] ELF: Strip section header in ELF objects

H.J. Lu hjl.tools@gmail.com
Tue May 30 18:51:00 GMT 2023


On Tue, May 30, 2023 at 11:45 AM Andreas Schwab <schwab@linux-m68k.org> wrote:
>
> On Mai 30 2023, H.J. Lu via Binutils wrote:
>
> > Section header isn't mandatory on ELF executable nor shared library.
> > This patch set adds a new linker option, -z nosectionheader, to omit ELF
> > section header, an new objcopy and strip option, --strip-sections, to
> > remove ELF section header.
>
> IMHO --strip-sections is too easily confused with --remove-section.  How
> about naming it --strip-section-headers?
>

Good point.

Thanks.

-- 
H.J.


More information about the Binutils mailing list