From: Jose E. Marchesi Date: Fri, 26 Feb 2016 18:30:30 +0000 (-0800) Subject: sparc: restore 32-bit build. X-Git-Tag: elfutils-0.166~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6d080336caaf3894ff0583c277588a3a234c4ec;p=thirdparty%2Felfutils.git 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 --- diff --git a/backends/ChangeLog b/backends/ChangeLog index 207a8889e..cf70a52f7 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,9 @@ +2016-02-26 Jose E. Marchesi + + * sparc_initreg.c (EBLHOOK): Provide a dummy + sparc_set_initial_registers_tid for sparc32. This fixes the build + in sparcv9-*-* targets. + 2016-02-26 Andreas Schwab * ppc_symbol.c (ppc_dynamic_tag_name): Add DT_PPC_OPT. diff --git a/backends/sparc_initreg.c b/backends/sparc_initreg.c index c2a9b32a3..c4b321c65 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__ */