insert_kernel_data_refs.hss 926 B

123456789101112131415161718
  1. [Main]
  2. Title=__ld_insert_kernel_data_refs
  3. See Also=insert_kernel_bss_refs: __ld_insert_kernel_bss_refs, insert_kernel_relocs: __ld_insert_kernel_relocs, insert_mlink_data_refs: __ld_insert_mlink_data_refs, insert_compressed_data_refs: __ld_insert_compressed_data_refs
  4. [Top]
  5. __ld_insert_kernel_data_refs outputs references to the data section in the
  6. format defined in
  7. <A HREF="$$LINK(insert_kernel_relocs)">__ld_insert_kernel_relocs</A>. The
  8. only difference is that the <I>relocation address</I> is not the entry point
  9. of the program but the beginning of the data section.
  10. <BR><BR>
  11. If you read the data from an external variable (see
  12. <A HREF="$$LINK(global_imports_auto)">__handle_data_var</A>), you have to use
  13. the address of the variable (or a copy) as the <I>relocation address</I>.
  14. <BR><BR>
  15. <B>Note:</B> The limitations of
  16. <A HREF="$$LINK(insert_kernel_relocs)">__ld_insert_kernel_relocs</A> also
  17. apply to this insertion.