[PATCH] Add DWARF 5 debug sections to PE* scripts.

Fangrui Song i@maskray.me
Thu Feb 18 19:33:48 GMT 2021


On Thu, Feb 18, 2021 at 9:43 AM Hannes Domani via Binutils
<binutils@sourceware.org> wrote:
>
> ld/ChangeLog:
>
> 2021-02-18  Hannes Domani  <ssbssa@yahoo.de>
>
>         PR binutils/27268
>         * scripttempl/pe.sc: Add DWARF 5 sections.
>         * scripttempl/pep.sc: Likewise.
> ---
>  ld/scripttempl/pe.sc  | 82 ++++++++++++++++++++++++++++++++++++++-----
>  ld/scripttempl/pep.sc | 82 ++++++++++++++++++++++++++++++++++++++-----
>  2 files changed, 146 insertions(+), 18 deletions(-)

We may not need .zdebug_* as zlib-gnu has been obsoleted.
.debug_sup is not used by linkers, so is technically not needed as well.


More information about the Binutils mailing list