HomePhabricator

[MC][ELF] Copy top 3 bits of st_other to .symver aliases
fe3a140eb855Unpublished

Authored by MaskRay on May 10 2019, 10:09 AM.

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

[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

Details

Committed
sidorovdMay 17 2019, 3:01 AM
Differential Revision
D59436: [ELF] Fix missing ELF st_other field on versioned symbols

Commit No Longer Exists

This commit no longer exists in the repository.