.symver directive ?
Nick Clifton
nickc@redhat.com
Mon Jun 21 11:07:00 GMT 2004
Hi K.Feroz,
> "For ELF targets, the .symver directive is used like this:"
> .symver name, name2@nodename"
>
> I am sorry , I am not clear from the GNU description.
>
> Can anyone please give me an example for the directive and tell me how
> this will affect the ELF format?
There are lots of examples of this directive being used in the gas and
linker testsuites. For example:
gas/testsuite/gas/elf/symvers.s
gas/testsuite/gas/symver/symver6.s
ld/testsuite/ld-elfvers/vers1.c
This last file is probably the best example of the directive in use and
its affects on ELF executables.
Cheers
Nick
More information about the Binutils
mailing list