| __ld_insert_compressed_data_refs

Previous | Automatically Inserted Section Contents | Next

__ld_insert_compressed_data_refs outputs references to the data section in the format defined in __ld_insert_compressed_relocs. The only differences are that the relocation address is not the entry point of the program but the beginning of the data section and that the reference symbol used if there is no previous reloc (i.e. for the first reloc) is `__ld_compressed_data_refs_ref`.
If you read the data from an external variable (see __handle_data_var), you have to use the address of the variable (or a copy) as the relocation address.
Note: The limitations of __ld_insert_kernel_relocs also apply to this insertion.

See also: __ld_insert_compressed_bss_refs, __ld_insert_compressed_relocs, __ld_insert_kernel_data_refs