Re: [PATCH 2/3] [44x] Enable CONFIG_RELOCATABLE for PPC44x
From: Scott Wood <hidden>
Date: 2011-10-26 19:16:30
From: Scott Wood <hidden>
Date: 2011-10-26 19:16:30
On 10/26/2011 02:12 PM, Suzuki Poulose wrote:
On 10/25/11 21:04, Scott Wood wrote:quoted
On 10/12/2011 09:15 AM, Dave Hansen wrote:quoted
This is not the place to enforce that kind of thing. If CONFIG_RELOCATABLE is only supported on one platform, then do: config RELOCATABLE depends on 44x and take the 44x reference out of the #ifdef....but please first rename the existing, different CONFIG_RELOCATABLE behavior that is currently supported on e500.Scott, I have renamed the new type of relocation to RELOCATABLE_PPC32_PIE. The patches were posted yesterday. Please let me know your thoughts.
I think it would make more sense to rename the existing behavior (maybe something like DYNAMIC_MEMSTART -- if there's even enough overhead to make it worth being configurable at all), since it's not fully relocatable and since 64-bit already uses RELOCATABLE to mean PIE. -Scott