linux-mips
[Top] [All Lists]

Re: [IDE] Fix build bug

To: Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [IDE] Fix build bug
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Thu, 25 Oct 2007 15:47:16 +0100 (BST)
Cc: Ralf Baechle <ralf@linux-mips.org>, Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>, Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-mips@linux-mips.org
In-reply-to: <20071025141305.GA11698@uranus.ravnborg.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20071025135334.GA23272@linux-mips.org> <20071025141305.GA11698@uranus.ravnborg.org>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 25 Oct 2007, Sam Ravnborg wrote:

> So we can avoid this if we invent a __constinitdata tag that uses
> a new section?

 That would do.

> I ask mainly to understand this error - not that I am that found
> of the idea.

 Somebody wants to mix up read-only and read/write data in the same 
section and GCC quite legitimately complains about it.  You cannot have 
both at a time.

  Maciej

<Prev in Thread] Current Thread [Next in Thread>