[PATCH] riscv: restore ABI compatibility (bug 24484)

Andreas Schwab schwab@suse.de
Thu Jul 4 12:46:00 GMT 2019


On Jul 04 2019, Szabolcs Nagy <Szabolcs.Nagy@arm.com> wrote:

> On 04/07/2019 13:31, Andreas Schwab wrote:
>> On Jul 04 2019, Szabolcs Nagy <Szabolcs.Nagy@arm.com> wrote:
>> 
>>> On 04/07/2019 09:37, Andreas Schwab wrote:
>>>> On Jul 04 2019, Florian Weimer <fweimer@redhat.com> wrote:
>>>>
>>>>> Perhaps indicate somewhere that “a read-only dynamic section is not
>>>>> relocated by the loader” or something like that, so that someone not
>>>>> familiar with the MIPS mechanism understands the ABI difference?
>>>>
>>>> I think we should make DL_RO_DYN_SECTION the default for new ports, like
>>>> everyone else does.
>>>
>>> then DT_DEBUG does not work.
>> 
>> In which way?
>
> so is .dynamic actually mapped readonly?

No.  You would have to reorganize the segments to be able to do that.

> or is this DL_RO_DYN_SECTION just about the 'relocated DT_ entries' abi?

Yes.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list