Re: const __init

Keith Owens
2001-05-21T00:59:08Z

On Sun, 20 May 2001 22:16:11 +0200,
Franz Sirl <Franz.Sirl-kernel@lauterbach.com> wrote:
>Yes, and gcc3 errors on these constructs, cause it cannot decide if the data
>should be put into a .data or .rodata section.
>Dunno if it's worth to create a __initconstdata/__initrodata though, but it
>would be easy implement I guess.

Not worth it. Adding finer grained init.data sections requires changes
to every architecture's vmlinux.lds script but it gains you nothing,
the sections are discarded after the kernel has booted.