[Main]
Title=__ld_insert_compressed_relocs
See Also=insert_compressed_bss_refs: __ld_insert_compressed_bss_refs, insert_compressed_data_refs: __ld_insert_compressed_data_refs, insert_kernel_relocs: __ld_insert_kernel_relocs
[Developer Notes]
Warning: This table is referred to in other places. Please don't change the
definition of "offset" if you don't know what you are doing. You'll risk
breaking the definition of __ld_insert_compressed_rom_calls otherwise.
[Top]
__ld_insert_compressed_relocs inserts relocs in a compressed format known
from Fargo. For more information on inserting and processing relocs, see
__ld_insert_kernel_relocs.
In the following format description, offset refers to the difference
in words (half of the difference in bytes) between the start of this reloc
and the end of the previous reloc. If there is no previous reloc (i.e. for
the first reloc), offset is the distance in words between this reloc
and the symbol __ld_compressed_relocs_ref
. This symbol must be
exported to be found. If it is not found, the entry point is used instead
(see __ld_entry_point).