bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28841] ld: Customize output section type


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/28841] ld: Customize output section type
Date: Wed, 16 Feb 2022 17:41:52 +0000

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c212f39d9a82c6c09f4a1447d9d2ff09843827c5

commit c212f39d9a82c6c09f4a1447d9d2ff09843827c5
Author: Fangrui Song <maskray@google.com>
Date:   Wed Feb 16 17:41:23 2022 +0000

    ld: Support customized output section type

    bfd/
        PR ld/28841
        * bfd-in2.h (struct bfd_section): Add type.
        (discarded_section): Add field.
        * elf.c (elf_fake_sections): Handle bfd_section::type.
        * section.c (BFD_FAKE_SECTION): Add field.
        * mri.c (mri_draw_tree): Update function call.

    ld/
        PR ld/28841
        * ld.texi: Document new output section type.
        * ldlex.l: Add new token TYPE.
        * ldgram.y: Handle TYPE=exp.
        * ldlang.h: Add type_section to list of section types.
        * ldlang.c (lang_add_section): Handle type_section.
        (map_input_to_output_sections): Handle type_section.
        * testsuite/ld-scripts/output-section-types.t: Add tests.
        * testsuite/ld-scripts/output-section-types.d: Update.

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