link.icf 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*###ICF### Section handled by ICF editor, don't touch! ****/
  2. /*-Editor annotation file-*/
  3. /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */
  4. /*-Specials-*/
  5. define symbol __ICFEDIT_intvec_start__ = 0x00000000;
  6. /*-Memory Regions-*/
  7. define symbol __ICFEDIT_region_text_start__ = 0x10000000;
  8. define symbol __ICFEDIT_region_text_end__ = 0x1002FFFF;
  9. define symbol __ICFEDIT_region_data_start__ = 0x10030000;
  10. define symbol __ICFEDIT_region_data_end__ = 0x1003FFFF;
  11. /*-Sizes-*/
  12. define symbol __ICFEDIT_size_cstack__ = 0x400;
  13. define symbol __ICFEDIT_size_heap__ = 0x000;
  14. /**** End of ICF editor section. ###ICF###*/
  15. define memory mem with size = 4G;
  16. define region text_region = mem:[from __ICFEDIT_region_text_start__ to __ICFEDIT_region_text_end__];
  17. define region data_region = mem:[from __ICFEDIT_region_data_start__ to __ICFEDIT_region_data_end__];
  18. keep { section .resource_table };
  19. ".resource_table" : place in data_region {section .resource_table};
  20. /* Create region for OPENAMP */
  21. /* !!! These 4 lines can be commented if OPENAMP is not used !!!*/
  22. define symbol __OPENAMP_region_start__ = 0x10040000;
  23. define symbol __OPENAMP_region_size__ = 0x8000;
  24. export symbol __OPENAMP_region_start__;
  25. export symbol __OPENAMP_region_size__;
  26. define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
  27. define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
  28. initialize by copy { readwrite };
  29. do not initialize { section .noinit};
  30. place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
  31. place in text_region { readonly };
  32. place in data_region { readwrite,
  33. block CSTACK, block HEAP};