vparreloc.1m (2010 09)

v
vparreloc(1M) vparreloc(1M)
Note that the -a, -G, and
-g options cannot be combined in a single invocation of the command.
EXAMPLES
To determine if a
vmunix file is relocatable:
# vparreloc -f /stand/vmunix
To relocate a vmunix file to be loaded at address 0x04000000, and place the resulting
vmunix file into
/stand/vmunix.reloc
:
# vparreloc -a 0x04000000 -f /stand/vmunix -t /stand/vmunix.reloc
To promote all symbols that should have global scope in a
vmunix file that has been linked utilizing the
kernel relocation options:
# vparreloc -G /stand/vmunix.nonreloc -f /stand/vmunix.reloc -t
/stand/vmunix
RETURN VALUE
The vparreloc command exits with one of the following values:
0 Successful completion.
1 Bad options.
2 Can not open a file.
3 Error reading from or writing to a file, or allocating memory.
4 Invalid ELF64 kernel file.
5 File is not relocatable.
AUTHOR
vparreloc was developed by the Hewlett-Packard Company.
SEE ALSO
vparextract(1M).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010