[lkml]   [2007]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 03/25] xen: Add nosegneg capability to the vsyscall page notes
Roland McGrath wrote:
>> + * It should contain:
>> + * hwcap 0 nosegneg
>> + * to match the mapping of bit to name that we give here.
> This needs to be "hwcap 0 nosegneg" to match:
>> +NOTE_KERNELCAP(1, "nosegneg")
> The actual bits you are using should be fine. (You're intentionally
> skipping bit 0 to work around hold glibc bugs, which you might want to add
> to the comments. Also a comment or perhaps using 1<<1 syntax would make it
> more clear that "2" is the bit mask containing bit 1 and that's why it has
> to be 2, and not because of some other magical property of 2.) But if
> kernel packagers don't write the matching bit number in their
> files, then lookups won't work right.

I have to admit I still don't really understand all this. Is it
documented somewhere?

What does "hwcap 0 nosegneg" actually mean? What does the "0" mean here?

In the ELF note, what does the "nosegneg" string mean? How is it used?
Is it compared to the "nosegneg" in How does this relate to
the bitfields?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-04-24 03:27    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean