| __ld_insert_nostub_comments

Previous | Automatically Inserted Section Contents | Next

__ld_insert_nostub_comments is used to export data symbols in the NoStub comment header. It treats all symbols that are declared external and look like "_nostub_data__index" as exported entries. index is a hexadecimal number which must have exactly 4 digits.
__ld_insert_nostub_comments inserts data exports in the format used by the NoStub comment specification:

- For each exported item (in ascending ID order)...
  - 2 bytes: export ID (type index of the export, as specified after the double underscore)
  - 2 bytes: location (offset from the beginning of the program)