diff options
author | James Clarke <jrtc27@jrtc27.com> | 2017-01-24 09:20:06 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-01-24 09:20:06 -0200 |
commit | 3e1b518550634792de13332edaab0ad722322c2b (patch) | |
tree | 0c1473d4c07e4d7178ae16354199ed30492a971f /nptl/tst-tls4.c | |
parent | f3bef6a748097d02d196df247f7b292c7b83744c (diff) | |
download | glibc-3e1b518550634792de13332edaab0ad722322c2b.tar.gz glibc-3e1b518550634792de13332edaab0ad722322c2b.tar.xz glibc-3e1b518550634792de13332edaab0ad722322c2b.zip |
Bug 21053: sh: Reduce namespace pollution from sys/ucontext.h
The problem is basically that sys/ucontext.h is defining R0..R15 which happens to conflict with some packages like Firefox when trying to build on SH. The very same problem existed on arm back then [1] and it was fixed by renaming R0..R15 to REG_R0..REG_R15. This patch imploy a similar strategy for SH. Checked on sh4-linux-gnu with run-built-tests=no and I also got reports that it fixes Firefox build on Debian sh4. * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R* constants instead of the old R* ones. * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename... (NGREG): ... to this, to fit in with other architectures. (gpregset_t): Use new NGREG macro. [__USE_GNU]: Remove condition; all architectures other than tile are unconditional. (R*): Rename to REG_R*.
Diffstat (limited to 'nptl/tst-tls4.c')
0 files changed, 0 insertions, 0 deletions