Hi Palle,

Am 28.11.2009 um 21:03 schrieb Palle Lyckegaard:

On Fri, 27 Nov 2009, Andreas Färber wrote:

I can ack the softfloat part (fixes redefinition warnings) and the tap part (fixes an unresolved symbol TFR).

But what does the cpu.h part fix?

the cpu.h part is an attempt to avoid warnings about e.g. PSR_EF being redefined in /usr/include/v7/sys/privregs.h on my OpenSolaris 2009.06 SPARC host.

Other redefines are PSR_ICC, PSR_PIL, PSR_S, ...

Not having that v7 dir on amd64 here, did you check whether their values are really defined identically? If not, it may be necessary to either #undef them first or to prefix them with TARGET_ as done for the user emulators...

Andreas



Reply via email to