qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Linux x86_64 host


From: Bob Deblier
Subject: Re: [Qemu-devel] Linux x86_64 host
Date: Thu, 07 Oct 2004 17:25:24 +0200

On Thu, 2004-10-07 at 17:07, Johannes Schindelin wrote:
> This is probably a symbol which starts with ".".

Correct.

> Reading the current CVS of dyngen.c, in line 1529 of dyngen.c, there
> is a "#if defines(HOST_SPARC)" and after that code which should fix
> exactly that error.

My code tree is up-to-date, so that line apparently doesn't cure all.
I've manually verified that file and it contains those lines.

I've tried changing it to #if defined(HOST_AMD64) ||
defined(HOST_SPARC), but that gives another error. 

> If the current CVS version does not resolve your compilation error, please
> send the offending lines of your op.h (with 10 lines before and after).
> 
> Ciao,
> Dscho

Lines from sparc_user/op.h

case INDEX_op_flush_T0: {
    extern void op_flush_T0();
extern char helper_flush;
    memcpy(gen_code_ptr, (void *)((char *)&op_flush_T0+0), 15);
    *(uint32_t *)(gen_code_ptr + 7) = (long)(&helper_flush) -
(long)(gen_code_ptr + 7) + -4;
    gen_code_ptr += 15;
}
break;
                                                                                
                                                             
case INDEX_op_fnegs: {
    extern void op_fnegs();
extern char .LC0;
    memcpy(gen_code_ptr, (void *)((char *)&op_fnegs+0), 31);
    *(uint32_t *)(gen_code_ptr + 10) = (long)(&.LC0) -
(long)(gen_code_ptr + 10) + -4;
    gen_code_ptr += 31;
}
break;
                                                                                
                                                             
case INDEX_op_fabss: {
    extern void op_fabss();
extern char do_fabss;
    memcpy(gen_code_ptr, (void *)((char *)&op_fabss+0), 13);
    *(uint32_t *)(gen_code_ptr + 5) = (long)(&do_fabss) -
(long)(gen_code_ptr + 5) + -4;
    gen_code_ptr += 13;
}
break;


At your disposal for further testing,

Bob Deblier





reply via email to

[Prev in Thread] Current Thread [Next in Thread]