insert_compressed_bss_refs.hss 1.0 KB

1234567891011121314151617181920
  1. [Main]
  2. Title=__ld_insert_compressed_bss_refs
  3. See Also=insert_compressed_data_refs: __ld_insert_compressed_data_refs, insert_compressed_relocs: __ld_insert_compressed_relocs, insert_kernel_bss_refs: __ld_insert_kernel_bss_refs
  4. [Top]
  5. __ld_insert_compressed_bss_refs inserts relocs in the format defined in
  6. <A HREF="$$LINK(insert_compressed_relocs)">__ld_insert_compressed_relocs</A>.
  7. The only differences are that the <I>relocation address</I> is not the entry
  8. point of the program but the beginning of the BSS section and that the
  9. reference symbol used if there is no previous reloc (i.e. for the first reloc)
  10. is <CODE>__ld_compressed_bss_refs_ref</CODE>.
  11. <BR><BR>
  12. If you insert these references, the linker assumes that the BSS section is
  13. handled by you; that is, you have to allocate it dynamically using
  14. <A HREF="$$LINK(symbols_ld_bss_size)">__ld_bss_size</A> and use a pointer to
  15. it 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.