HomePhabricator

Make TLS work for PIE executables on aarch64.

Description

Make TLS work for PIE executables on aarch64.

Similar to r265462, TLS related relocations aren't marked as relative,
meaning that we end up generating R_AARCH64_RELATIVE relocations for
them. This change adds TLS relocations that I've seen on my system. With
this patch applied CloudABI's unit testing binary now passes on aarch64.

Approved by: ruiu
Differential Revision: http://reviews.llvm.org/D18816

Details

Committed
edApr 6 2016, 10:53 AM
Differential Revision
D18816: Make TLS work for PIE executables on aarch64.
Parents
rL265574: [RegisterBankInfo] Add a method to get the mapping RegClass -> RegBank.
Branches
Unknown
Tags
Unknown