gcc.ld does not align .data correctly
Bug #1566385 reported by
Thomas Preud'homme
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
Fix Released
|
High
|
Thomas Preud'homme |
Bug Description
David Robinson reported that gcc.ld as provided in samples/ldscripts does not align the .data section correctly. Indeed, it is assumed by samples/
David proposed the following modification:
} > FLASH
*/
++ . = ALIGN(4);
{
which fixes the problem for him. Attached file show the difference between a version with and without that patch applied.
Changed in gcc-arm-embedded: | |
status: | Confirmed → In Progress |
Changed in gcc-arm-embedded: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The fix has been committed for the next update release.