Re: [git pull] x86 updates
From: Linus Torvalds
Date: Tue Feb 05 2008 - 16:32:42 EST
On Tue, 5 Feb 2008, H. Peter Anvin wrote:
>
> The difference is quite simple:
>
> a - this section occupies address space
> w - this section is writable
> x - this section is executable
> progbits - this section has data in the file
>
> In contrast, a nobits section is implicitly zero-filled.
Well, the real question is "what are the defaults"
> By default:
>
> .bss is (aw,nobits).
> .data is (aw,progbits).
> .rodata is (a,progbits).
> .text is (ax,progbits).
But what about something like ".init.data"?
I'd assume the defaults for unrecognized segments would have to be
something sane like (aw,progbits) (ie my patch shouldn't make any
difference), but where do we find that out?
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/