bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/30059] Weird interaction between "INSERT BEFORE" and "MEMORY"


From: stefan.tauner at gmx dot at
Subject: [Bug ld/30059] Weird interaction between "INSERT BEFORE" and "MEMORY"
Date: Wed, 01 Feb 2023 02:06:27 +0000

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

--- Comment #5 from Stefan <stefan.tauner at gmx dot at> ---
"inserted scripts are really intended only for statements that are inside
SECTIONS, and MEMORY is not one of those"

Maybe this is a problem with the nomenclature but aren't linker scripts that
get added on the command line without -T also "inserted scripts"? The
documentation does not indicate any such limitation for the non-T scripts but
rather that it simply amends the "main" linker script "Specifying a script in
this way merely augments the main linker script, with the extra commands placed
after the main script".

And the behavior w/o -T seems to be the same in regards of MEMORY so...
something is definitely not consistent here :)

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