summaryrefslogtreecommitdiffstats
path: root/backends/sparc_initreg.c
diff options
context:
space:
mode:
authorJose E. Marchesi <[email protected]>2016-02-26 10:30:30 -0800
committerMark Wielaard <[email protected]>2016-02-26 21:05:05 +0100
commitf6d080336caaf3894ff0583c277588a3a234c4ec (patch)
tree0549ff5ed0cbb7bc611ab2bb8202e26524273ea4 /backends/sparc_initreg.c
parentd1d4db68eb441ae67864be209a0679cbc86189c5 (diff)
sparc: restore 32-bit build.
This patch provides a dummy sparc_set_initial_registers-tid for sparc32. This fixes the build in sparcv9-*-* targets. Signed-off-by: Jose E. Marchesi <[email protected]>
Diffstat (limited to 'backends/sparc_initreg.c')
-rw-r--r--backends/sparc_initreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sparc_initreg.c b/backends/sparc_initreg.c
index c2a9b32a..c4b321c6 100644
--- a/backends/sparc_initreg.c
+++ b/backends/sparc_initreg.c
@@ -45,7 +45,7 @@ EBLHOOK (set_initial_registers_tid) (pid_t tid __attribute__ ((unused)),
ebl_tid_registers_t *setfunc __attribute__ ((unused)),
void *arg __attribute__ ((unused)))
{
-#ifndef __sparc__
+#if !defined(__sparc__) || !defined( __arch64__)
return false;
#else /* __sparc__ */