[lld] r199234 - [Mips] Set default base address for MIPS executables to 0x400000. Assign

Simon Atanasyan simon at atanasyan.com
Wed Jan 15 06:18:44 PST 2014


On Wed, Jan 15, 2014 at 5:42 PM, Richard Sandiford
<rsandifo at linux.vnet.ibm.com> wrote:
> Simon Atanasyan <simon at atanasyan.com> writes:
>> Author: atanasyan
>> Date: Tue Jan 14 12:19:12 2014
>> New Revision: 199234
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=199234&view=rev
>> Log:
>> [Mips] Set default base address for MIPS executables to 0x400000. Assign
>> the lowest segment address to the MIPS_BASE_ADDRESS dynamic tag.
>
> Just curious: is the plan to use this address for n64 too?
>
> I wanted to switch GNU ld to use a 32-bit address by default (instead of
> 0x120000000) but there was significant resistance...

I have not thought about n64 support yet. lld should be compatible and
works similar to gnu ld as much as possible to simplify migration,
testing etc, but on the other hand, lld has no history and there is no
lld users community so we are rather free in our decisions.

-- 
Simon Atanasyan



More information about the llvm-commits mailing list