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

Shankar Easwaran shankare at codeaurora.org
Wed Jan 15 08:47:29 PST 2014


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 ?

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation




More information about the llvm-commits mailing list