summaryrefslogtreecommitdiffstats
path: root/board/qemu/sparc-ss10/linux/linux-0001-sparc-memset-fix.patch
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2014-09-18 11:06:45 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-09-18 21:46:07 +0200
commit6976dda8c7518083ca58d83d12f235b2c602462b (patch)
tree50c2ed076827c57013a607236ab129cdcfe9d6c3 /board/qemu/sparc-ss10/linux/linux-0001-sparc-memset-fix.patch
parent2d0d3aae765bda1403e5eed5b1375746b27d283d (diff)
downloadbuildroot-6976dda8c7518083ca58d83d12f235b2c602462b.tar.gz
buildroot-6976dda8c7518083ca58d83d12f235b2c602462b.zip
strace: Apply an upstream patch to fix sa_restorer problems
Wrap sa_restorer member definitions in #ifdef SA_RESTORER to be consistent with their use. If an architecture does not provide sa_restorer members but still defines SA_RESTORER macro, the latter has to be explicitly undefined. This change fixes compilation failures like this one: signal.c: In function 'decode_old_sigaction': signal.c:631:21: error: 'struct old_sigaction' has no member named 'sa_restorer' signal.c: In function 'decode_new_sigaction': signal.c:1224:21: error: 'struct new_sigaction' has no member named 'sa_restorer' * signal.c (struct old_sigaction, struct old_sigaction32, struct new_sigaction, struct new_sigaction32): Wrap sa_restorer member in #ifdef SA_RESTORER. (decode_old_sigaction, decode_new_sigaction): Wrap use of sa32.sa_restorer in #ifdef SA_RESTORER. Upstream commit: https://sourceforge.net/p/strace/code/ci/c3a5c01051ba29a9f421f4d45d96bbc32df2b796/ Fixes: http://autobuild.buildroot.net/results/93e/93e54d8aecc5c178cc3465eb9fd5415461325285/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/qemu/sparc-ss10/linux/linux-0001-sparc-memset-fix.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud