as: ARC Modifiers

1 
1 9.3.4 ARC Assembler Modifiers
1 -----------------------------
1 
1 The following additional assembler modifiers have been added for
1 position-independent code.  These modifiers are available only with the
1 ARC 700 and above processors and generate relocation entries, which are
1 interpreted by the linker as follows:
1 
1 '@pcl(SYMBOL)'
1      Relative distance of SYMBOL's from the current program counter
1      location.
1 
1 '@gotpc(SYMBOL)'
1      Relative distance of SYMBOL's Global Offset Table entry from the
1      current program counter location.
1 
1 '@gotoff(SYMBOL)'
1      Distance of SYMBOL from the base of the Global Offset Table.
1 
1 '@plt(SYMBOL)'
1      Distance of SYMBOL's Procedure Linkage Table entry from the current
1      program counter.  This is valid only with branch and link
1      instructions and PC-relative calls.
1 
1 '@sda(SYMBOL)'
1      Relative distance of SYMBOL from the base of the Small Data
1      Pointer.
1