SYMRENAME(1)

NAME
symrename - symbol renaming utility

SYNOPSIS
symrename -system [ -v ] file ...

DESCRIPTION
symrename edits the symbol table of one or more object files. It is used to resolve clashes between different flavours of the C library (X/Open, BSD etc) which require different implementations of certain functions. The files to be renamed may be object files or loader archive files (ar(5) format). Editing is done in-place so the old versions of the files are lost.

The first argument is compulsory and specifies the rename file to be used. It must be prefixed with a minus sign, and will be sought in /usr/lib unless it starts with `.' or `/'. A standard extension of `.R' will be automatically added.

If the first argument is specified as just `-', then the file /usr/lib/strict.R will be used.

The switch -v turns on warning messages. If present this switch must be the second argument.

RENAME FILE FORMAT
A rename file consists of two whitespace-separated fields per line. The first field specifies the original symbol, and the second says what to rename it to. The two symbols may be of different lengths. Comments may be introduced by the hash character, `#', as the first non-blank character of a line.

FILES
/usr/lib/*.R    rename files

SEE ALSO
a.out(5), ar(5)
symrename is called automatically by the C compiler; see cc(1).