Make Verdef and Verdaux adjacent in the version definition section.
authorRui Ueyama <ruiu@google.com>
Sat, 16 Jul 2016 02:29:45 +0000 (02:29 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 16 Jul 2016 02:29:45 +0000 (02:29 +0000)
commit9f619647697b9a0c40a86a1b1b11b575a9638465
tree0cf0d979cd61065ee963019db0181d60f24b8c7e
parent538859cca3518a981293cf773e490fcf29a153c2
Make Verdef and Verdaux adjacent in the version definition section.

Previously, Verdefs and Verdauxs are separated in the section.
The new layout is easier to write as we do not have to maintain
two pointers and can avoid passing a reference to a pointer.

llvm-svn: 275665
lld/ELF/OutputSections.cpp
lld/ELF/OutputSections.h