[Top][All Lists]

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

[Bug ld/24035] wrong VMA when not specified explicitly

From: amodra at gmail dot com
Subject: [Bug ld/24035] wrong VMA when not specified explicitly
Date: Fri, 25 Jan 2019 09:56:19 +0000


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]