aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-05-10 17:09:25 +0000
committerFangrui Song <maskray@google.com>2019-05-10 17:09:25 +0000
commit9529c563eb54e0937d6945e142a693d03b4b6893 (patch)
tree48584c637632a083ac7fdab21e5affaa1e913c1b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc396f09ce96e56260cc7d5d3398615904b473265 (diff)
downloadllvm-9529c563eb54e0937d6945e142a693d03b4b6893.zip
llvm-9529c563eb54e0937d6945e142a693d03b4b6893.tar.gz
llvm-9529c563eb54e0937d6945e142a693d03b4b6893.tar.bz2
[MC][ELF] Copy top 3 bits of st_other to .symver aliases
On PowerPC64 ELFv2 ABI, the top 3 bits of st_other encode the local entry offset. A versioned symbol alias created by .symver should copy the bits from the source symbol. This partly fixes PR41048. A full fix needs tracking of .set assignments and updating st_other fields when finish() is called, see D56586. Patch by Alfredo Dal'Ava JĂșnior Differential Revision: https://reviews.llvm.org/D59436 llvm-svn: 360442
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions