RELOC directive explicitly encodes an ELF
relocation in an object file.
create a relocation with respect to the address labeled by
If used immediately after an ARM or Thumb instruction,
in a relocation at that instruction. If used immediately after a
DCD, or any other data generating directive,
in a relocation at the start of the data. Any addend to be applied
must be encoded in the instruction or in the data.
If the assembler has already emitted a relocation at that
place, the relocation is updated with the details in the
DCD sym2 ; R_ARM_ABS32 to sym32 RELOC 55 ; ... makes it R_ARM_ABS32_NOI
RELOC is faulted in all other cases, for example,
after any non-data generating directive,
or as the first thing in an
create a relocation with respect to the anonymous symbol, that is,
symbol 0 of the symbol table. If you use
a preceding assembler generated relocation, the relocation is with
respect to the anonymous symbol.