diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-12-15 16:06:25 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-12-15 16:06:25 +0100 |
commit | cb976fba4c51ede7bf8cee5035888527c308dfbc (patch) | |
tree | 3bc0e586664cc7cf2a6c70d7b8df594cc7600515 /elf | |
parent | a6d2f948b71adcb5ea395cb04833bc645eab45e6 (diff) | |
download | glibc-cb976fba4c51ede7bf8cee5035888527c308dfbc.zip glibc-cb976fba4c51ede7bf8cee5035888527c308dfbc.tar.gz glibc-cb976fba4c51ede7bf8cee5035888527c308dfbc.tar.bz2 |
powerpc: Use global register variable in <thread_pointer.h>
A local register variable is merely a compiler hint, and so not
appropriate in this context. Move the global register variable into
<thread_pointer.h> and include it from <tls.h>, as there can only
be one global definition for one particular register.
Fixes commit 8dbeb0561eeb876f557ac9eef5721912ec074ea5
("nptl: Add <thread_pointer.h> for defining __thread_pointer").
Reported-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Raphael M Zinsly <rzinsly@linux.ibm.com>
Diffstat (limited to 'elf')
0 files changed, 0 insertions, 0 deletions