Research V3 development
[unix-history] / man / man1 / reloc.1
CommitLineData
ad4f09a5
KT
1.pa 1
2.he 'RELOC (I)'2/7/73'RELOC (I)'
3.ti 0
4NAME reloc -- relocate object files
5.sp
6.ti 0
7SYNOPSIS reloc\b\b\b\b\b_____ file [-\b_]octal [ -\b_ ]
8.sp
9.ti 0
10DESCRIPTION reloc\b\b\b\b\b_____
11modifies the named object program file so that it will operate correctly
12at a different core origin than the one for which
13it was assembled or loaded.
14
15The new core origin is the old origin
16increased by
17the given octal\b\b\b\b\b_____
18number (or decreased if the number has a "-" sign).
19
20If the object file was generated by the link-editor ld\b\b__,
21the "-r" ld\b\b__ option must have been given to
22preserve the relocation information in the file.
23
24If the optional last argument is given, then any
25"setd" instruction at the start of the file
26will be replaced by a no-op.
27
28The purpose of this command is to simplify the
29preparation of object programs for systems
30which have no relocation hardware.
31It is hard to imagine a situation
32in which it would be useful to attempt directly to execute
33a program treated by reloc\b\b\b\b\b_____.
34.sp
35.ti 0
36FILES --
37.sp
38.ti 0
39SEE ALSO as(I), ld(I), a.out(V)
40.sp
41.ti 0
42DIAGNOSTICS As appropriate
43.sp
44.ti 0
45BUGS --