This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .symver directive ?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]