bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4,


From: hjl.tools at gmail dot com
Subject: [Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later
Date: Thu, 17 Feb 2022 20:10:02 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
commit 21401fc7bf67dbf73f4a3eda4bcfc58fa4211584
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Nov 24 23:41:31 2020 +1030

    Duplicate output sections in scripts

    Previously, ld merged duplicate output sections if such existed in
    scripts, except for those with a constraint of SPECIAL.  This makes
    scripts with duplicate output section statements create duplicate
    output sections in the linker output file.

            * ldlang.c (lang_output_section_statement_lookup): Change "create"
            parameter to a tristate, if 2 then always create a new output
            section statement.  Update all callers, with
            lang_enter_output_section_statement using "2".
            (map_input_to_output_sections): Don't ignore SPECIAL constraint
            here.
            * ldlang.h (lang_output_section_statement_type): Update prototype.
            (lang_output_section_find): Update.

caused:

./ld -b elf64-x86-64 -m elf_x86_64 -Map myprog.map -L. link.t -o x
./ld: warning: link.t contains output sections; did you forget -T?
./ld: final link failed: bad value

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