[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47A8D82A.8080704@zytor.com>
Date: Tue, 05 Feb 2008 13:42:02 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Sam Ravnborg <sam@...nborg.org>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org
Subject: Re: [git pull] x86 updates
Linus Torvalds wrote:
>
> Well, the real question is "what are the defaults"
>
Well, I guess my point was that we shouldn't rely on 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?
The defaults are undocumented, and thus could change from one binutils
version to another. Experimentally, with
binutils-2.17.50.0.18-1.x86_64, a section named ".init.data" get
("",@progbits) as the default attributes.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists