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

--- Comment #17 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@sourceware.org>:

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

commit 260aa570edcf120332daefb4a102a08c90e4d9b4
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Fri Dec 1 09:13:08 2023 -0800

    Fix ld/x86: reduce testsuite dependency on system object files

    commit eab996435fe65a421541f59557c5f1fd427573a3
    Author: Jan Beulich <jbeul...@suse.com>
    Date:   Tue Nov 7 13:58:32 2023 +0100

        ld/x86: reduce testsuite dependency on system object files

    changed some C compiler tests to assembler/linker tests which introduced
    2 problems:

    1. It broke x32 binutils tests since --64 was passed to assembler, but
    -m elf_x86_64 wasn't passed to linker.
    2. -nostdlib was passed to C compiler driver to exclude standard run-time
    files which should be avoided with -r option for linker tests.

    Fix them by passing -m elf_x86_64 to linker and removing -nostdlib for
    linker tests with -r.

            PR ld/30722
            * testsuite/ld-x86-64/x86-64.exp: Pass -m elf_x86_64 to linker
            for tests with --64.  Remove -nostdlib for tests with -r.

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

Reply via email to