symbols_ld_program_size.hss 992 B

123456789101112131415161718
  1. [Main]
  2. Title=__ld_program_size
  3. [Top]
  4. This built-in symbol represents the size of the main section after all sections
  5. are merged into one. If all sections are merged into a single section, this is
  6. the size of the final linked program (<I>without</I> any headers or footers
  7. required by the output format). If an external data variable is used, this
  8. would be the size of the main executable only (but see the note about automatic
  9. insertion below).<BR><BR>
  10. Resolving of this symbol is delayed until the last pass of the linker in order
  11. to ensure the size isn't changed by later range-cutting. Currently, this is the
  12. same pass which also does <A HREF="$$LINK(insert)">automatic insertions</A>, so
  13. insertions may or may not be counted.<BR><BR>
  14. This symbol is currently used by the Flash OS support to write the OS size into
  15. the header which is sent to the calculator. Flash operating systems do not use
  16. relocation, so the lack of support for automatic insertions is not a problem in
  17. this context.