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

--- Comment #8 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Maciej W. Rozycki <[email protected]>:

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

commit b4f81bbdbc2e6c5731fee52f21e55d1563abad02
Author: Maciej W. Rozycki <[email protected]>
Date:   Fri Feb 20 17:29:51 2026 +0000

    PR ld/24600: LD: Add support for file collections as artificial archives

    Implement linker support for `--start-lib' and `--end-lib' command-line
    options and an analogous LIB linker script statement for treating a list
    of object files as members of an artificial archive.  This is built upon
    BFD's fake archive feature, to support the same command-line options of
    the GOLD linker being phased out.

    Usual archive semantics is preserved for such artificial archives, such
    as symbol resolution rules, archive grouping, and the `--whole-archive'
    feature, except for the `--no-link-mapless' setting which is ignored as
    meaningless for such loose file collections which cannot have a symbol
    map.

    There is no support for nested archives or other members that are not
    object files, e.g. if a file supplied as a member archive is a linker
    script, it will be silently ignored, just as with actual archives.  It
    is unlike with input files passed that are not members of an artificial
    archive.

    Update documentation and expand test coverage accordingly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to