Skip to content
Commit 127176e5 authored by Alexander Richardson's avatar Alexander Richardson
Browse files

[ELF][MIPS] Fix TLS GOT entries for local symbols in shared libraries

Summary:
Previously LLD would not add any dynamic relocations and write a module
index of 1 which is not correct for the shared library case.
This can happen when a thread-local global variable is marked as local with
a version script. With this change I am now able to link all of the FreeBSD
base system for MIPS64 with LLD.

Differential Revision: https://reviews.llvm.org/D48002

llvm-svn: 334483
parent 88c23026
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment