This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [AArch64] Generate DT_TEXTREL when there is relocation against read-only section


On 19 June 2015 at 10:05, Jiong Wang <jiong.wang@arm.com> wrote:
>
> This patch fix the SEGSEGV noticed on some scenarios when there is
> relocation against read-only segment in the program.
>
> We need to generate DT_TEXTREL entry in .dynamic section to
> notify dynamic linker that there are relocations against read-only
> segment, that dynamic linker can invoke mprotect to change the segment
> attribute into writable, and after relocation finished, change it back
> to read-only.
>
> OK for trunk?

OK, can you back port to 2.25 aswell please? /Marcus


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