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: Johannes Schindelin
Subject: Re: [Qemu-devel] Linux x86_64 host
Date: Thu, 7 Oct 2004 18:16:45 +0200 (CEST)

Hi,

On Thu, 7 Oct 2004, Bob Deblier wrote:

> 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.

My error. I read TARGET_SPARC. Must have to do something with not sleeping
enough...

What if you change this line to HOST_AMD64, and just comment the fprintf
(not the continue)? Of course, you have to change the lines around 1707
like so:

                    if (strstart(sym_name, "__op_param", &p)) {
                        snprintf(name, sizeof(name), "param%s", p);
                    } else if(sym_name[0]=='.') {
                        continue;
                    } else {
                        snprintf(name, sizeof(name), "(long)(&%s)",
sym_name);
                    }

(the "else if" and the "continue" are important).

Explanation: sym_names with a "." are most likely local symbols like jump
labels, which should not even be exported in the object file.

Hth,
Dscho




reply via email to

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