Re: Sort output dynamic relocations.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 7, 2011 at 1:44 PM, John David Anglin <dave.anglin@xxxxxxxx> wrote:
> On 7/7/2011 11:29 AM, Carlos O'Donell wrote:
>>
>> Dave,
>>
>> FYI.
>>
>> PA should be sorting relocations in .rlea.dyn such that realtive
>> relocations (DIR32) are listed first before opd relocs (PLABEL32).
>
> I imagine that this shouldn't be too hard to implement.
>>
>> This is required for the dynamic linker in glibc to operate correctly.
>
> Is this related to the initfini_array issue?

No. It's an internal glibc issues. The OPD relocation code has a
relative relocation in it, and it crashes because the OPD relocs are
*before* the relative relocs, and it should be the other way around.
We've just gotten lucky.

I have not seen any initfini_array issues, perhaps because I'm using
glibc git head which might have a generic fix for that, I saw some
related patches go into head.

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux