*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> optionalsym (1)              
Title
Content
Arch
Section
 

Contents


OPTIONALSYM							   OPTIONALSYM


NAME    [Toc]    [Back]

     optionalsym - transform ELF symbols to optional symbols

SYNOPSIS    [Toc]    [Back]

     optionalsym [-p] [-u updateto] [-v	selectname] [-y	symname] file ...

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     /usr/bin/optionalsym
     /usr/include/elf.h
     /usr/include/sys/elf.h

SEE ALSO    [Toc]    [Back]

      
      
     elfdump(1)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
c++filt OpenBSD demangle C++ symbols
c++filt NetBSD demangle C++ symbols
c++filt Linux Demangle C++ and Java symbols.
knlist Tru64 look up symbols in the currently running kernel
strip OpenBSD Discard symbols from object files.
strip Tru64 Removes symbols and relocation bits
Symbol IRIX manipulate Perl symbols and their names
strip NetBSD Discard symbols from object files.
strip IRIX remove symbols and relocation bits
nm NetBSD list symbols from object files.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service