https://sourceware.org/bugzilla/show_bug.cgi?id=24035
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |amodra at gmail dot com Resolution|--- |WONTFIX --- Comment #1 from Alan Modra <amodra at gmail dot com> --- The 2.28 linker just happened to work due to the way orphan sections were handled there. (You have quite a few sections not mentioned in your script and not covered by /DISCARD/:{*(.*)}, perhaps you meant to write /DISCARD/:{*(*)} without the dot? If you do that, 2.28 doesn't work the way you expect either.) The problem is that .idata is empty, and contains no symbol assigments. That results in the section being discarded from the output and also not affecting ld's tracking of dot in the default memory region. When you are creating what are effectively overlays, you need to be especially careful with vma assignments. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils