symbols.hss 2.0 KB

1234567891011121314151617
  1. [Main]
  2. Title=Symbols Built into the TIGCC Linker
  3. Subsections=symbols_rom_call, symbols_ti_ams_api, symbols_ram_call, symbols_extra_ram_addr, symbols_lib_call, symbols_ld_calc_const, symbols_ld_entry_point, symbols_ld_entry_point_plus_0x8000, symbols_ld_program_size, symbols_ld_constructors_start, symbols_ld_constructors_end, symbols_ld_constructors_size, symbols_ld_constructor_count, symbols_ld_destructors_start, symbols_ld_destructors_end, symbols_ld_destructors_size, symbols_ld_destructor_count, symbols_ld_reloc_count, symbols_ld_data_start, symbols_ld_data_end, symbols_ld_data_size, symbols_ld_data_ref_count, symbols_ld_bss_start, symbols_ld_bss_end, symbols_ld_bss_size, symbols_ld_bss_ref_count, symbols_ld_rom_call_count, symbols_ld_ram_call_count, symbols_ld_lib_count, symbols_ld_referenced_lib_count, symbols_ld_export_count, symbols_ld_nostub_comment_count, symbols_ld_has, symbols_ld_file_version, symbols_ld_kernel_flags, symbols_ld_kernel_bss_table, symbols_ld_kernel_export_table, symbols_ld_data_var_name_end, symbols_ld_hardware_id, symbols_ld_link_time_year, symbols_ld_link_time_month, symbols_ld_link_time_day, symbols_ld_link_time_timestamp, symbols_exit, symbols_comment, symbols_extraram, symbols_library
  4. [Top]
  5. The TIGCC linker is capable of resolving references to certain built-in
  6. symbols. These symbols act just like normal externally defined symbols; for
  7. example, it is possible to specify an offset to be added to the symbol in the
  8. reference. The symbols may resolve to numbers or addresses. The kind of
  9. symbol should be obvious for each individual symbol; for example, it does not
  10. make sense to jump to <A HREF="$$LINK(symbols_ld_bss_size)">__ld_bss_size</A>
  11. because it resolves to a number. All numbers have to be used as immediate
  12. values; if a symbol resolves to a number, treating it as an address and
  13. reading the value at this address will return garbage.
  14. <BR><BR>
  15. The following symbol names are treated as built-in symbol names, and resolved
  16. in a special way: