insert_kernel_bss_refs.hss 972 B

12345678910111213141516171819
  1. [Main]
  2. Title=__ld_insert_kernel_bss_refs
  3. See Also=insert_kernel_data_refs: __ld_insert_kernel_data_refs, insert_kernel_relocs: __ld_insert_kernel_relocs, insert_mlink_bss_refs: __ld_insert_mlink_bss_refs, insert_compressed_bss_refs: __ld_insert_compressed_bss_refs
  4. [Top]
  5. __ld_insert_kernel_bss_refs outputs references to the BSS 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 BSS section.
  10. <BR><BR>
  11. If you insert these references, the linker assumes that the BSS section is
  12. handled by you; that is, you have to allocate it dynamically using
  13. <A HREF="$$LINK(symbols_ld_bss_size)">__ld_bss_size</A> and use a pointer to
  14. it as the <I>relocation address</I>.
  15. <BR><BR>
  16. <B>Note:</B> The limitations of
  17. <A HREF="$$LINK(insert_kernel_relocs)">__ld_insert_kernel_relocs</A> also
  18. apply to this insertion.