[Top] [All Lists]

Re: [PATCH] MIPS: remove RELOC_HIDE on __pa_symbol

To: Ralf Baechle <>
Subject: Re: [PATCH] MIPS: remove RELOC_HIDE on __pa_symbol
From: Namhyung Kim <>
Date: Tue, 10 Aug 2010 12:07:08 +0900
Cc: David Daney <>,, David Daney <>,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=OJ1dGkoJee+9dW6WkbFF6bBKwwa0ssIwvgFhEXrnlBg=; b=eZynmNr+PuvwG1GgZIzVPWy2s6jyLhoVYPrbVeir2N0yxFfu7aJWR9STdgMA4enayX u5YYEDwbviib+NRVEmZHwQ/OZEM4NABYHW0aumbx+ksZSOi9G4hlg6YYL/4Lp5oh3vij bSi0zUQqS4YVWvxElG2PGgmsaXXSS6mt+fdk4=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=u0mUZfVKMfjQMCMlTQUtYrZnrXYF7+g6iTLdj7fENDi8QUvJIZIHD9qS/VJKVrI3OI 4sbW3B9PahnkpHw2Y+/0DyD2tLfDc+3JMQUT9c8x8rbOHy1uXM5dNb+un0WVqAmAeNT+ dUMwzEhqY78u7y8p0BsBtRUJGA+HqBEIwiP1Y=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
2010-08-09 (월), 13:21 +0100, Ralf Baechle:
> On Sun, Aug 08, 2010 at 10:15:04PM -0700, David Daney wrote:
> > Maybe you could explain in more detail the problems you are having
> > with the current definition of __pa_symbol().  I would be hesitant
> > to change this bit of black magic unless there is a concrete problem
> > you are trying to solve.
> RELOC_HIDE was originally added by 6007b903dfe5f1d13e0c711ac2894bdd4a61b1ad
> (lmo) rsp. 8431fd094d625b94d364fe393076ccef88e6ce18 (  A
> discussion can be found in lkml posting
>> which is
> archived at
> I felt this was dubious by the time it was added and probably should go?
>   Ralf


I've sent basically same patch to x86 folks [1] and they said there is a
possiblility of miscompilation on gcc 3. I am not sure the same goes
here on mips but it might be safer to keep it. Sorry for the noise ;-(


Namhyung Kim

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