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

Re: [Xen-devel] [PATCH v4 01/26] xen/public: Export cpu featureset information in the public API



>>> On 24.03.16 at 15:12, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 24/03/16 14:08, Jan Beulich wrote:
>> Independently - is the asm() indeed unconditionally necessary?
> 
> Yes.  Otherwise alternative blocks in C fail to compile.  They
> __stringify() the feature name, which used to turn into a number (when
> the feature was a define), but stay as a string identifier because of
> the new enum.
> 
>> If so, how much clutter to symbol tables does it introduce? I notice
>> that public/errno.h causes some unnecessary bloat in this regard
>> too. Should we perhaps add --strip-local-absolute to the assembler
>> options (for both .c and .S files)?
> 
> I was wondering if there was anything we could do to fix the errno
> clutter.  That sounds like a good plan.

Okay - luckily this exists in gas 2.16 already, so we can add it
unconditionally. I'll prepare a patch...

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.