[Top][All Lists]

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

[Bug ld/14058] Internal overflow error, on >128kB FLASH with no relaxati

From: gjl at gcc dot gnu.org
Subject: [Bug ld/14058] Internal overflow error, on >128kB FLASH with no relaxation
Date: Thu, 03 May 2012 20:13:06 +0000


Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-03 
20:13:06 UTC ---
See the comments in PR13812

If you use such big programs, .trampolines gets shifted out of it's 128KiB

Notice that the code will malfunction then because the assumption is that
.trampolines is located in the 128 KiB segment where EIND points to; at least
that is the assumption of GCC which you are obviously using.

Moreover, the actual position or .trampolines must not be messed up by code or
linker script by shifting it out of place.

The default linker scripts are just a default; it won't and cannot any setup
imagineable. If you need special arrangement for you code, you may want to
arrange code and data according to your needs.

The inconvenience could be reduced by a more descriptive error message, yes,
and the default ld script be arranged to suit better this situation. But then
other issues might pop up more frequently like shifting .low_text or .progmem
out of place.

For some explanation on linker stubs and gs(), see also EIND and Devices with more than 128 Ki Bytes of Flash


*** This bug has been marked as a duplicate of bug 13812 ***

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]