optionalsym(1)
optionalsym - transform ELF symbols to optional symbols
As shipped in IRIX 6.5. First release of IRIX 6.5.
This page could not be fully tidied (no-header); it is shown as printed.
OPTIONALSYM OPTIONALSYM NAME optionalsym - transform ELF symbols to optional symbols SYNOPSIS optionalsym [-p] [-u updateto] [-v selectname] [-y symname] file ... DESCRIPTION The optionalsym command both reports on and sets the st_other field in an ELF symbol table. It was written to manipulate the STO_OPTIONAL value in the st_other field of the ELF symbol table. Thus the name optionalsym. The optionalsym command accepts one or more of the following options: -p prints information on selected symbols. If -u is also supplied, the symbol is printed before updating. -v selectname selects symbols with st_other having that value. For example, optionalsymbol -v STO_OPTIONAL -p t.o prints all symbols marked STO_OPTIONAL. Legal values for selectname are any one of STO_DEFAULT , STO_INTERNAL , STO_HIDDEN , STO_PROTECTED , and STO_OPTIONAL. If multiple -v are supplied only the last -u updateto updates the st_other field of the selected symbols to contain the the updateto value. Legal values for updateto are any one of STO_DEFAULT , STO_INTERNAL , STO_HIDDEN , STO_PROTECTED , and STO_OPTIONAL. If multiple -u are supplied the last one's updateto is used (the others are silently ignored). If -u is not supplied then -p is assumed. -y symname selects a symbol with the name symname. If multiple -y options are given each name in the set of names is selected. FILES /usr/bin/optionalsym /usr/include/elf.h /usr/include/sys/elf.h SEE ALSO elfdump(1)