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

Simon Atanasyan simon at atanasyan.com
Wed Jan 15 09:09:42 PST 2014


On Wed, Jan 15, 2014 at 8:47 PM, Shankar Easwaran
<shankare at codeaurora.org> wrote:
> On 1/15/2014 8:18 AM, Simon Atanasyan wrote:
>>
>> 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.
>>
> I think its best to stay with Gnu ld behavior, as that is the linker
> relatively everyone is using in the linux world.
>
> Thoughts ?

Agree. I mean that in the initial stage of the lld development we do
not have to coordinate any modifications with a large users community.

-- 
Simon Atanasyan



More information about the llvm-commits mailing list