This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]