lkml.org 
[lkml]   [2008]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [git pull] x86 updates
Ingo Molnar wrote:
>
> btw., what's the practical consequence of getting these section flags
> wrong - for example writable data can end up in executable section
> accidentally and be marked readonly by RODATA? Or can anything more
> serious happen? (they cannot get into any of the discarded sections, we
> filter for them explicitly in the linker scripts)
>

The practical consequences are probably zero - *except* for getting the
"a" flag wrong, as !a sections will never be loaded.

Technically we should also specify @progbits or @nobits on sections,
however, I think @progbits is the default.

-hpa


\
 
 \ /
  Last update: 2008-02-05 22:13    [W:0.068 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site