insert_compressed_data_refs.hss 1.0 KB

1234567891011121314151617181920
  1. [Main]
  2. Title=__ld_insert_compressed_data_refs
  3. See Also=insert_compressed_bss_refs: __ld_insert_compressed_bss_refs, insert_compressed_relocs: __ld_insert_compressed_relocs, insert_kernel_data_refs: __ld_insert_kernel_data_refs
  4. [Top]
  5. __ld_insert_compressed_data_refs outputs references to the data section in the
  6. format defined in
  7. <A HREF="$$LINK(insert_compressed_relocs)">__ld_insert_compressed_relocs</A>.
  8. The only differences are that the <I>relocation address</I> is not the entry
  9. point of the program but the beginning of the data section and that the
  10. reference symbol used if there is no previous reloc (i.e. for the first reloc)
  11. is <CODE>__ld_compressed_data_refs_ref</CODE>.
  12. <BR><BR>
  13. If you read the data from an external variable (see
  14. <A HREF="$$LINK(global_imports_auto)">__handle_data_var</A>), you have to use
  15. the address of the variable (or a copy) as the <I>relocation address</I>.
  16. <BR><BR>
  17. <B>Note:</B> The limitations of
  18. <A HREF="$$LINK(insert_kernel_relocs)">__ld_insert_kernel_relocs</A> also
  19. apply to this insertion.