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: amodra at gmail dot com
Subject: [Bug ld/30059] Weird interaction between "INSERT BEFORE" and "MEMORY"
Date: Wed, 01 Feb 2023 03:54:17 +0000

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

--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
No, there is nothing inconsistent here, at least not with anything to do with
INSERT.  If you take your default linker script, which doesn't use regions,
edit it to add your MEMORY clause before SECTIONS in that script and add the
other parts of your inserted script before .text, then invoke ld using "-dT
edited_script", you'll see similar behaviour.  No INSERT or other scripts
involved.  The bug you're seeing is entirely due to adding a non-default memory
region and then expecting that incrementing dot outside of an output section
statement should affect the current memory region vma.  (Perhaps it should, but
as of today that is unsupported.)

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