qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH v4 06/19] hw/arm: Filter machine types for qemu-system-ar


From: Pierrick Bouvier
Subject: Re: [RFC PATCH v4 06/19] hw/arm: Filter machine types for qemu-system-arm/aarch64 binaries
Date: Wed, 23 Apr 2025 13:12:25 -0700
User-agent: Mozilla Thunderbird

On 4/23/25 13:04, Richard Henderson wrote:
On 4/23/25 12:33, Pierrick Bouvier wrote:
Else, in case we make this array const, can we expect the linker to deduplicate 
it? I'm
not familiar with how final .data section is assembled.

No, we do not expect de-duplication.
It's a "that would technically break the object model" thing.
Const or not,

    static S *a = &(S){ };
    static S *b = &(S){ };
    assert(a != b);


I see.
However, it's only type names, and not really object models (we don't duplicate interfaces themselves, but list of interfaces).

Or did I miss something in QOM?


r~




reply via email to

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