Re: [PATCH 3/8] add mem64_min/max control

Yinghai Lu
2012-11-18T06:53:13Z

On Sat, Nov 17, 2012 at 10:50 PM, Eric W. Biederman
<ebiederm@xmission.com> wrote:
>>
>> so we should two purgatory for x86_64 ?
>> like one for 64bit and one for 32bit/16bit
>
> The problem is that the current 32bit assembly code is not possition
> independent. If we can rewrite that assembly code to be position
> independent no relocs will be generated and we should be good.
>
> The 16bit entry point code was already written as position independent
> code so it should not cause problems.
>
> Just having one piece of code to deal with (if we can figure it out)
> looks to be the simpler and more maintainable solution.

sure.