[PATCH] D14281: [ELF2] Sort dynamic symbols according to the MIPS requirements.
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 6 11:04:04 PST 2015
On 5 November 2015 at 14:42, Simon Atanasyan <simon at atanasyan.com> wrote:
> On Thu, Nov 5, 2015 at 9:06 PM, Rafael EspĂndola
> <rafael.espindola at gmail.com> wrote:
>> The question was more in line of: how does the dynamic linker take advantage
>> of the got and dynamic symbols being in the same order? Why is that mips
>> specific?
>
> Look at the "Global Offset Table" section in the following document.
> It is the most complete description of MIPS GOT including stubs, quick start etc
> ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/psABI_mips3.0.pdf
Sorry, it is still not clear how the fact that the got and dynamic
table are in the same order is used.
Other than the hi/lo pairing, do you know what other mips specific
logic we will need? I am somewhat uncomfortable with how special mips
linking is.
Cheers,
Rafael
More information about the llvm-commits
mailing list