[EXT_EP-8389] palign(8) of .init_array messes up __TI_INITARRAY_Limit address Created: 01/Jun/17 Updated: 19/Feb/20 Resolved: 01/Jun/17 |
|
Status: | Fixed |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Generation Tools |
Internal ID: | CODEGEN-2286 |
Forum URL: | https://e2e.ti.com/support/development_tools/compiler/f/343/t/599971 |
Found In Release: | PRU_2.2.0 C6000_8.2.0 ARP32_1.1.0* |
Fix In Release: | PRU_2.2.0 ARP32_1.1.0* ARP32_1.0.9 |
Workaround: | In the linker command file, replace .init_array > FLASH, palign(8), fill = 0xffffffff with the following GROUP statement: GROUP { .init_array } > FLASH, palign(8) The palign(8) on GROUP will ensure that any required padding is added after .init_array. However, both the size of .init_array and the value of __TI_INITARRAY_Limit remain unchanged. |
Release Notes: | Applying palign(8) to .init_array caused __TI_INIT_ARRAY_Limit to be set to the end of .init_array including the padding. This b... |
Description |
palign(8) of .init_array messes up __TI_INITARRAY_Limit address |