commit | ca483bfba2aba968dfb1caa0a397adee4093d51d | [log] [tgz] |
---|---|---|
author | George Rimar <grimar@accesssoftek.com> | Tue Feb 19 14:03:14 2019 +0000 |
committer | George Rimar <grimar@accesssoftek.com> | Tue Feb 19 14:03:14 2019 +0000 |
tree | 97df78ddb0d7c0ce3961df4d162f93a7e5684bb4 | |
parent | 6121ddcb93a06421ac5bc54652233dc198d48cc1 [diff] |
[obj2yaml][yaml2obj] - Add support of parsing/dumping of the .gnu.version_r section. The section is described here: https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/symverrqmts.html Patch just teaches obj2yaml/yaml2obj to dump and parse such sections. We did the finalization of string tables very late, and I had to move the logic to make it a bit earlier. That was needed in this patch since .gnu.version_r adds strings to .dynstr. This might also be useful for implementing other special sections. Everything else changed in this patch seems to be straightforward. Differential revision: https://reviews.llvm.org/D58119 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354328 91177308-0d34-0410-b5e6-96231b3b80d8