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.