RELOC (I)                    2/7/73                     RELOC (I)





NAME            reloc -- relocate object files



SYNOPSIS        reloc file [-]octal [ - ]



DESCRIPTION     reloc modifies the named object program file so

                that it will operate correctly at a different

                core origin than the one for which it was assem-

                bled or loaded.



                The new core origin is the old origin increased

                by the given octal number (or decreased if the

                number has a "-" sign).



                If the object file was generated by the link-

                editor ld, the "-r" ld 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 imag-

                ine a situation in which it would be useful to

                attempt directly to execute a program treated by

                reloc.



FILES           --



SEE ALSO        as(I), ld(I), a.out(V)



DIAGNOSTICS     As appropriate



BUGS            --