6 /* There are two forms of relocation program counter relative or
12 #define RRR (RELO2|RELBR|RELWR)
14 #define RRR (RELO2|RELWR)
18 #define RRR (RELO2|RELBR)
24 reloc2( sym, off, pcrel)
29 register struct outrelo *r;
31 if ( relo - reloc_info >= size_reloc)
35 r->or_type = ( pcrel) ? RELPC|RRR : RRR;
36 r->or_sect = S_MIN + conv_seg( cur_seg);
37 r->or_nami = find_sym(sym, REFERENCE);
38 r->or_addr = cur_value();
39 gen2( (pcrel) ? off - ( r->or_addr + 2) : off);