Research V3 release
[unix-history] / man / man1 / reloc.1
.pa 1
.he 'RELOC (I)'2/7/73'RELOC (I)'
.ti 0
NAME reloc -- relocate object files
.sp
.ti 0
SYNOPSIS reloc\b\b\b\b\b_____ file [-\b_]octal [ -\b_ ]
.sp
.ti 0
DESCRIPTION reloc\b\b\b\b\b_____
modifies the named object program file so that it will operate correctly
at a different core origin than the one for which
it was assembled or loaded.
The new core origin is the old origin
increased by
the given octal\b\b\b\b\b_____
number (or decreased if the number has a "-" sign).
If the object file was generated by the link-editor ld\b\b__,
the "-r" ld\b\b__ option must have been given to
preserve the relocation information in the file.
If the optional last argument is given, then any
"setd" instruction at the start of the file
will be replaced by a no-op.
The purpose of this command is to simplify the
preparation of object programs for systems
which have no relocation hardware.
It is hard to imagine a situation
in which it would be useful to attempt directly to execute
a program treated by reloc\b\b\b\b\b_____.
.sp
.ti 0
FILES --
.sp
.ti 0
SEE ALSO as(I), ld(I), a.out(V)
.sp
.ti 0
DIAGNOSTICS As appropriate
.sp
.ti 0
BUGS --