diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-07-30 12:39:54 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-07-30 12:39:54 +0000 |
commit | 9524dee72e17826040609f913b67f5ab879c7480 (patch) | |
tree | 8aa02b07156f8c774c8df0ce840208ae5f43184f /clang/lib/Basic/Module.cpp | |
parent | 6e50be1e97c1db4434211c1698a8d2b064b0cc3d (diff) | |
download | llvm-9524dee72e17826040609f913b67f5ab879c7480.zip llvm-9524dee72e17826040609f913b67f5ab879c7480.tar.gz llvm-9524dee72e17826040609f913b67f5ab879c7480.tar.bz2 |
[ELF] - Implement SHT_SYMTAB_SHNDX (.symtab_shndxr) section.
This is relative to https://bugs.llvm.org//show_bug.cgi?id=38119.
SHT_SYMTAB section is able to keep symbols with output section indices
up to 0xff00 (SHN_LORESERVE). But if we have indices that are greater
than that (PR shows that it might happen), we need to use
SHT_SYMTAB_SHNDX extended section. It was not supported by LLD.
Description of the SHT_SYMTAB_SHNDX section is here:
https://docs.oracle.com/cd/E19683-01/817-3677/chapter6-94076/index.html.
Differential revision: https://reviews.llvm.org/D49541
llvm-svn: 338247
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions