[PATCH] D23609: [ELF] - Linkerscript: support VERSION command.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 07:00:35 PDT 2016


grimar created this revision.
grimar added a reviewer: ruiu.
grimar added subscribers: llvm-commits, grimar, evgeny777, davide.
Herald added a subscriber: emaste.

From PR28926 description:

Symbol version information can be provided via the --version-script command line option, or can be embedded into a VERSION block in a linker script:

     VERSION { version-script-commands }

FreeBSD uses this for the Linux ABI vDSO support, presumably from the same use in the Linux kernel.

Reference: https://www.sourceware.org/binutils/docs/ld/VERSION.html#VERSION

Patch implements this feature.

https://reviews.llvm.org/D23609

Files:
  ELF/LinkerScript.cpp
  ELF/ScriptParser.h
  ELF/SymbolListFile.cpp
  ELF/SymbolListFile.h
  test/ELF/verdef.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23609.68345.patch
Type: text/x-patch
Size: 5069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160817/97645f08/attachment.bin>


More information about the llvm-commits mailing list