Target.icf 607 B

1234567891011121314
  1. define symbol __ICFEDIT_region_RAM_start__ = 0x20000004;
  2. define symbol __ICFEDIT_region_RAM_end__ = 0x21000000;
  3. define memory mem with size = 4G;
  4. define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
  5. define region Dummy_region = mem:[from 0 to 0x100];
  6. define block RAM_BLOCK with fixed order {readonly code, readonly data, readwrite };
  7. define block Info_BLOCK with fixed order { readonly data object Dev_Inf.o};
  8. place in RAM_region { block RAM_BLOCK };
  9. place in RAM_region { block Info_BLOCK };
  10. do not initialize { section .info, readwrite };