diff options
author | Renlin Li <renlin.li@arm.com> | 2018-10-31 14:38:46 +0000 |
---|---|---|
committer | Renlin Li <renlin.li@arm.com> | 2018-10-31 15:09:36 +0000 |
commit | f32a4a593963d4c377fd59f4164c9df2cd6a7590 (patch) | |
tree | 27255783aa00d2e7d246898119ddb96b4ba516f0 /bfd/pdp11.c | |
parent | 64f57f3d7d7b8e7bf9f57caa1389ac5ee3ecfec7 (diff) | |
download | gdb-f32a4a593963d4c377fd59f4164c9df2cd6a7590.zip gdb-f32a4a593963d4c377fd59f4164c9df2cd6a7590.tar.gz gdb-f32a4a593963d4c377fd59f4164c9df2cd6a7590.tar.bz2 |
Don't create got section while processing TLS Local Exec relocations.
For Local Exec TLS model, the offset of the variable from the thread pointer
can be computed at static link time. This doesn't require GOT indirection.
The initial change is a bad fix for a problem during TLS GD -> LE relaxation.
The proper fix is to check whether _GLOBAL_OFFSET_TABLE_ is referenced,
create got section if yes. And the fix is already in the repository.
bfd/
2018-10-31 Renlin Li <renlin.li@arm.com>
* elfnn-aarch64.c (elfNN_aarch64_check_relocs): Don't create got
section for Local Exec TLS model.
Diffstat (limited to 'bfd/pdp11.c')
0 files changed, 0 insertions, 0 deletions