6 /* There are two forms of relocation program counter relative or
12 #define RRR (RELO1|RELBR|RELWR)
14 #define RRR (RELO1|RELWR)
18 #define RRR (RELO1|RELBR)
24 reloc1( 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 gen1( (pcrel) ? off - ( r->or_addr + 1) : off);